license_finder 6.14.2 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +9 -0
- data/.rubocop.yml +12 -2
- data/CHANGELOG.md +35 -4
- data/Dockerfile +26 -5
- data/README.md +30 -27
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/ci/pipelines/release.yml.erb +1 -1
- data/ci/scripts/pushscript.sh +2 -3
- data/ci/scripts/run-tests.sh +4 -3
- data/ci/tasks/rubocop.yml +1 -1
- data/dlf +9 -5
- data/lib/license_finder/cli/approvals.rb +2 -2
- data/lib/license_finder/cli/base.rb +9 -5
- data/lib/license_finder/cli/dependencies.rb +4 -4
- data/lib/license_finder/cli/ignored_dependencies.rb +3 -3
- data/lib/license_finder/cli/ignored_groups.rb +3 -3
- data/lib/license_finder/cli/inherited_decisions.rb +5 -5
- data/lib/license_finder/cli/licenses.rb +2 -2
- data/lib/license_finder/cli/main.rb +17 -11
- data/lib/license_finder/cli/permitted_licenses.rb +3 -3
- data/lib/license_finder/cli/project_name.rb +4 -4
- data/lib/license_finder/cli/restricted_licenses.rb +3 -3
- data/lib/license_finder/configuration.rb +6 -3
- data/lib/license_finder/core.rb +2 -1
- data/lib/license_finder/decisions.rb +9 -5
- data/lib/license_finder/license/definitions.rb +22 -0
- data/lib/license_finder/license/text.rb +5 -3
- data/lib/license_finder/license.rb +8 -2
- data/lib/license_finder/logger.rb +1 -1
- data/lib/license_finder/package.rb +3 -11
- data/lib/license_finder/package_delta.rb +1 -1
- data/lib/license_finder/package_manager.rb +1 -0
- data/lib/license_finder/package_managers/cocoa_pods.rb +14 -9
- data/lib/license_finder/package_managers/conan.rb +2 -2
- data/lib/license_finder/package_managers/conda.rb +1 -1
- data/lib/license_finder/package_managers/glide.rb +7 -1
- data/lib/license_finder/package_managers/go_15vendorexperiment.rb +2 -2
- data/lib/license_finder/package_managers/go_dep.rb +1 -1
- data/lib/license_finder/package_managers/go_workspace.rb +1 -1
- data/lib/license_finder/package_managers/maven.rb +2 -6
- data/lib/license_finder/package_managers/nuget.rb +1 -1
- data/lib/license_finder/package_managers/pub.rb +86 -0
- data/lib/license_finder/package_managers/sbt.rb +1 -5
- data/lib/license_finder/package_managers/yarn.rb +48 -9
- data/lib/license_finder/package_utils/license_files.rb +2 -2
- data/lib/license_finder/packages/bower_package.rb +5 -2
- data/lib/license_finder/packages/erlangmk_package.rb +2 -4
- data/lib/license_finder/packages/npm_package.rb +1 -0
- data/lib/license_finder/packages/pubspec_package.rb +18 -0
- data/lib/license_finder/printer.rb +39 -0
- data/lib/license_finder/report.rb +2 -1
- data/lib/license_finder/reports/csv_report.rb +1 -1
- data/lib/license_finder/reports/erb_report.rb +7 -3
- data/lib/license_finder/reports/json_report.rb +2 -1
- data/lib/license_finder/reports/junit_report.rb +5 -1
- data/lib/license_finder/reports/xml_report.rb +5 -1
- data/lib/license_finder/scanner.rb +1 -1
- data/license_finder.gemspec +15 -13
- metadata +58 -26
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:
|
4
|
+
version: 7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Collins
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date:
|
30
|
+
date: 2022-03-18 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|
@@ -69,14 +69,14 @@ dependencies:
|
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 1.
|
72
|
+
version: '1.2'
|
73
73
|
type: :runtime
|
74
74
|
prerelease: false
|
75
75
|
version_requirements: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
77
|
- - "~>"
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 1.
|
79
|
+
version: '1.2'
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: tomlrb
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,14 +117,14 @@ dependencies:
|
|
117
117
|
requirements:
|
118
118
|
- - "~>"
|
119
119
|
- !ruby/object:Gem::Version
|
120
|
-
version: 1.1.
|
120
|
+
version: 1.1.9
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
123
|
version_requirements: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
125
|
- - "~>"
|
126
126
|
- !ruby/object:Gem::Version
|
127
|
-
version: 1.1.
|
127
|
+
version: 1.1.9
|
128
128
|
- !ruby/object:Gem::Dependency
|
129
129
|
name: addressable
|
130
130
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,70 +145,98 @@ dependencies:
|
|
145
145
|
requirements:
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version: 3.
|
148
|
+
version: 3.32.2
|
149
149
|
type: :development
|
150
150
|
prerelease: false
|
151
151
|
version_requirements: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
153
|
- - "~>"
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
version: 3.
|
155
|
+
version: 3.32.2
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: e2mmap
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - "~>"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 0.1.0
|
163
|
+
type: :development
|
164
|
+
prerelease: false
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - "~>"
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: 0.1.0
|
156
170
|
- !ruby/object:Gem::Dependency
|
157
171
|
name: fakefs
|
158
172
|
requirement: !ruby/object:Gem::Requirement
|
159
173
|
requirements:
|
160
174
|
- - "~>"
|
161
175
|
- !ruby/object:Gem::Version
|
162
|
-
version: 1.
|
176
|
+
version: 1.4.1
|
177
|
+
type: :development
|
178
|
+
prerelease: false
|
179
|
+
version_requirements: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - "~>"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: 1.4.1
|
184
|
+
- !ruby/object:Gem::Dependency
|
185
|
+
name: matrix
|
186
|
+
requirement: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - "~>"
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 0.1.0
|
163
191
|
type: :development
|
164
192
|
prerelease: false
|
165
193
|
version_requirements: !ruby/object:Gem::Requirement
|
166
194
|
requirements:
|
167
195
|
- - "~>"
|
168
196
|
- !ruby/object:Gem::Version
|
169
|
-
version: 1.
|
197
|
+
version: 0.1.0
|
170
198
|
- !ruby/object:Gem::Dependency
|
171
199
|
name: mime-types
|
172
200
|
requirement: !ruby/object:Gem::Requirement
|
173
201
|
requirements:
|
174
202
|
- - '='
|
175
203
|
- !ruby/object:Gem::Version
|
176
|
-
version: 3.
|
204
|
+
version: 3.4.1
|
177
205
|
type: :development
|
178
206
|
prerelease: false
|
179
207
|
version_requirements: !ruby/object:Gem::Requirement
|
180
208
|
requirements:
|
181
209
|
- - '='
|
182
210
|
- !ruby/object:Gem::Version
|
183
|
-
version: 3.
|
211
|
+
version: 3.4.1
|
184
212
|
- !ruby/object:Gem::Dependency
|
185
213
|
name: pry
|
186
214
|
requirement: !ruby/object:Gem::Requirement
|
187
215
|
requirements:
|
188
216
|
- - "~>"
|
189
217
|
- !ruby/object:Gem::Version
|
190
|
-
version: 0.14.
|
218
|
+
version: 0.14.1
|
191
219
|
type: :development
|
192
220
|
prerelease: false
|
193
221
|
version_requirements: !ruby/object:Gem::Requirement
|
194
222
|
requirements:
|
195
223
|
- - "~>"
|
196
224
|
- !ruby/object:Gem::Version
|
197
|
-
version: 0.14.
|
225
|
+
version: 0.14.1
|
198
226
|
- !ruby/object:Gem::Dependency
|
199
227
|
name: rake
|
200
228
|
requirement: !ruby/object:Gem::Requirement
|
201
229
|
requirements:
|
202
230
|
- - "~>"
|
203
231
|
- !ruby/object:Gem::Version
|
204
|
-
version: 13.0.
|
232
|
+
version: 13.0.6
|
205
233
|
type: :development
|
206
234
|
prerelease: false
|
207
235
|
version_requirements: !ruby/object:Gem::Requirement
|
208
236
|
requirements:
|
209
237
|
- - "~>"
|
210
238
|
- !ruby/object:Gem::Version
|
211
|
-
version: 13.0.
|
239
|
+
version: 13.0.6
|
212
240
|
- !ruby/object:Gem::Dependency
|
213
241
|
name: rspec
|
214
242
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,42 +271,42 @@ dependencies:
|
|
243
271
|
requirements:
|
244
272
|
- - "~>"
|
245
273
|
- !ruby/object:Gem::Version
|
246
|
-
version:
|
274
|
+
version: 1.12.1
|
247
275
|
type: :development
|
248
276
|
prerelease: false
|
249
277
|
version_requirements: !ruby/object:Gem::Requirement
|
250
278
|
requirements:
|
251
279
|
- - "~>"
|
252
280
|
- !ruby/object:Gem::Version
|
253
|
-
version:
|
281
|
+
version: 1.12.1
|
254
282
|
- !ruby/object:Gem::Dependency
|
255
283
|
name: rubocop-performance
|
256
284
|
requirement: !ruby/object:Gem::Requirement
|
257
285
|
requirements:
|
258
286
|
- - "~>"
|
259
287
|
- !ruby/object:Gem::Version
|
260
|
-
version: 1.
|
288
|
+
version: 1.10.2
|
261
289
|
type: :development
|
262
290
|
prerelease: false
|
263
291
|
version_requirements: !ruby/object:Gem::Requirement
|
264
292
|
requirements:
|
265
293
|
- - "~>"
|
266
294
|
- !ruby/object:Gem::Version
|
267
|
-
version: 1.
|
295
|
+
version: 1.10.2
|
268
296
|
- !ruby/object:Gem::Dependency
|
269
297
|
name: webmock
|
270
298
|
requirement: !ruby/object:Gem::Requirement
|
271
299
|
requirements:
|
272
300
|
- - "~>"
|
273
301
|
- !ruby/object:Gem::Version
|
274
|
-
version: '3.
|
302
|
+
version: '3.14'
|
275
303
|
type: :development
|
276
304
|
prerelease: false
|
277
305
|
version_requirements: !ruby/object:Gem::Requirement
|
278
306
|
requirements:
|
279
307
|
- - "~>"
|
280
308
|
- !ruby/object:Gem::Version
|
281
|
-
version: '3.
|
309
|
+
version: '3.14'
|
282
310
|
- !ruby/object:Gem::Dependency
|
283
311
|
name: nokogiri
|
284
312
|
requirement: !ruby/object:Gem::Requirement
|
@@ -299,14 +327,14 @@ dependencies:
|
|
299
327
|
requirements:
|
300
328
|
- - "~>"
|
301
329
|
- !ruby/object:Gem::Version
|
302
|
-
version: 2.2.
|
330
|
+
version: 2.2.3
|
303
331
|
type: :development
|
304
332
|
prerelease: false
|
305
333
|
version_requirements: !ruby/object:Gem::Requirement
|
306
334
|
requirements:
|
307
335
|
- - "~>"
|
308
336
|
- !ruby/object:Gem::Version
|
309
|
-
version: 2.2.
|
337
|
+
version: 2.2.3
|
310
338
|
- !ruby/object:Gem::Dependency
|
311
339
|
name: rack-test
|
312
340
|
requirement: !ruby/object:Gem::Requirement
|
@@ -341,6 +369,7 @@ extensions: []
|
|
341
369
|
extra_rdoc_files: []
|
342
370
|
files:
|
343
371
|
- ".force-build"
|
372
|
+
- ".github/dependabot.yml"
|
344
373
|
- ".gitignore"
|
345
374
|
- ".rspec"
|
346
375
|
- ".rubocop.yml"
|
@@ -456,6 +485,7 @@ files:
|
|
456
485
|
- lib/license_finder/package_managers/nuget.rb
|
457
486
|
- lib/license_finder/package_managers/pip.rb
|
458
487
|
- lib/license_finder/package_managers/pipenv.rb
|
488
|
+
- lib/license_finder/package_managers/pub.rb
|
459
489
|
- lib/license_finder/package_managers/rebar.rb
|
460
490
|
- lib/license_finder/package_managers/sbt.rb
|
461
491
|
- lib/license_finder/package_managers/spm.rb
|
@@ -489,11 +519,13 @@ files:
|
|
489
519
|
- lib/license_finder/packages/npm_package.rb
|
490
520
|
- lib/license_finder/packages/nuget_package.rb
|
491
521
|
- lib/license_finder/packages/pip_package.rb
|
522
|
+
- lib/license_finder/packages/pubspec_package.rb
|
492
523
|
- lib/license_finder/packages/rebar_package.rb
|
493
524
|
- lib/license_finder/packages/sbt_package.rb
|
494
525
|
- lib/license_finder/packages/spm_package.rb
|
495
526
|
- lib/license_finder/packages/yarn_package.rb
|
496
527
|
- lib/license_finder/platform.rb
|
528
|
+
- lib/license_finder/printer.rb
|
497
529
|
- lib/license_finder/project_finder.rb
|
498
530
|
- lib/license_finder/report.rb
|
499
531
|
- lib/license_finder/reports/csv_report.rb
|
@@ -530,14 +562,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
530
562
|
requirements:
|
531
563
|
- - ">="
|
532
564
|
- !ruby/object:Gem::Version
|
533
|
-
version: 2.
|
565
|
+
version: 2.4.0
|
534
566
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
535
567
|
requirements:
|
536
568
|
- - ">="
|
537
569
|
- !ruby/object:Gem::Version
|
538
570
|
version: '0'
|
539
571
|
requirements: []
|
540
|
-
rubygems_version: 3.
|
572
|
+
rubygems_version: 3.3.9
|
541
573
|
signing_key:
|
542
574
|
specification_version: 4
|
543
575
|
summary: Audit the OSS licenses of your application's dependencies.
|