license_finder 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. data/.travis.yml +22 -0
  2. data/README.markdown +56 -92
  3. data/Rakefile +1 -1
  4. data/bin/license_finder +1 -1
  5. data/features/approve_dependencies.feature +49 -0
  6. data/features/html_report.feature +48 -0
  7. data/features/license_finder.feature +36 -0
  8. data/features/license_finder_rake_task.feature +36 -0
  9. data/features/rails_rake.feature +9 -0
  10. data/features/step_definitions/steps.rb +78 -31
  11. data/features/text_report.feature +27 -0
  12. data/lib/{templates/Apache.txt → data/licenses/Apache2.txt} +0 -0
  13. data/lib/{templates → data/licenses}/BSD.txt +0 -0
  14. data/lib/{templates → data/licenses}/GPLv2.txt +0 -0
  15. data/lib/{templates → data/licenses}/ISC.txt +0 -0
  16. data/lib/{templates → data/licenses}/LGPL.txt +0 -0
  17. data/lib/{templates → data/licenses}/MIT.txt +0 -0
  18. data/lib/{templates → data/licenses}/NewBSD.txt +0 -0
  19. data/lib/{templates → data/licenses}/Ruby.txt +0 -0
  20. data/lib/{templates → data/licenses}/SimplifiedBSD.txt +0 -0
  21. data/lib/license_finder.rb +11 -32
  22. data/lib/license_finder/bundle.rb +33 -0
  23. data/lib/license_finder/bundled_gem.rb +20 -14
  24. data/lib/license_finder/cli.rb +4 -3
  25. data/lib/license_finder/configuration.rb +34 -0
  26. data/lib/license_finder/dependency.rb +27 -22
  27. data/lib/license_finder/dependency_list.rb +35 -13
  28. data/lib/license_finder/license.rb +11 -1
  29. data/lib/license_finder/license/apache2.rb +8 -0
  30. data/lib/license_finder/license/bsd.rb +2 -0
  31. data/lib/license_finder/license/gplv2.rb +2 -0
  32. data/lib/license_finder/license/isc.rb +1 -0
  33. data/lib/license_finder/license/lgpl.rb +1 -0
  34. data/lib/license_finder/license/mit.rb +4 -1
  35. data/lib/license_finder/license/new_bsd.rb +3 -0
  36. data/lib/license_finder/license/ruby.rb +2 -2
  37. data/lib/license_finder/license/simplified_bsd.rb +3 -0
  38. data/lib/license_finder/license_url.rb +10 -0
  39. data/lib/license_finder/possible_license_file.rb +2 -2
  40. data/lib/license_finder/railtie.rb +1 -3
  41. data/lib/license_finder/reporter.rb +51 -0
  42. data/lib/license_finder/viewable.rb +31 -0
  43. data/lib/tasks/license_finder.rake +3 -28
  44. data/lib/templates/dependency.html.erb +54 -0
  45. data/lib/templates/dependency_list.html.erb +38 -0
  46. data/license_finder.gemspec +12 -4
  47. data/spec/lib/license_finder/bundled_gem_spec.rb +5 -3
  48. data/spec/lib/license_finder/dependency_list_spec.rb +54 -9
  49. data/spec/lib/license_finder/dependency_spec.rb +93 -57
  50. data/spec/lib/license_finder/license/apache_spec.rb +2 -2
  51. data/spec/lib/license_finder/license/mit_spec.rb +1 -1
  52. data/spec/lib/license_finder/license_spec.rb +14 -0
  53. data/spec/lib/license_finder/license_url_spec.rb +20 -0
  54. data/spec/lib/license_finder/reporter_spec.rb +5 -0
  55. data/spec/lib/license_finder_spec.rb +2 -0
  56. data/spec/spec_helper.rb +0 -1
  57. data/spec/support/license_examples.rb +6 -0
  58. metadata +68 -33
  59. data/features/executables/license_finder.feature +0 -19
  60. data/features/rake_tasks/action_items.feature +0 -27
  61. data/features/rake_tasks/action_items_ok.feature +0 -23
  62. data/features/rake_tasks/generate_dependencies.feature +0 -62
  63. data/features/rake_tasks/init.feature +0 -26
  64. data/features/rake_tasks/regressions.feature +0 -18
  65. data/lib/license_finder/bundler_dependency_query.rb +0 -51
  66. data/lib/license_finder/finder.rb +0 -39
  67. data/lib/license_finder/license/apache.rb +0 -5
  68. data/spec/lib/license_finder/finder_spec.rb +0 -36
@@ -3,16 +3,16 @@ require 'spec_helper'
3
3
  describe LicenseFinder::Dependency do
4
4
  let(:attributes) do
5
5
  {
6
- 'name' => "spec_name",
7
- 'version' => "2.1.3",
8
- 'license' => "GPL",
9
- 'approved' => false,
10
- 'license_url' => 'http://www.apache.org/licenses/LICENSE-2.0.html',
11
- 'notes' => 'some notes',
12
- 'license_files' => [{'path' => '/Users/pivotal/foo/lic1'}, {'path' => '/Users/pivotal/bar/lic2'}],
13
- 'readme_files' => [{'path' => '/Users/pivotal/foo/Readme1'}, {'path' => '/Users/pivotal/bar/Readme2'}],
14
- 'source' => "bundle",
15
- 'bundler_groups' => nil
6
+ 'name' => "spec_name",
7
+ 'version' => "2.1.3",
8
+ 'license' => "GPLv2",
9
+ 'approved' => false,
10
+ 'notes' => 'some notes',
11
+ 'homepage' => 'homepage',
12
+ 'license_files' => [{'path' => '/Users/pivotal/foo/lic1'}, {'path' => '/Users/pivotal/bar/lic2'}],
13
+ 'readme_files' => [{'path' => '/Users/pivotal/foo/Readme1'}, {'path' => '/Users/pivotal/bar/Readme2'}],
14
+ 'source' => "bundle",
15
+ 'bundler_groups' => nil
16
16
  }
17
17
  end
18
18
 
@@ -37,15 +37,13 @@ describe LicenseFinder::Dependency do
37
37
  end
38
38
  end
39
39
 
40
-
41
40
  describe '.from_hash' do
42
41
  subject { LicenseFinder::Dependency.from_hash(attributes) }
43
42
 
44
43
  its(:name) { should == 'spec_name' }
45
44
  its(:version) { should == '2.1.3' }
46
- its(:license) { should == 'GPL' }
45
+ its(:license) { should == 'GPLv2' }
47
46
  its(:approved) { should == false }
48
- its(:license_url) { should == "http://www.apache.org/licenses/LICENSE-2.0.html" }
49
47
  its(:notes) { should == "some notes" }
50
48
  its(:license_files) { should == %w(/Users/pivotal/foo/lic1 /Users/pivotal/bar/lic2) }
51
49
  its(:readme_files) { should == %w(/Users/pivotal/foo/Readme1 /Users/pivotal/bar/Readme2) }
