Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fontawesome-free

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fontawesome-free

  • 6.5.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem Wrapper: FontAwesome - Free

An unofficial wrapper gem to distribute the free version of the FontAwesome icon library.

Please see that project for the original documentation on how to use FontAwesome in general. Continue below for details specific to using this gem in Ruby.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add font-awesome-free

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install font-awesome-free

Usage

Access the file path for assets by providing the technology type symbol to FontAwesome::Free[type], eg:

# Returns the absolute path to the Font Awesome css files directory.
FontAwesome::Free[:css]

You can also access the parent directory by using FontAwesome::Free:ROOT.

Versioning

The gem's versioning will mirror the original library's. Any gem-specific version updates will be indicated by a fourth version number after patch. For example, compared to 1.0.0.0:

  • 2.0.0.0 FontAwesome major change
  • 1.1.0.0 FontAwesome minor change
  • 1.0.1.0 FontAwesome patch change
  • 1.0.0.1 Wrapper gem change

As the wrapper gem is intended to be as minimal as possible, it will not distinguish between major/minor/patch.

Development

After checking out the repo, run:

bundle install 

To update the version of FontAwesome from Github, run:

bundle exec rake fa:update

To release a new version, update the version number in version.rb, and then run:

bundle exec rake release

which will:

  1. create a git tag for the version,
  2. push git commits and the created tag,
  3. and push the .gem file to rubygems.org.

To install this gem onto your local machine, run:

bundle exec rake install

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/TenjinInc/font-awesome-gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Contributions to the gem-specific files are welcome, but any changes to the original project should be directed there.

License

The gem is available as open source under the terms of the MIT License.

The original licence is available under its own licencing terms.

Code of Conduct

Everyone interacting in the gem project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the Code of Conduct.

FAQs

Package last updated on 19 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc