license_finder 0.7.3 → 0.8.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.
- data/.gitignore +4 -3
- data/.travis.yml +1 -8
- data/bin/license_finder +31 -1
- data/db/migrate/201303290935_create_dependencies.rb +14 -0
- data/db/migrate/201303291155_create_licenses.rb +13 -0
- data/db/migrate/201303291402_create_approvals.rb +13 -0
- data/db/migrate/201303291456_create_ancestries.rb +9 -0
- data/db/migrate/201303291519_create_bundler_groups.rb +13 -0
- data/db/migrate/201303291720_move_manual_from_approvals_to_licenses.rb +11 -0
- data/db/migrate/201303291753_allow_null_license_names.rb +7 -0
- data/db/migrate/201304011027_allow_null_dependency_version.rb +7 -0
- data/db/migrate/201304020947_change_table_name_licenses_to_license_aliases.rb +5 -0
- data/features/approve_dependencies.feature +0 -45
- data/features/html_report.feature +1 -11
- data/features/license_finder.feature +13 -27
- data/features/license_finder_rake_task.feature +2 -1
- data/features/set_license.feature +2 -4
- data/features/step_definitions/license_finder_steps.rb +25 -0
- data/features/step_definitions/steps.rb +40 -26
- data/features/text_report.feature +2 -2
- data/files/license_finder.yml +1 -1
- data/lib/license_finder.rb +14 -6
- data/lib/license_finder/bundle.rb +4 -17
- data/lib/license_finder/bundle_syncer.rb +2 -3
- data/lib/license_finder/bundled_gem.rb +4 -47
- data/lib/license_finder/cli.rb +9 -16
- data/lib/license_finder/configuration.rb +55 -3
- data/lib/license_finder/dependency_report.rb +1 -1
- data/lib/license_finder/gem_saver.rb +69 -0
- data/lib/license_finder/html_report.rb +2 -2
- data/lib/license_finder/license.rb +60 -58
- data/lib/license_finder/license_files.rb +36 -0
- data/lib/license_finder/license_url.rb +8 -6
- data/lib/license_finder/platform.rb +32 -0
- data/lib/license_finder/possible_license_file.rb +1 -1
- data/lib/license_finder/tables.rb +7 -0
- data/lib/license_finder/tables/approval.rb +4 -0
- data/lib/license_finder/tables/bundler_group.rb +4 -0
- data/lib/license_finder/tables/dependency.rb +31 -0
- data/lib/license_finder/tables/license_alias.rb +22 -0
- data/lib/license_finder/yml_to_sql.rb +127 -0
- data/lib/tasks/license_finder.rake +3 -0
- data/lib/templates/html_report.erb +50 -32
- data/lib/templates/text_report.erb +3 -2
- data/license_finder.gemspec +14 -5
- data/readme.md +10 -50
- data/spec/lib/license_finder/bundle_spec.rb +22 -19
- data/spec/lib/license_finder/bundle_syncer_spec.rb +4 -10
- data/spec/lib/license_finder/bundled_gem_spec.rb +40 -108
- data/spec/lib/license_finder/cli_spec.rb +3 -3
- data/spec/lib/license_finder/configuration_spec.rb +53 -21
- data/spec/lib/license_finder/gem_saver_spec.rb +155 -0
- data/spec/lib/license_finder/html_report_spec.rb +32 -15
- data/spec/lib/license_finder/license_files_spec.rb +50 -0
- data/spec/lib/license_finder/tables/dependency_spec.rb +102 -0
- data/spec/lib/license_finder/tables/license_alias_spec.rb +54 -0
- data/spec/lib/license_finder/text_report_spec.rb +6 -4
- data/spec/lib/license_finder/yml_to_sql_spec.rb +99 -0
- data/spec/lib/license_finder_spec.rb +5 -5
- data/spec/spec_helper.rb +17 -1
- metadata +79 -32
- data/lib/license_finder/dependency.rb +0 -50
- data/lib/license_finder/persistence.rb +0 -1
- data/lib/license_finder/persistence/yaml.rb +0 -7
- data/lib/license_finder/persistence/yaml/configuration.rb +0 -34
- data/lib/license_finder/persistence/yaml/dependency.rb +0 -127
- data/lib/license_finder/source_syncer.rb +0 -40
- data/lib/templates/dependency.html.erb +0 -54
- data/spec/lib/license_finder/dependency_spec.rb +0 -188
- data/spec/lib/license_finder/persistence/yaml/dependency_spec.rb +0 -5
- data/spec/lib/license_finder/source_syncer_spec.rb +0 -37
- data/spec/support/shared_examples/persistence/configuration.rb +0 -28
- data/spec/support/shared_examples/persistence/dependency.rb +0 -138
@@ -4,19 +4,21 @@ module LicenseFinder
|
|
4
4
|
describe TextReport do
|
5
5
|
describe '#to_s' do
|
6
6
|
let(:dep1) do
|
7
|
-
Dependency.new(
|
7
|
+
dependency = Dependency.new(
|
8
8
|
'name' => 'gem_a',
|
9
9
|
'version' => '1.0',
|
10
|
-
'license' => "MIT"
|
11
10
|
)
|
11
|
+
dependency.license = LicenseFinder::LicenseAlias.create(name: 'MIT')
|
12
|
+
dependency
|
12
13
|
end
|
13
14
|
|
14
15
|
let(:dep2) do
|
15
|
-
Dependency.new(
|
16
|
+
dependency = Dependency.new(
|
16
17
|
'name' => 'gem_b',
|
17
18
|
'version' => '1.0',
|
18
|
-
'license' => "MIT"
|
19
19
|
)
|
20
|
+
dependency.license = LicenseFinder::LicenseAlias.create(name: 'MIT')
|
21
|
+
dependency
|
20
22
|
end
|
21
23
|
|
22
24
|
subject { TextReport.new([dep2, dep1]).to_s }
|
@@ -0,0 +1,99 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe LicenseFinder::YmlToSql do
|
4
|
+
let(:legacy_attributes) do
|
5
|
+
{
|
6
|
+
'name' => "spec_name",
|
7
|
+
'version' => "2.1.3",
|
8
|
+
'license' => "GPLv2",
|
9
|
+
'license_url' => "www.license_url.org",
|
10
|
+
'approved' => true,
|
11
|
+
'manual' => true,
|
12
|
+
'summary' => "some summary",
|
13
|
+
'description' => "some description",
|
14
|
+
'homepage' => 'www.homepage.com',
|
15
|
+
'children' => ["child1_name"],
|
16
|
+
'parents' => ["parent1_name"],
|
17
|
+
'bundler_groups' => [:test],
|
18
|
+
|
19
|
+
'notes' => 'some notes',
|
20
|
+
'license_files' => ['/Users/pivotal/foo/lic1', '/Users/pivotal/bar/lic2'],
|
21
|
+
}
|
22
|
+
end
|
23
|
+
let(:config) { LicenseFinder::Configuration.new }
|
24
|
+
|
25
|
+
before do
|
26
|
+
LicenseFinder.stub(:config) { config }
|
27
|
+
end
|
28
|
+
|
29
|
+
describe ".needs_conversion?" do
|
30
|
+
it "is true if the yml still exists" do
|
31
|
+
config.stub(dependencies_dir: 'path/to')
|
32
|
+
File.should_receive(:exists?).with('path/to/dependencies.yml') { true }
|
33
|
+
described_class.needs_conversion?.should be_true
|
34
|
+
end
|
35
|
+
|
36
|
+
it "is false otherwise" do
|
37
|
+
config.stub(dependencies_dir: 'path/to')
|
38
|
+
File.should_receive(:exists?).with('path/to/dependencies.yml') { false }
|
39
|
+
described_class.needs_conversion?.should be_false
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
describe ".remove_yml" do
|
44
|
+
it "removes the yml file" do
|
45
|
+
config.stub(dependencies_dir: 'path/to')
|
46
|
+
File.should_receive(:delete).with('path/to/dependencies.yml')
|
47
|
+
described_class.remove_yml
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe '.convert_all' do
|
52
|
+
before do
|
53
|
+
(DB.tables - [:schema_migrations]).each { |table| DB[table].truncate }
|
54
|
+
end
|
55
|
+
|
56
|
+
it "persists all of the dependency's attributes" do
|
57
|
+
described_class.convert_all([legacy_attributes])
|
58
|
+
|
59
|
+
described_class::Sql::Dependency.count.should == 1
|
60
|
+
saved_dep = described_class::Sql::Dependency.first
|
61
|
+
saved_dep.name.should == "spec_name"
|
62
|
+
saved_dep.version.should == "2.1.3"
|
63
|
+
saved_dep.summary.should == "some summary"
|
64
|
+
saved_dep.description.should == "some description"
|
65
|
+
saved_dep.homepage.should == "www.homepage.com"
|
66
|
+
end
|
67
|
+
|
68
|
+
it "associates the license to the dependency" do
|
69
|
+
described_class.convert_all([legacy_attributes])
|
70
|
+
|
71
|
+
saved_dep = described_class::Sql::Dependency.first
|
72
|
+
saved_dep.license.name.should == "GPLv2"
|
73
|
+
saved_dep.license.url.should == "www.license_url.org"
|
74
|
+
saved_dep.license.manual.should == true
|
75
|
+
end
|
76
|
+
|
77
|
+
it "associates bundler groups" do
|
78
|
+
described_class.convert_all([legacy_attributes])
|
79
|
+
|
80
|
+
saved_dep = described_class::Sql::Dependency.first
|
81
|
+
saved_dep.bundler_groups.count.should == 1
|
82
|
+
saved_dep.bundler_groups.first.name.should == 'test'
|
83
|
+
end
|
84
|
+
|
85
|
+
it "associates children" do
|
86
|
+
child_attrs = {
|
87
|
+
'name' => 'child1_name',
|
88
|
+
'version' => '0.0.1',
|
89
|
+
'license' => 'other'
|
90
|
+
}
|
91
|
+
described_class.convert_all([legacy_attributes, child_attrs])
|
92
|
+
|
93
|
+
described_class::Sql::Dependency.count.should == 2
|
94
|
+
saved_dep = described_class::Sql::Dependency.first(name: 'spec_name')
|
95
|
+
saved_dep.children.count.should == 1
|
96
|
+
saved_dep.children.first.name.should == 'child1_name'
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -25,7 +25,7 @@ describe LicenseFinder do
|
|
25
25
|
|
26
26
|
LicenseFinder.config.whitelist.should == []
|
27
27
|
LicenseFinder.config.ignore_groups.should == []
|
28
|
-
LicenseFinder.config.dependencies_dir.should == '
|
28
|
+
LicenseFinder.config.dependencies_dir.should == './doc/'
|
29
29
|
end
|
30
30
|
|
31
31
|
it "should load the configuration exactly once" do
|
@@ -72,10 +72,10 @@ describe LicenseFinder do
|
|
72
72
|
|
73
73
|
it 'should default the dependency files when the directory is not provided' do
|
74
74
|
config = LicenseFinder.config
|
75
|
-
config.dependencies_dir.should == '
|
76
|
-
config.dependencies_yaml.should == './dependencies.yml'
|
77
|
-
config.dependencies_text.should == './dependencies.txt'
|
78
|
-
config.dependencies_html.should == './dependencies.html'
|
75
|
+
config.dependencies_dir.should == './doc/'
|
76
|
+
config.dependencies_yaml.should == './doc/dependencies.yml'
|
77
|
+
config.dependencies_text.should == './doc/dependencies.txt'
|
78
|
+
config.dependencies_html.should == './doc/dependencies.html'
|
79
79
|
end
|
80
80
|
end
|
81
81
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'bundler/setup'
|
3
|
-
require 'pry'
|
4
3
|
|
5
4
|
require 'license_finder'
|
6
5
|
|
@@ -13,3 +12,20 @@ end
|
|
13
12
|
RSpec.configure do |config|
|
14
13
|
config.mock_with :rspec
|
15
14
|
end
|
15
|
+
|
16
|
+
require 'database_cleaner'
|
17
|
+
|
18
|
+
RSpec.configure do |config|
|
19
|
+
config.before(:suite) do
|
20
|
+
DatabaseCleaner.strategy = :transaction
|
21
|
+
DatabaseCleaner.clean_with(:truncation, except: [:schema_migrations])
|
22
|
+
end
|
23
|
+
|
24
|
+
config.before(:each) do
|
25
|
+
DatabaseCleaner.start
|
26
|
+
end
|
27
|
+
|
28
|
+
config.after(:each) do
|
29
|
+
DatabaseCleaner.clean
|
30
|
+
end
|
31
|
+
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.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,10 +10,12 @@ authors:
|
|
10
10
|
- Ian Lesperance
|
11
11
|
- David Edwards
|
12
12
|
- Paul Meskers
|
13
|
+
- Brent Wheeldon
|
14
|
+
- David Tengdin
|
13
15
|
autorequire:
|
14
16
|
bindir: bin
|
15
17
|
cert_chain: []
|
16
|
-
date: 2013-
|
18
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
17
19
|
dependencies:
|
18
20
|
- !ruby/object:Gem::Dependency
|
19
21
|
name: bundler
|
@@ -32,14 +34,14 @@ dependencies:
|
|
32
34
|
- !ruby/object:Gem::Version
|
33
35
|
version: '0'
|
34
36
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
37
|
+
name: sequel
|
36
38
|
requirement: !ruby/object:Gem::Requirement
|
37
39
|
none: false
|
38
40
|
requirements:
|
39
41
|
- - ! '>='
|
40
42
|
- !ruby/object:Gem::Version
|
41
43
|
version: '0'
|
42
|
-
type: :
|
44
|
+
type: :runtime
|
43
45
|
prerelease: false
|
44
46
|
version_requirements: !ruby/object:Gem::Requirement
|
45
47
|
none: false
|
@@ -48,7 +50,23 @@ dependencies:
|
|
48
50
|
- !ruby/object:Gem::Version
|
49
51
|
version: '0'
|
50
52
|
- !ruby/object:Gem::Dependency
|
51
|
-
name:
|
53
|
+
name: sqlite3
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
type: :runtime
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: rspec
|
52
70
|
requirement: !ruby/object:Gem::Requirement
|
53
71
|
none: false
|
54
72
|
requirements:
|
@@ -64,7 +82,7 @@ dependencies:
|
|
64
82
|
- !ruby/object:Gem::Version
|
65
83
|
version: '0'
|
66
84
|
- !ruby/object:Gem::Dependency
|
67
|
-
name:
|
85
|
+
name: rake
|
68
86
|
requirement: !ruby/object:Gem::Requirement
|
69
87
|
none: false
|
70
88
|
requirements:
|
@@ -80,7 +98,7 @@ dependencies:
|
|
80
98
|
- !ruby/object:Gem::Version
|
81
99
|
version: '0'
|
82
100
|
- !ruby/object:Gem::Dependency
|
83
|
-
name:
|
101
|
+
name: xpath
|
84
102
|
requirement: !ruby/object:Gem::Requirement
|
85
103
|
none: false
|
86
104
|
requirements:
|
@@ -96,7 +114,7 @@ dependencies:
|
|
96
114
|
- !ruby/object:Gem::Version
|
97
115
|
version: '0'
|
98
116
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
117
|
+
name: capybara
|
100
118
|
requirement: !ruby/object:Gem::Requirement
|
101
119
|
none: false
|
102
120
|
requirements:
|
@@ -112,7 +130,7 @@ dependencies:
|
|
112
130
|
- !ruby/object:Gem::Version
|
113
131
|
version: '0'
|
114
132
|
- !ruby/object:Gem::Dependency
|
115
|
-
name:
|
133
|
+
name: cucumber
|
116
134
|
requirement: !ruby/object:Gem::Requirement
|
117
135
|
none: false
|
118
136
|
requirements:
|
@@ -128,7 +146,7 @@ dependencies:
|
|
128
146
|
- !ruby/object:Gem::Version
|
129
147
|
version: '0'
|
130
148
|
- !ruby/object:Gem::Dependency
|
131
|
-
name:
|
149
|
+
name: database_cleaner
|
132
150
|
requirement: !ruby/object:Gem::Requirement
|
133
151
|
none: false
|
134
152
|
requirements:
|
@@ -143,12 +161,28 @@ dependencies:
|
|
143
161
|
- - ! '>='
|
144
162
|
- !ruby/object:Gem::Version
|
145
163
|
version: '0'
|
164
|
+
- !ruby/object:Gem::Dependency
|
165
|
+
name: rails
|
166
|
+
requirement: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
168
|
+
requirements:
|
169
|
+
- - ~>
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 3.2.0
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
none: false
|
176
|
+
requirements:
|
177
|
+
- - ~>
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: 3.2.0
|
146
180
|
description: ! " Do you know the licenses of all your application's dependencies?
|
147
181
|
What open source software licenses will your business accept?\n\n LicenseFinder
|
148
182
|
culls your Gemfile, detects the licenses of the gems in it, and gives you a report
|
149
|
-
that you can act on. If you already know
|
183
|
+
that you can act on. If you already know\n what licenses your business is comfortable
|
150
184
|
with, you can whitelist them, leaving you with an action report of only those dependencies
|
151
|
-
that have
|
185
|
+
that have\n licenses that fall outside of the whitelist.\n"
|
152
186
|
email:
|
153
187
|
- licensefinder@pivotalabs.com
|
154
188
|
executables:
|
@@ -163,6 +197,15 @@ files:
|
|
163
197
|
- LICENSE
|
164
198
|
- Rakefile
|
165
199
|
- bin/license_finder
|
200
|
+
- db/migrate/201303290935_create_dependencies.rb
|
201
|
+
- db/migrate/201303291155_create_licenses.rb
|
202
|
+
- db/migrate/201303291402_create_approvals.rb
|
203
|
+
- db/migrate/201303291456_create_ancestries.rb
|
204
|
+
- db/migrate/201303291519_create_bundler_groups.rb
|
205
|
+
- db/migrate/201303291720_move_manual_from_approvals_to_licenses.rb
|
206
|
+
- db/migrate/201303291753_allow_null_license_names.rb
|
207
|
+
- db/migrate/201304011027_allow_null_dependency_version.rb
|
208
|
+
- db/migrate/201304020947_change_table_name_licenses_to_license_aliases.rb
|
166
209
|
- features/approve_dependencies.feature
|
167
210
|
- features/html_report.feature
|
168
211
|
- features/ignore_bundle_groups.feature
|
@@ -170,6 +213,7 @@ files:
|
|
170
213
|
- features/license_finder_rake_task.feature
|
171
214
|
- features/rails_rake.feature
|
172
215
|
- features/set_license.feature
|
216
|
+
- features/step_definitions/license_finder_steps.rb
|
173
217
|
- features/step_definitions/steps.rb
|
174
218
|
- features/text_report.feature
|
175
219
|
- features/whitelist.feature
|
@@ -189,8 +233,8 @@ files:
|
|
189
233
|
- lib/license_finder/bundled_gem.rb
|
190
234
|
- lib/license_finder/cli.rb
|
191
235
|
- lib/license_finder/configuration.rb
|
192
|
-
- lib/license_finder/dependency.rb
|
193
236
|
- lib/license_finder/dependency_report.rb
|
237
|
+
- lib/license_finder/gem_saver.rb
|
194
238
|
- lib/license_finder/html_report.rb
|
195
239
|
- lib/license_finder/license.rb
|
196
240
|
- lib/license_finder/license/apache2.rb
|
@@ -202,18 +246,20 @@ files:
|
|
202
246
|
- lib/license_finder/license/new_bsd.rb
|
203
247
|
- lib/license_finder/license/ruby.rb
|
204
248
|
- lib/license_finder/license/simplified_bsd.rb
|
249
|
+
- lib/license_finder/license_files.rb
|
205
250
|
- lib/license_finder/license_url.rb
|
206
|
-
- lib/license_finder/
|
207
|
-
- lib/license_finder/persistence/yaml.rb
|
208
|
-
- lib/license_finder/persistence/yaml/configuration.rb
|
209
|
-
- lib/license_finder/persistence/yaml/dependency.rb
|
251
|
+
- lib/license_finder/platform.rb
|
210
252
|
- lib/license_finder/possible_license_file.rb
|
211
253
|
- lib/license_finder/railtie.rb
|
212
254
|
- lib/license_finder/reporter.rb
|
213
|
-
- lib/license_finder/
|
255
|
+
- lib/license_finder/tables.rb
|
256
|
+
- lib/license_finder/tables/approval.rb
|
257
|
+
- lib/license_finder/tables/bundler_group.rb
|
258
|
+
- lib/license_finder/tables/dependency.rb
|
259
|
+
- lib/license_finder/tables/license_alias.rb
|
214
260
|
- lib/license_finder/text_report.rb
|
261
|
+
- lib/license_finder/yml_to_sql.rb
|
215
262
|
- lib/tasks/license_finder.rake
|
216
|
-
- lib/templates/dependency.html.erb
|
217
263
|
- lib/templates/html_report.erb
|
218
264
|
- lib/templates/text_report.erb
|
219
265
|
- license_finder.gemspec
|
@@ -248,7 +294,7 @@ files:
|
|
248
294
|
- spec/lib/license_finder/bundled_gem_spec.rb
|
249
295
|
- spec/lib/license_finder/cli_spec.rb
|
250
296
|
- spec/lib/license_finder/configuration_spec.rb
|
251
|
-
- spec/lib/license_finder/
|
297
|
+
- spec/lib/license_finder/gem_saver_spec.rb
|
252
298
|
- spec/lib/license_finder/html_report_spec.rb
|
253
299
|
- spec/lib/license_finder/license/apache_spec.rb
|
254
300
|
- spec/lib/license_finder/license/bsd_spec.rb
|
@@ -259,18 +305,18 @@ files:
|
|
259
305
|
- spec/lib/license_finder/license/new_bsd_spec.rb
|
260
306
|
- spec/lib/license_finder/license/ruby_spec.rb
|
261
307
|
- spec/lib/license_finder/license/simplified_bsd_spec.rb
|
308
|
+
- spec/lib/license_finder/license_files_spec.rb
|
262
309
|
- spec/lib/license_finder/license_spec.rb
|
263
310
|
- spec/lib/license_finder/license_url_spec.rb
|
264
|
-
- spec/lib/license_finder/persistence/yaml/dependency_spec.rb
|
265
311
|
- spec/lib/license_finder/possible_license_file_spec.rb
|
266
312
|
- spec/lib/license_finder/reporter_spec.rb
|
267
|
-
- spec/lib/license_finder/
|
313
|
+
- spec/lib/license_finder/tables/dependency_spec.rb
|
314
|
+
- spec/lib/license_finder/tables/license_alias_spec.rb
|
268
315
|
- spec/lib/license_finder/text_report_spec.rb
|
316
|
+
- spec/lib/license_finder/yml_to_sql_spec.rb
|
269
317
|
- spec/lib/license_finder_spec.rb
|
270
318
|
- spec/spec_helper.rb
|
271
319
|
- spec/support/license_examples.rb
|
272
|
-
- spec/support/shared_examples/persistence/configuration.rb
|
273
|
-
- spec/support/shared_examples/persistence/dependency.rb
|
274
320
|
homepage: https://github.com/pivotal/LicenseFinder
|
275
321
|
licenses:
|
276
322
|
- MIT
|
@@ -286,7 +332,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
286
332
|
version: '0'
|
287
333
|
segments:
|
288
334
|
- 0
|
289
|
-
hash: -
|
335
|
+
hash: -1906227057992874758
|
290
336
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
337
|
none: false
|
292
338
|
requirements:
|
@@ -295,10 +341,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
341
|
version: '0'
|
296
342
|
segments:
|
297
343
|
- 0
|
298
|
-
hash: -
|
344
|
+
hash: -1906227057992874758
|
299
345
|
requirements: []
|
300
346
|
rubyforge_project:
|
301
|
-
rubygems_version: 1.8.
|
347
|
+
rubygems_version: 1.8.25
|
302
348
|
signing_key:
|
303
349
|
specification_version: 3
|
304
350
|
summary: Audit the OSS licenses of your application's dependencies.
|
@@ -310,6 +356,7 @@ test_files:
|
|
310
356
|
- features/license_finder_rake_task.feature
|
311
357
|
- features/rails_rake.feature
|
312
358
|
- features/set_license.feature
|
359
|
+
- features/step_definitions/license_finder_steps.rb
|
313
360
|
- features/step_definitions/steps.rb
|
314
361
|
- features/text_report.feature
|
315
362
|
- features/whitelist.feature
|
@@ -343,7 +390,7 @@ test_files:
|
|
343
390
|
- spec/lib/license_finder/bundled_gem_spec.rb
|
344
391
|
- spec/lib/license_finder/cli_spec.rb
|
345
392
|
- spec/lib/license_finder/configuration_spec.rb
|
346
|
-
- spec/lib/license_finder/
|
393
|
+
- spec/lib/license_finder/gem_saver_spec.rb
|
347
394
|
- spec/lib/license_finder/html_report_spec.rb
|
348
395
|
- spec/lib/license_finder/license/apache_spec.rb
|
349
396
|
- spec/lib/license_finder/license/bsd_spec.rb
|
@@ -354,15 +401,15 @@ test_files:
|
|
354
401
|
- spec/lib/license_finder/license/new_bsd_spec.rb
|
355
402
|
- spec/lib/license_finder/license/ruby_spec.rb
|
356
403
|
- spec/lib/license_finder/license/simplified_bsd_spec.rb
|
404
|
+
- spec/lib/license_finder/license_files_spec.rb
|
357
405
|
- spec/lib/license_finder/license_spec.rb
|
358
406
|
- spec/lib/license_finder/license_url_spec.rb
|
359
|
-
- spec/lib/license_finder/persistence/yaml/dependency_spec.rb
|
360
407
|
- spec/lib/license_finder/possible_license_file_spec.rb
|
361
408
|
- spec/lib/license_finder/reporter_spec.rb
|
362
|
-
- spec/lib/license_finder/
|
409
|
+
- spec/lib/license_finder/tables/dependency_spec.rb
|
410
|
+
- spec/lib/license_finder/tables/license_alias_spec.rb
|
363
411
|
- spec/lib/license_finder/text_report_spec.rb
|
412
|
+
- spec/lib/license_finder/yml_to_sql_spec.rb
|
364
413
|
- spec/lib/license_finder_spec.rb
|
365
414
|
- spec/spec_helper.rb
|
366
415
|
- spec/support/license_examples.rb
|
367
|
-
- spec/support/shared_examples/persistence/configuration.rb
|
368
|
-
- spec/support/shared_examples/persistence/dependency.rb
|