@@ -56,10 +54,11 @@ describe LicenseFinder::Dependency do
56
54
  should == {
57
55
  'name' => 'spec_name',
58
56
  'version' => '2.1.3',
59
- 'license' => 'GPL',
57
+ 'license' => 'GPLv2',
60
58
  'approved' => false,
61
59
  'source' => 'bundle',
62
- 'license_url' => 'http://www.apache.org/licenses/LICENSE-2.0.html',
60
+ 'homepage' => 'homepage',
61
+ 'license_url' => LicenseFinder::License::GPLv2.license_url,
63
62
  'notes' => 'some notes',
64
63
  'license_files' => [
65
64
  {'path' => '/Users/pivotal/foo/lic1'},
@@ -78,6 +77,24 @@ describe LicenseFinder::Dependency do
78
77
  end
79
78
  end
80
79
 
80
+ describe '#license_url' do
81
+ context "class exists for license type" do
82
+ it "should return the license url configured in the class" do
83
+ LicenseFinder::Dependency.new('license' => "GPLv2").license_url.should == LicenseFinder::License::GPLv2.license_url
84
+ end
85
+
86
+ it "should handle differences in case" do
87
+ LicenseFinder::Dependency.new('license' => "gplv2").license_url.should == LicenseFinder::License::GPLv2.license_url
88
+ end
89
+ end
90
+
91
+ context "class does not exist for license type" do
92
+ it "should return nil" do
93
+ LicenseFinder::Dependency.new('license' => "FakeLicense").license_url.should be_nil
94
+ end
95
+ end
96
+ end
97
+
81
98
  describe '#to_s' do
82
99
  let(:gem) do
83
100
  LicenseFinder::Dependency.new(
@@ -85,56 +102,75 @@ describe LicenseFinder::Dependency do
85
102
  'version' => '1.0',
86
103
  'summary' => 'summary foo',
87
104
  'description' => 'description bar',
88
- 'license' => license,
89
- 'license_url' => license_url,
90
- 'license_files' => license_files,
91
- 'readme_files' => readme_files,
92
- 'bundler_groups' => bundler_groups
105
+ 'license' => "MIT"
93
106
  )
94
107
  end
95
- let(:bundler_groups) { [] }
96
- let(:license_files) { [] }
97
- let(:readme_files) { [] }
98
- let(:license_url) { "" }
99
- let(:license) { "MIT" }
100
108
 
101
109
  subject { gem.to_s.strip }
102
110
 
103
- it 'should generate text with all the gem attributes' do
104
- should == "test_gem 1.0, MIT, summary foo, description bar"
105
- end
106
-
107
- context "when license is 'other'" do
108
- context "when the gem includes license files and readme files" do
109
- let(:license_files) { %w(somefile) }
110
- let(:readme_files) { %w(somereadme) }
111
- let(:license) { 'other' }
112
-
113
- it "should generate text with the gem attributes, license files, and readme files" do
114
- should == <<-STRING.strip
115
- test_gem 1.0, other, summary foo, description bar
116
- license files:
117
- somefile
118
- readme files:
119
- somereadme
120
- STRING
121
- end
111
+ it 'should generate text with the gem name, version, and license' do
112
+ should == "test_gem, 1.0, MIT"
113
+ end
114
+ end
115
+
116
+ describe '#to_html' do
117
+ let(:dependency) { LicenseFinder::Dependency.new 'approved' => true }
118
+ subject { dependency.to_html }
119
+
120
+ context "when the dependency is approved" do
121
+ it "should add an approved class to dependency's container" do
122
+ should include %{class="approved"}
122
123
  end
123
124
  end
124
125
 
125
- context "when the gem has a license url" do
126
- let(:license_url) { "www.foobar.com"}
126
+ context "when the dependency is not approved" do
127
+ before { dependency.approved = false }
127
128
 
128
- it "should include the license_url" do
129
- should == "test_gem 1.0, MIT, www.foobar.com, summary foo, description bar"
129
+ it "should not add an approved class to he dependency's container" do
130
+ should include %{class="unapproved"}
130
131
  end
131
132
  end
132
133
 
133
- context "when the gem has any bundler groups" do
134
- let(:bundler_groups) { %w(staging production) }
134
+ context "when the gem has at least one bundler group" do
135
+ before { dependency.bundler_groups = ["group"] }
136
+ it "should show the bundler group(s) in parens" do
137
+ should include "(group)"
138
+ end
139
+ end
140
+
141
+ context "when the gem has no bundler groups" do
142
+ before { dependency.bundler_groups = [] }
143
+
144
+ it "should not show any parens or bundler group info" do
145
+ should_not include "()"
146
+ end
147
+
148
+ end
149
+
150
+ context "when the gem has at least one parent" do
151
+ before { dependency.parents = [ OpenStruct.new(:name => "foo parent") ]}
152
+ it "should include a parents section" do
153
+ should include "Parents"
154
+ end
155
+ end
156
+
157
+ context "when the gem has no parents" do
158
+ it "should not include any parents section in the output" do
159
+ should_not include "Parents"
160
+ end
161
+ end
162
+
163
+ context "when the gem has at least one child" do
164
+ before { dependency.children = [ OpenStruct.new(:name => "foo child") ]}
165
+
166
+ it "should include a Children section" do
167
+ should include "Children"
168
+ end
169
+ end
135
170
 
136
- it "should include the bundler groups" do
137
- should == "test_gem 1.0, MIT, summary foo, description bar, staging, production"
171
+ context "when the gem has no children" do
172
+ it "should not include any Children section in the output" do
173
+ should_not include "Children"
138
174
  end
139
175
  end
140
176
  end
@@ -155,9 +191,9 @@ test_gem 1.0, other, summary foo, description bar
155
191
  'name' => 'foo',
156
192
  'license' => 'MIT',
157
193
  'version' => '0.0.1',
158
- 'license_url' => 'http://www.example.com/license1.htm',
159
194
  'license_files' => "old license files",
160
195
  'readme_files' => "old readme files",
196
+ 'old_homepage' => "http://old.homepage"
161
197
  )
162
198
  end
163
199
 
@@ -166,12 +202,12 @@ test_gem 1.0, other, summary foo, description bar
166
202
  'name' => 'foo',
167
203
  'license' => 'MIT',
168
204
  'version' => '0.0.2',
169
- 'license_url' => 'http://www.example.com/license2.htm',
170
205
  'license_files' => "new license files",
171
206
  'readme_files' => "new readme files",
172
207
  'summary' => 'foo summary',
173
208
  'description' => 'awesome foo description!',
174
- 'bundler_groups' => [1,2,3]
209
+ 'bundler_groups' => [1,2,3],
210
+ 'homepage' => "http://new.homepage"
175
211
  )
