Name: spdx
Owner: Libraries.io
Description: :copyright: A SPDX license normalizer
Created: 2015-02-05 22:09:43.0
Updated: 2018-05-23 15:25:48.0
Pushed: 2018-03-29 09:40:42.0
Homepage: http://libraries.io/rubygems/spdx
Size: 66
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This gem allows you to find the closest match using FuzzyMatch in the spdx-licenses list for similar (not necessarily exact) license names.
Add this line to your application's Gemfile:
'spdx'
And then execute:
$ bundle
Or install it yourself as:
$ gem install spdx
.find('Apache 2') # => <SpdxLicenses::License:0x007fa3a2b462c8 @id="Apache-2.0", @name="Apache License 2.0", @osi_approved=true>
Run the tests with:
$ bundle exec rake
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)