mlinksva / odlifier

Gets information on a license from the Open Knowledge Foundation's Open Licenses Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Dependency Status Coverage Status Code Climate Gem Version License Badges

ODLifier

Gets information on a license from the Open Knowledge Foundation's Open Licenses Service.

Licence

This code is open source under the MIT license. See the LICENSE.md file for full details.

Usage

Add the gem to your Gemfile:

gem 'odlifier'

Require if you need to:

require 'odlifier'

Request a licence

license = Odlifier::License.define("odc-by-1.0")

Use the results

license.domain_content
license.domain_data
license.domain_software
license.family
license.id
license.is_okd_compliant
license.is_osi_compliant
license.is_osi_compliant
license.status
license.title
license.url

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Gets information on a license from the Open Knowledge Foundation's Open Licenses Service

License:MIT License


Languages

Language:Ruby 100.0%