176
212
  end
177
213
 
@@ -183,14 +219,14 @@ test_gem 1.0, other, summary foo, description bar
183
219
  }.to raise_error
184
220
  end
185
221
 
186
- it 'should return the new version, license url, license files, readme files, and source' do
222
+ it 'should return the new version, license files, readme files, source, and homepage' do
187
223
  merged = subject.merge(new_dep)
188
224
 
189
225
  merged.version.should == '0.0.2'
190
- merged.license_url.should == 'http://www.example.com/license2.htm'
191
226
  merged.license_files.should == new_dep.license_files
192
227
  merged.readme_files.should == new_dep.readme_files
193
228
  merged.source.should == new_dep.source
229
+ merged.homepage.should == new_dep.homepage
194
230
  end
195
231
 
196
232
  it 'should return the new summary and description and bundle groups' do
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe LicenseFinder::License::Apache do
4
- subject { LicenseFinder::License::Apache.new("") }
3
+ describe LicenseFinder::License::Apache2 do
4
+ subject { LicenseFinder::License::Apache2.new("") }
5
5
 
6
6
  it_behaves_like "a license matcher"
7
7
  end
@@ -7,7 +7,7 @@ describe LicenseFinder::License::MIT do
7
7
 
8
8
  describe "#matches?" do
9
9
  it "should return true if the text contains the MIT url" do
10
- subject.text = "MIT License is awesome http://www.opensource.org/licenses/mit-license"
10
+ subject.text = "MIT License is awesome http://opensource.org/licenses/mit-license"
11
11
  should be_matches
12
12
 
