Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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.
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
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
.
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 change1.1.0.0
FontAwesome minor change1.0.1.0
FontAwesome patch change1.0.0.1
Wrapper gem changeAs the wrapper gem is intended to be as minimal as possible, it will not distinguish between major/minor/patch.
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:
.gem
file to rubygems.org.To install this gem onto your local machine, run:
bundle exec rake install
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.
The gem is available as open source under the terms of the MIT License.
The original licence is available under its own licencing terms.
Everyone interacting in the gem project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the Code of Conduct.
FAQs
Unknown package
We found that fontawesome-free demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.