license_finder 7.0.1 → 7.2.0
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 +7 -0
- data/.pre-commit-hooks.yaml +10 -0
- data/.rubocop.yml +5 -1
- data/CHANGELOG.md +41 -0
- data/CONTRIBUTING.md +1 -0
- data/Dockerfile +129 -122
- data/README.md +53 -14
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/ci/pipelines/pull-request.yml.erb +29 -32
- data/ci/pipelines/release.yml.erb +17 -41
- data/ci/scripts/run-tests.sh +20 -4
- data/ci/tasks/rubocop.yml +3 -3
- data/ci/tasks/update-changelog.yml +2 -2
- data/dlf +6 -1
- data/lib/license_finder/cli/base.rb +2 -0
- data/lib/license_finder/cli/licenses.rb +8 -3
- data/lib/license_finder/cli/main.rb +3 -1
- data/lib/license_finder/configuration.rb +8 -0
- data/lib/license_finder/core.rb +4 -2
- data/lib/license_finder/decision_applier.rb +1 -1
- data/lib/license_finder/decisions.rb +24 -6
- data/lib/license_finder/license/definitions.rb +129 -19
- data/lib/license_finder/license/templates/AGPL3.txt +661 -0
- data/lib/license_finder/license/templates/Apache2.txt +0 -2
- data/lib/license_finder/license/templates/Artistic.txt +128 -0
- data/lib/license_finder/license/templates/CC01_alt.txt +31 -0
- data/lib/license_finder/license/templates/CDDL1_1.txt +123 -0
- data/lib/license_finder/license/templates/CPL1.txt +217 -0
- data/lib/license_finder/license/templates/EPL2.txt +80 -0
- data/lib/license_finder/license/templates/Unlicense.txt +24 -0
- data/lib/license_finder/license/text.rb +4 -0
- data/lib/license_finder/license.rb +1 -1
- data/lib/license_finder/manual_licenses.rb +79 -0
- data/lib/license_finder/package.rb +1 -0
- data/lib/license_finder/package_manager.rb +2 -1
- data/lib/license_finder/package_managers/cargo.rb +1 -1
- data/lib/license_finder/package_managers/conan.rb +50 -8
- data/lib/license_finder/package_managers/dep.rb +43 -41
- data/lib/license_finder/package_managers/dotnet.rb +5 -2
- data/lib/license_finder/package_managers/go_dep.rb +1 -1
- data/lib/license_finder/package_managers/go_workspace.rb +3 -2
- data/lib/license_finder/package_managers/maven.rb +18 -10
- data/lib/license_finder/package_managers/npm.rb +14 -1
- data/lib/license_finder/package_managers/nuget.rb +5 -0
- data/lib/license_finder/package_managers/pip.rb +1 -1
- data/lib/license_finder/package_managers/pnpm.rb +126 -0
- data/lib/license_finder/package_managers/yarn.rb +69 -20
- data/lib/license_finder/package_utils/conan_info_parser.rb +2 -2
- data/lib/license_finder/package_utils/conan_info_parser_v2.rb +82 -0
- data/lib/license_finder/package_utils/license_files.rb +12 -2
- data/lib/license_finder/package_utils/licensing.rb +2 -1
- data/lib/license_finder/package_utils/maven_dependency_finder.rb +43 -1
- data/lib/license_finder/package_utils/notice_files.rb +14 -3
- data/lib/license_finder/package_utils/possible_license_file.rb +8 -2
- data/lib/license_finder/package_utils/pypi.rb +3 -1
- data/lib/license_finder/packages/maven_package.rb +13 -1
- data/lib/license_finder/packages/npm_package.rb +56 -9
- data/lib/license_finder/packages/pnpm_package.rb +13 -0
- data/lib/license_finder/printer.rb +2 -2
- data/lib/license_finder/reports/csv_report.rb +10 -1
- data/lib/license_finder/scanner.rb +3 -3
- data/license_finder.gemspec +12 -11
- metadata +54 -28
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: 7.0
|
4
|
+
version: 7.2.0
|
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: 2024-05-07 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|
@@ -43,6 +43,20 @@ dependencies:
|
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: csv
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '3.2'
|
53
|
+
type: :runtime
|
54
|
+
prerelease: false
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3.2'
|
46
60
|
- !ruby/object:Gem::Dependency
|
47
61
|
name: rubyzip
|
48
62
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,28 +145,28 @@ dependencies:
|
|
131
145
|
requirements:
|
132
146
|
- - '='
|
133
147
|
- !ruby/object:Gem::Version
|
134
|
-
version: 2.8.
|
148
|
+
version: 2.8.6
|
135
149
|
type: :development
|
136
150
|
prerelease: false
|
137
151
|
version_requirements: !ruby/object:Gem::Requirement
|
138
152
|
requirements:
|
139
153
|
- - '='
|
140
154
|
- !ruby/object:Gem::Version
|
141
|
-
version: 2.8.
|
155
|
+
version: 2.8.6
|
142
156
|
- !ruby/object:Gem::Dependency
|
143
157
|
name: capybara
|
144
158
|
requirement: !ruby/object:Gem::Requirement
|
145
159
|
requirements:
|
146
160
|
- - "~>"
|
147
161
|
- !ruby/object:Gem::Version
|
148
|
-
version: 3.
|
162
|
+
version: 3.39.2
|
149
163
|
type: :development
|
150
164
|
prerelease: false
|
151
165
|
version_requirements: !ruby/object:Gem::Requirement
|
152
166
|
requirements:
|
153
167
|
- - "~>"
|
154
168
|
- !ruby/object:Gem::Version
|
155
|
-
version: 3.
|
169
|
+
version: 3.39.2
|
156
170
|
- !ruby/object:Gem::Dependency
|
157
171
|
name: e2mmap
|
158
172
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,42 +187,42 @@ dependencies:
|
|
173
187
|
requirements:
|
174
188
|
- - "~>"
|
175
189
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
190
|
+
version: 2.5.0
|
177
191
|
type: :development
|
178
192
|
prerelease: false
|
179
193
|
version_requirements: !ruby/object:Gem::Requirement
|
180
194
|
requirements:
|
181
195
|
- - "~>"
|
182
196
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
197
|
+
version: 2.5.0
|
184
198
|
- !ruby/object:Gem::Dependency
|
185
199
|
name: matrix
|
186
200
|
requirement: !ruby/object:Gem::Requirement
|
187
201
|
requirements:
|
188
202
|
- - "~>"
|
189
203
|
- !ruby/object:Gem::Version
|
190
|
-
version: 0.
|
204
|
+
version: 0.4.2
|
191
205
|
type: :development
|
192
206
|
prerelease: false
|
193
207
|
version_requirements: !ruby/object:Gem::Requirement
|
194
208
|
requirements:
|
195
209
|
- - "~>"
|
196
210
|
- !ruby/object:Gem::Version
|
197
|
-
version: 0.
|
211
|
+
version: 0.4.2
|
198
212
|
- !ruby/object:Gem::Dependency
|
199
213
|
name: mime-types
|
200
214
|
requirement: !ruby/object:Gem::Requirement
|
201
215
|
requirements:
|
202
216
|
- - '='
|
203
217
|
- !ruby/object:Gem::Version
|
204
|
-
version: 3.
|
218
|
+
version: 3.5.2
|
205
219
|
type: :development
|
206
220
|
prerelease: false
|
207
221
|
version_requirements: !ruby/object:Gem::Requirement
|
208
222
|
requirements:
|
209
223
|
- - '='
|
210
224
|
- !ruby/object:Gem::Version
|
211
|
-
version: 3.
|
225
|
+
version: 3.5.2
|
212
226
|
- !ruby/object:Gem::Dependency
|
213
227
|
name: pry
|
214
228
|
requirement: !ruby/object:Gem::Requirement
|
@@ -229,14 +243,14 @@ dependencies:
|
|
229
243
|
requirements:
|
230
244
|
- - "~>"
|
231
245
|
- !ruby/object:Gem::Version
|
232
|
-
version: 13.0
|
246
|
+
version: 13.1.0
|
233
247
|
type: :development
|
234
248
|
prerelease: false
|
235
249
|
version_requirements: !ruby/object:Gem::Requirement
|
236
250
|
requirements:
|
237
251
|
- - "~>"
|
238
252
|
- !ruby/object:Gem::Version
|
239
|
-
version: 13.0
|
253
|
+
version: 13.1.0
|
240
254
|
- !ruby/object:Gem::Dependency
|
241
255
|
name: rspec
|
242
256
|
requirement: !ruby/object:Gem::Requirement
|
@@ -271,28 +285,28 @@ dependencies:
|
|
271
285
|
requirements:
|
272
286
|
- - "~>"
|
273
287
|
- !ruby/object:Gem::Version
|
274
|
-
version: 1.
|
288
|
+
version: 1.60.2
|
275
289
|
type: :development
|
276
290
|
prerelease: false
|
277
291
|
version_requirements: !ruby/object:Gem::Requirement
|
278
292
|
requirements:
|
279
293
|
- - "~>"
|
280
294
|
- !ruby/object:Gem::Version
|
281
|
-
version: 1.
|
295
|
+
version: 1.60.2
|
282
296
|
- !ruby/object:Gem::Dependency
|
283
297
|
name: rubocop-performance
|
284
298
|
requirement: !ruby/object:Gem::Requirement
|
285
299
|
requirements:
|
286
300
|
- - "~>"
|
287
301
|
- !ruby/object:Gem::Version
|
288
|
-
version: 1.
|
302
|
+
version: 1.20.2
|
289
303
|
type: :development
|
290
304
|
prerelease: false
|
291
305
|
version_requirements: !ruby/object:Gem::Requirement
|
292
306
|
requirements:
|
293
307
|
- - "~>"
|
294
308
|
- !ruby/object:Gem::Version
|
295
|
-
version: 1.
|
309
|
+
version: 1.20.2
|
296
310
|
- !ruby/object:Gem::Dependency
|
297
311
|
name: webmock
|
298
312
|
requirement: !ruby/object:Gem::Requirement
|
@@ -327,34 +341,34 @@ dependencies:
|
|
327
341
|
requirements:
|
328
342
|
- - "~>"
|
329
343
|
- !ruby/object:Gem::Version
|
330
|
-
version:
|
344
|
+
version: 3.0.0
|
331
345
|
type: :development
|
332
346
|
prerelease: false
|
333
347
|
version_requirements: !ruby/object:Gem::Requirement
|
334
348
|
requirements:
|
335
349
|
- - "~>"
|
336
350
|
- !ruby/object:Gem::Version
|
337
|
-
version:
|
351
|
+
version: 3.0.0
|
338
352
|
- !ruby/object:Gem::Dependency
|
339
353
|
name: rack-test
|
340
354
|
requirement: !ruby/object:Gem::Requirement
|
341
355
|
requirements:
|
342
|
-
- - "~>"
|
343
|
-
- !ruby/object:Gem::Version
|
344
|
-
version: 1.1.0
|
345
356
|
- - ">"
|
346
357
|
- !ruby/object:Gem::Version
|
347
358
|
version: '0.7'
|
359
|
+
- - "~>"
|
360
|
+
- !ruby/object:Gem::Version
|
361
|
+
version: 2.1.0
|
348
362
|
type: :development
|
349
363
|
prerelease: false
|
350
364
|
version_requirements: !ruby/object:Gem::Requirement
|
351
365
|
requirements:
|
352
|
-
- - "~>"
|
353
|
-
- !ruby/object:Gem::Version
|
354
|
-
version: 1.1.0
|
355
366
|
- - ">"
|
356
367
|
- !ruby/object:Gem::Version
|
357
368
|
version: '0.7'
|
369
|
+
- - "~>"
|
370
|
+
- !ruby/object:Gem::Version
|
371
|
+
version: 2.1.0
|
358
372
|
description: |2
|
359
373
|
LicenseFinder works with your package managers to find
|
360
374
|
dependencies, detect the licenses of the packages in them, compare
|
@@ -371,6 +385,7 @@ files:
|
|
371
385
|
- ".force-build"
|
372
386
|
- ".github/dependabot.yml"
|
373
387
|
- ".gitignore"
|
388
|
+
- ".pre-commit-hooks.yaml"
|
374
389
|
- ".rspec"
|
375
390
|
- ".rubocop.yml"
|
376
391
|
- CHANGELOG.md
|
@@ -433,12 +448,18 @@ files:
|
|
433
448
|
- lib/license_finder/license/none_matcher.rb
|
434
449
|
- lib/license_finder/license/template.rb
|
435
450
|
- lib/license_finder/license/templates/0BSD.txt
|
451
|
+
- lib/license_finder/license/templates/AGPL3.txt
|
436
452
|
- lib/license_finder/license/templates/Apache1_1.txt
|
437
453
|
- lib/license_finder/license/templates/Apache2.txt
|
454
|
+
- lib/license_finder/license/templates/Artistic.txt
|
438
455
|
- lib/license_finder/license/templates/BSD.txt
|
439
456
|
- lib/license_finder/license/templates/CC01.txt
|
457
|
+
- lib/license_finder/license/templates/CC01_alt.txt
|
440
458
|
- lib/license_finder/license/templates/CDDL1.txt
|
459
|
+
- lib/license_finder/license/templates/CDDL1_1.txt
|
460
|
+
- lib/license_finder/license/templates/CPL1.txt
|
441
461
|
- lib/license_finder/license/templates/EPL1.txt
|
462
|
+
- lib/license_finder/license/templates/EPL2.txt
|
442
463
|
- lib/license_finder/license/templates/GPLv2.txt
|
443
464
|
- lib/license_finder/license/templates/GPLv3.txt
|
444
465
|
- lib/license_finder/license/templates/ISC.txt
|
@@ -452,11 +473,13 @@ files:
|
|
452
473
|
- lib/license_finder/license/templates/Python.txt
|
453
474
|
- lib/license_finder/license/templates/Ruby.txt
|
454
475
|
- lib/license_finder/license/templates/SimplifiedBSD.txt
|
476
|
+
- lib/license_finder/license/templates/Unlicense.txt
|
455
477
|
- lib/license_finder/license/templates/WTFPL.txt
|
456
478
|
- lib/license_finder/license/templates/Zlib.txt
|
457
479
|
- lib/license_finder/license/text.rb
|
458
480
|
- lib/license_finder/license_aggregator.rb
|
459
481
|
- lib/license_finder/logger.rb
|
482
|
+
- lib/license_finder/manual_licenses.rb
|
460
483
|
- lib/license_finder/package.rb
|
461
484
|
- lib/license_finder/package_delta.rb
|
462
485
|
- lib/license_finder/package_manager.rb
|
@@ -485,6 +508,7 @@ files:
|
|
485
508
|
- lib/license_finder/package_managers/nuget.rb
|
486
509
|
- lib/license_finder/package_managers/pip.rb
|
487
510
|
- lib/license_finder/package_managers/pipenv.rb
|
511
|
+
- lib/license_finder/package_managers/pnpm.rb
|
488
512
|
- lib/license_finder/package_managers/pub.rb
|
489
513
|
- lib/license_finder/package_managers/rebar.rb
|
490
514
|
- lib/license_finder/package_managers/sbt.rb
|
@@ -493,6 +517,7 @@ files:
|
|
493
517
|
- lib/license_finder/package_managers/yarn.rb
|
494
518
|
- lib/license_finder/package_utils/activation.rb
|
495
519
|
- lib/license_finder/package_utils/conan_info_parser.rb
|
520
|
+
- lib/license_finder/package_utils/conan_info_parser_v2.rb
|
496
521
|
- lib/license_finder/package_utils/gradle_dependency_finder.rb
|
497
522
|
- lib/license_finder/package_utils/license_files.rb
|
498
523
|
- lib/license_finder/package_utils/licensing.rb
|
@@ -519,6 +544,7 @@ files:
|
|
519
544
|
- lib/license_finder/packages/npm_package.rb
|
520
545
|
- lib/license_finder/packages/nuget_package.rb
|
521
546
|
- lib/license_finder/packages/pip_package.rb
|
547
|
+
- lib/license_finder/packages/pnpm_package.rb
|
522
548
|
- lib/license_finder/packages/pubspec_package.rb
|
523
549
|
- lib/license_finder/packages/rebar_package.rb
|
524
550
|
- lib/license_finder/packages/sbt_package.rb
|
@@ -562,14 +588,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
562
588
|
requirements:
|
563
589
|
- - ">="
|
564
590
|
- !ruby/object:Gem::Version
|
565
|
-
version: 2.
|
591
|
+
version: 2.6.0
|
566
592
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
567
593
|
requirements:
|
568
594
|
- - ">="
|
569
595
|
- !ruby/object:Gem::Version
|
570
596
|
version: '0'
|
571
597
|
requirements: []
|
572
|
-
rubygems_version: 3.
|
598
|
+
rubygems_version: 3.5.10
|
573
599
|
signing_key:
|
574
600
|
specification_version: 4
|
575
601
|
summary: Audit the OSS licenses of your application's dependencies.
|