13
13
  subject.text = "MIT Licence is awesome http://www.opensource.org/licenses/mit-license"
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+
3
+ describe LicenseFinder::License::Base do
4
+ describe ".names" do
5
+ subject do
6
+ Class.new(LicenseFinder::License::Base) do
7
+ def self.demodulized_name; "FooLicense"; end
8
+ self.alternative_names = ["foo license"]
9
+ end.names
10
+ end
11
+
12
+ it { should =~ ["FooLicense", "foo license"] }
13
+ end
14
+ end
@@ -0,0 +1,20 @@
1
+ require "spec_helper"
2
+
3
+ class FooLicense < LicenseFinder::License::Base
4
+ self.alternative_names = ["the foo license"]
5
+ self.license_url = "http://foo.license.com"
6
+ end
7
+
8
+ describe LicenseFinder::LicenseUrl do
9
+ describe ".find_by_name" do
10
+ subject { LicenseFinder::LicenseUrl }
11
+
12
+ specify { subject.find_by_name("FooLicense").should == "http://foo.license.com" }
13
+ specify { subject.find_by_name("fOolICENse").should == "http://foo.license.com" }
14
+ specify { subject.find_by_name("the foo license").should == "http://foo.license.com" }
15
+
16
+ specify { subject.find_by_name(nil).should be_nil }
17
+ specify { subject.find_by_name("").should be_nil }
18
+ specify { subject.find_by_name("unknown license").should be_nil }
19
+ end
20
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe LicenseFinder::Reporter do
4
+
5
+ end
@@ -69,6 +69,7 @@ describe LicenseFinder do
69
69
  config.dependencies_dir.should == './elsewhere'
70
70
  config.dependencies_yaml.should == './elsewhere/dependencies.yml'
71
71
  config.dependencies_text.should == './elsewhere/dependencies.txt'
72
+ config.dependencies_html.should == './elsewhere/dependencies.html'
72
73
  end
73
74
 
74
75
  it 'should default the dependency files when the directory is not provided' do
@@ -76,6 +77,7 @@ describe LicenseFinder do
76
77
  config.dependencies_dir.should == '.'
77
78
  config.dependencies_yaml.should == './dependencies.yml'
78
79
  config.dependencies_text.should == './dependencies.txt'
80
+ config.dependencies_html.should == './dependencies.html'
79
81
  end
80
82
  end
81
83
  end
data/spec/spec_helper.rb CHANGED
@@ -13,4 +13,3 @@ end
13
13
  RSpec.configure do |config|
14
14
  config.mock_with :rr
15
15
  end
16
-
@@ -21,4 +21,10 @@ shared_examples_for "a license matcher" do
21
21
  end
22
22
  end
23
23
  end
24
+
25
+ describe "#license_text" do
26
+ it "should always produce a license text" do
27
+ subject.class.license_text.should_not be_nil, "No license text found for #{subject.class}! Add a license template to lib/templates named '#{subject.class.demodulized_name}.txt'"
28
+ end
29
+ end
24
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: license_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2012-09-12 00:00:00.000000000 Z
16
+ date: 2012-09-15 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: bundler
@@ -143,8 +143,28 @@ dependencies:
143
143
  - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
- description: Find and display licenses of a project's gem dependencies, so that you
147
- know what your limitations are when distributing your application.
146
+ - !ruby/object:Gem::Dependency
147
+ name: capybara
148
+ requirement: !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ type: :development
155
+ prerelease: false
156
+ version_requirements: !ruby/object:Gem::Requirement
157
+ none: false
158
+ requirements:
159
+ - - ! '>='
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
162
+ description: ! " Do you know the licenses of all your application's dependencies?
163
+ What open source software licenses will your business accept?\n\n LicenseFinder
164
+ culls your Gemfile, detects the licenses of the gems in it, and gives you a report
165
+ that you can act on. If you already know \n what licenses your business is comfortable
166
+ with, you can whitelist them, leaving you with an action report of only those dependencies
167
+ that have \n licenses that fall outside of the whitelist.\n"
148
168
  email:
