├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE ├── README.md ├── RELEASING.md ├── Rakefile ├── common_licenses ├── bsd ├── bsd-2-clause ├── isc ├── mit-v1 ├── mit-v2 └── wtfpl ├── gem-licenses.gemspec ├── lib ├── gem-licenses.rb ├── gem-licenses │ ├── install_tasks.rb │ └── version.rb ├── gem │ ├── licenses.rb │ └── specification.rb ├── gem_licenses.rb └── licenses │ └── config.yml ├── spec ├── fixtures │ └── gems │ │ ├── mit_license_in_readme │ │ └── README.txt │ │ ├── mit_license_in_readme_with_discrepancies │ │ └── README.txt │ │ ├── nonstandard_characters │ │ └── README.md │ │ ├── released_under_the_bsd_license │ │ └── COPYING │ │ └── same_license_as_ruby │ │ └── LICENSE ├── gem │ ├── licenses_spec.rb │ └── specification_spec.rb └── spec_helper.rb └── tasks └── licenses.rake /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format=documentation 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/README.md -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/RELEASING.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/Rakefile -------------------------------------------------------------------------------- /common_licenses/bsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/common_licenses/bsd -------------------------------------------------------------------------------- /common_licenses/bsd-2-clause: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/common_licenses/bsd-2-clause -------------------------------------------------------------------------------- /common_licenses/isc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/common_licenses/isc -------------------------------------------------------------------------------- /common_licenses/mit-v1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/common_licenses/mit-v1 -------------------------------------------------------------------------------- /common_licenses/mit-v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/common_licenses/mit-v2 -------------------------------------------------------------------------------- /common_licenses/wtfpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/common_licenses/wtfpl -------------------------------------------------------------------------------- /gem-licenses.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/gem-licenses.gemspec -------------------------------------------------------------------------------- /lib/gem-licenses.rb: -------------------------------------------------------------------------------- 1 | require 'gem_licenses' 2 | -------------------------------------------------------------------------------- /lib/gem-licenses/install_tasks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/lib/gem-licenses/install_tasks.rb -------------------------------------------------------------------------------- /lib/gem-licenses/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/lib/gem-licenses/version.rb -------------------------------------------------------------------------------- /lib/gem/licenses.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/lib/gem/licenses.rb -------------------------------------------------------------------------------- /lib/gem/specification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/lib/gem/specification.rb -------------------------------------------------------------------------------- /lib/gem_licenses.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/lib/gem_licenses.rb -------------------------------------------------------------------------------- /lib/licenses/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/lib/licenses/config.yml -------------------------------------------------------------------------------- /spec/fixtures/gems/mit_license_in_readme/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/spec/fixtures/gems/mit_license_in_readme/README.txt -------------------------------------------------------------------------------- /spec/fixtures/gems/mit_license_in_readme_with_discrepancies/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/spec/fixtures/gems/mit_license_in_readme_with_discrepancies/README.txt -------------------------------------------------------------------------------- /spec/fixtures/gems/nonstandard_characters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/spec/fixtures/gems/nonstandard_characters/README.md -------------------------------------------------------------------------------- /spec/fixtures/gems/released_under_the_bsd_license/COPYING: -------------------------------------------------------------------------------- 1 | Welcome 2 | --- 3 | 4 | This fake gem is released under the BSD license. 5 | -------------------------------------------------------------------------------- /spec/fixtures/gems/same_license_as_ruby/LICENSE: -------------------------------------------------------------------------------- 1 | (c) Copyright Foo Bar, Acme Inc. 2 | 3 | Same license as Ruby. -------------------------------------------------------------------------------- /spec/gem/licenses_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/spec/gem/licenses_spec.rb -------------------------------------------------------------------------------- /spec/gem/specification_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/spec/gem/specification_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /tasks/licenses.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dblock/gem-licenses/HEAD/tasks/licenses.rake --------------------------------------------------------------------------------