https://github.com/dblock/gem-licenses
Collect gem licenses.
https://github.com/dblock/gem-licenses
Last synced: about 1 year ago
JSON representation
Collect gem licenses.
- Host: GitHub
- URL: https://github.com/dblock/gem-licenses
- Owner: dblock
- License: mit
- Created: 2011-07-25T15:12:37.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2019-11-13T13:15:51.000Z (over 6 years ago)
- Last Synced: 2025-03-31T09:05:21.778Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 65.4 KB
- Stars: 67
- Watchers: 4
- Forks: 25
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Gem-Licenses
============
[](https://travis-ci.org/dblock/gem-licenses)
Gem-licenses is an attempt to collect license information from project's gems. Similar to [3licenses](https://github.com/dblock/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.
```ruby
group :development, :test do
gem 'gem-licenses'
end
```
Install Rake tasks from Rakefile.
```ruby
require 'rake'
require 'gem-licenses'
Gem::GemLicenses.install_tasks
```
To list licenses try the following Rake task.
```shell
rake gem:licenses
```
To write a CSV file of gems + licenses.
```shell
rake gem:licenses:csv['licenses.csv']
```
Contributing
============
See [CONTRIBUTING](CONTRIBUTING.md).
License
=======
This project is licenced under the MIT license, see [LICENSE](LICENSE) for details.
Copyright
=========
Copyright (c) Daniel Doubrovkine, 2011-2016, Artsy, Inc.