149
169
  - brent@pivotalabs.com
150
170
  executables:
@@ -154,28 +174,38 @@ extra_rdoc_files: []
154
174
  files:
155
175
  - .gitignore
156
176
  - .rspec
177
+ - .travis.yml
157
178
  - Gemfile
158
179
  - LICENSE
159
180
  - README.markdown
160
181
  - Rakefile
161
182
  - bin/license_finder
162
- - features/executables/license_finder.feature
163
- - features/rake_tasks/action_items.feature
164
- - features/rake_tasks/action_items_ok.feature
165
- - features/rake_tasks/generate_dependencies.feature
166
- - features/rake_tasks/init.feature
167
- - features/rake_tasks/regressions.feature
183
+ - features/approve_dependencies.feature
184
+ - features/html_report.feature
185
+ - features/license_finder.feature
186
+ - features/license_finder_rake_task.feature
187
+ - features/rails_rake.feature
168
188
  - features/step_definitions/steps.rb
189
+ - features/text_report.feature
169
190
  - files/license_finder.yml
191
+ - lib/data/licenses/Apache2.txt
192
+ - lib/data/licenses/BSD.txt
193
+ - lib/data/licenses/GPLv2.txt
194
+ - lib/data/licenses/ISC.txt
195
+ - lib/data/licenses/LGPL.txt
196
+ - lib/data/licenses/MIT.txt
197
+ - lib/data/licenses/NewBSD.txt
198
+ - lib/data/licenses/Ruby.txt
199
+ - lib/data/licenses/SimplifiedBSD.txt
170
200
  - lib/license_finder.rb
201
+ - lib/license_finder/bundle.rb
171
202
  - lib/license_finder/bundled_gem.rb
172
- - lib/license_finder/bundler_dependency_query.rb
173
203
  - lib/license_finder/cli.rb
204
+ - lib/license_finder/configuration.rb
174
205
  - lib/license_finder/dependency.rb
175
206
  - lib/license_finder/dependency_list.rb
176
- - lib/license_finder/finder.rb
177
207
  - lib/license_finder/license.rb
178
- - lib/license_finder/license/apache.rb
208
+ - lib/license_finder/license/apache2.rb
179
209
  - lib/license_finder/license/bsd.rb
180
210
  - lib/license_finder/license/gplv2.rb
181
211
  - lib/license_finder/license/isc.rb
@@ -184,18 +214,14 @@ files:
184
214
  - lib/license_finder/license/new_bsd.rb
185
215
  - lib/license_finder/license/ruby.rb
186
216
  - lib/license_finder/license/simplified_bsd.rb
217
+ - lib/license_finder/license_url.rb
187
218
  - lib/license_finder/possible_license_file.rb
188
219
  - lib/license_finder/railtie.rb
220
+ - lib/license_finder/reporter.rb
221
+ - lib/license_finder/viewable.rb
189
222
  - lib/tasks/license_finder.rake
190
- - lib/templates/Apache.txt
191
- - lib/templates/BSD.txt
192
- - lib/templates/GPLv2.txt
193
- - lib/templates/ISC.txt
194
- - lib/templates/LGPL.txt
195
- - lib/templates/MIT.txt
196
- - lib/templates/NewBSD.txt
197
- - lib/templates/Ruby.txt
198
- - lib/templates/SimplifiedBSD.txt
223
+ - lib/templates/dependency.html.erb
224
+ - lib/templates/dependency_list.html.erb
199
225
  - license_finder.gemspec
200
226
  - spec/fixtures/APACHE-2-LICENSE
201
227
  - spec/fixtures/GPLv2
@@ -225,7 +251,6 @@ files:
225
251
  - spec/lib/license_finder/bundled_gem_spec.rb
226
252
  - spec/lib/license_finder/dependency_list_spec.rb
227
253
  - spec/lib/license_finder/dependency_spec.rb
