Collect gem licenses.
Ruby
Failed to load latest commit information.
common_licenses Add additional common licenses and match-able license labels Feb 23, 2015
lib Preparing for next development iteration, 0.2.2. May 31, 2016
spec Rubocop insists that I shorten lines Feb 23, 2015
tasks Replace :unknown with 'unknown' so that _all_ missing licenses are re… Feb 23, 2015
.gitignore Gem skeleton. Jul 25, 2011
.rspec
.rubocop.yml
.rubocop_todo.yml Added gem:licenses:csv Rake task. Feb 20, 2015
.travis.yml Renamed Gem::Licenses to Gem::GemLicenses, compatible with Rubygems 2… May 31, 2016
CHANGELOG.md Preparing for release, 0.2.1. May 31, 2016
CONTRIBUTING.md Added CHANGELOG, CONTRIBUTING. Feb 19, 2015
Gemfile
LICENSE
README.md Preparing for release, 0.2.1. May 31, 2016
RELEASING.md
Rakefile
VERSION Preparing for next development iteration, 0.2.1. Jul 17, 2015
gem-licenses.gemspec

README.md

Gem-Licenses

Build Status

Gem-licenses is an attempt to collect license information from project's gems. Similar to 3licenses.

Motivation

The overwhelming majority of 3rd party licenses require the application that uses them to reproduce the license verbatim in an artifact that is installed with the application itself. For instance, the BSD license states the following.

“Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.”

Are you currently copying individual license.txt files "by hand" or are you including license text in your documentation with copy/paste? This project aims at improving this situation.

Usage

Include gem-licenses in your project's Gemfile.

group :development, :test do
  gem 'gem-licenses'
end

Install Rake tasks from Rakefile.

Gem::GemLicenses.install_tasks

To list licenses try the following Rake task.

rake gem:licenses

To write a CSV file of gems + licenses.

rake gem:licenses:csv['licenses.csv']

Contributing

See CONTRIBUTING.

License

This project is licenced under the MIT license, see LICENSE for details.

Copyright

Copyright (c) Daniel Doubrovkine, 2011-2016, Artsy, Inc.