diff --git a/.travis.yml b/.travis.yml index daa3391..5deb8da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,5 @@ rvm: - 2.2.3 script: - "bundle exec rake spec" - - "bundle exec rake features" \ No newline at end of file + - "bundle exec rake features" + - "bundle exec license_finder" diff --git a/config/license_finder.yml b/config/license_finder.yml new file mode 100644 index 0000000..112eaa8 --- /dev/null +++ b/config/license_finder.yml @@ -0,0 +1,2 @@ +--- +decisions_file: './license/dependency_decisions.yml' diff --git a/license/dependency_decisions.yml b/license/dependency_decisions.yml new file mode 100644 index 0000000..d71ebf1 --- /dev/null +++ b/license/dependency_decisions.yml @@ -0,0 +1,80 @@ +--- +- - :ignore_group + - development + - :who: Peter Souter + :why: Development gems are not distributed with the final product and are therefore + exempt. + :versions: [] + :when: 2017-03-18 22:26:01.054140000 Z +- - :ignore_group + - test + - :who: Peter Souter + :why: Test gems are not distributed with the final product and are therefore exempt. + :versions: [] + :when: 2017-03-18 22:26:06.250326000 Z +- - :ignore + - bundler + - :who: Peter Souter + :why: Bundler is MIT licensed but will sometimes fail in CI. + :versions: [] + :when: 2017-03-18 22:46:08.045090000 Z +- - :whitelist + - MIT + - :who: Peter Souter + :why: http://choosealicense.com/licenses/mit/ + :versions: [] + :when: 2017-03-18 22:16:24.558441000 Z +- - :whitelist + - Apache-2.0 + - :who: Peter Souter + :why: http://choosealicense.com/licenses/apache-2.0/ + :versions: [] + :when: 2017-03-18 22:26:43.762702000 Z +- - :whitelist + - Ruby + - :who: Peter Souter + :why: https://github.com/ruby/ruby/blob/ruby_2_1/COPYING + :versions: [] + :when: 2017-03-18 22:36:54.498490000 Z +- - :whitelist + - LGPL-2.1 + - :who: Peter Souter + :why: http://www.gnu.org/licenses/license-list.html#LGPLv2.1 + :versions: [] + :when: 2017-03-18 22:36:48.645841000 Z +- - :whitelist + - ISC + - :who: Peter Souter + :why: http://www.gnu.org/licenses/license-list.html#ISC + :versions: [] + :when: 2017-03-18 22:46:01.894452000 Z +- - :whitelist + - BSD-3-Clause + - :who: Peter Souter + :why: https://opensource.org/licenses/BSD-3-Clause + :versions: [] + :when: 2017-03-18 22:46:38.246021000 Z +- - :whitelist + - BSD-2-Clause + - :who: Peter Souter + :why: https://opensource.org/licenses/BSD-2-Clause + :versions: [] + :when: 2017-03-18 22:56:09.796363000 Z +- - :blacklist + - GPL 2.0 + - :who: Peter Souter + :why: GPL-licensed libraries cannot be linked to from non-GPL projects. + :versions: [] + :when: 2017-03-18 22:26:27.637336000 Z +- - :blacklist + - GPL-3.0 + - :who: Peter Souter + :why: GPL-licensed libraries cannot be linked to from non-GPL projects. + :versions: [] + :when: 2017-03-18 22:26:43.904715000 Z +- - :blacklist + - OSL-3.0 + - :who: Peter Souter + :why: The OSL license is a copyleft license + :versions: [] + :when: 2017-03-18 22:06:15.540105000 Z diff --git a/tugboat.gemspec b/tugboat.gemspec index da37e2e..eb8fe87 100644 --- a/tugboat.gemspec +++ b/tugboat.gemspec @@ -38,6 +38,7 @@ Gem::Specification.new do |gem| gem.add_development_dependency 'cucumber', '2.0.2' gem.add_development_dependency 'rubocop', '0.47.1' gem.add_development_dependency 'rubocop-rspec', '1.5.0' + gem.add_development_dependency 'license_finder' gem.post_install_message = '***************************************' gem.post_install_message = ' . o .. '