228
- - spec/lib/license_finder/finder_spec.rb
229
254
  - spec/lib/license_finder/license/apache_spec.rb
230
255
  - spec/lib/license_finder/license/bsd_spec.rb
231
256
  - spec/lib/license_finder/license/gplv2_spec.rb
@@ -235,7 +260,10 @@ files:
235
260
  - spec/lib/license_finder/license/new_bsd_spec.rb
236
261
  - spec/lib/license_finder/license/ruby_spec.rb
237
262
  - spec/lib/license_finder/license/simplified_bsd_spec.rb
263
+ - spec/lib/license_finder/license_spec.rb
264
+ - spec/lib/license_finder/license_url_spec.rb
238
265
  - spec/lib/license_finder/possible_license_file_spec.rb
266
+ - spec/lib/license_finder/reporter_spec.rb
239
267
  - spec/lib/license_finder_spec.rb
240
268
  - spec/spec_helper.rb
241
269
  - spec/support/license_examples.rb
@@ -252,27 +280,32 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
280
  - - ! '>='
253
281
  - !ruby/object:Gem::Version
254
282
  version: '0'
283
+ segments:
284
+ - 0
285
+ hash: -3316457450269870236
255
286
  required_rubygems_version: !ruby/object:Gem::Requirement
256
287
  none: false
257
288
  requirements:
258
289
  - - ! '>='
259
290
  - !ruby/object:Gem::Version
260
291
  version: '0'
292
+ segments:
293
+ - 0
294
+ hash: -3316457450269870236
261
295
  requirements: []
262
296
  rubyforge_project:
263
- rubygems_version: 1.8.23
297
+ rubygems_version: 1.8.24
264
298
  signing_key:
265
299
  specification_version: 3
266
- summary: Know your dependencies - and the licenses they are binding your application
267
- to.
300
+ summary: Audit the OSS licenses of your application's dependencies.
268
301
  test_files:
269
- - features/executables/license_finder.feature
270
- - features/rake_tasks/action_items.feature
271
- - features/rake_tasks/action_items_ok.feature
272
- - features/rake_tasks/generate_dependencies.feature
273
- - features/rake_tasks/init.feature
274
- - features/rake_tasks/regressions.feature
302
+ - features/approve_dependencies.feature
303
+ - features/html_report.feature
304
+ - features/license_finder.feature
305
+ - features/license_finder_rake_task.feature
306
+ - features/rails_rake.feature
275
307
  - features/step_definitions/steps.rb
308
+ - features/text_report.feature
276
309
  - spec/fixtures/APACHE-2-LICENSE
277
310
  - spec/fixtures/GPLv2
278
311
  - spec/fixtures/ISC-LICENSE
@@ -301,7 +334,6 @@ test_files:
301
334
  - spec/lib/license_finder/bundled_gem_spec.rb
302
335
  - spec/lib/license_finder/dependency_list_spec.rb
303
336
  - spec/lib/license_finder/dependency_spec.rb
304
- - spec/lib/license_finder/finder_spec.rb
305
337
  - spec/lib/license_finder/license/apache_spec.rb
306
338
  - spec/lib/license_finder/license/bsd_spec.rb
307
339
  - spec/lib/license_finder/license/gplv2_spec.rb
@@ -311,7 +343,10 @@ test_files:
311
343
  - spec/lib/license_finder/license/new_bsd_spec.rb
312
344
  - spec/lib/license_finder/license/ruby_spec.rb
313
345
  - spec/lib/license_finder/license/simplified_bsd_spec.rb
346
+ - spec/lib/license_finder/license_spec.rb
347
+ - spec/lib/license_finder/license_url_spec.rb
314
348
  - spec/lib/license_finder/possible_license_file_spec.rb
349
+ - spec/lib/license_finder/reporter_spec.rb
315
350
  - spec/lib/license_finder_spec.rb
316
351
  - spec/spec_helper.rb
317
352
  - spec/support/license_examples.rb