license_finder 6.14.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +9 -0
  3. data/.rubocop.yml +12 -2
  4. data/CHANGELOG.md +45 -0
  5. data/Dockerfile +26 -5
  6. data/README.md +6 -6
  7. data/Rakefile +2 -2
  8. data/VERSION +1 -1
  9. data/bin/license_finder_pip.py +9 -7
  10. data/ci/pipelines/release.yml.erb +1 -1
  11. data/ci/scripts/pushscript.sh +2 -3
  12. data/ci/scripts/run-tests.sh +4 -3
  13. data/ci/tasks/rubocop.yml +1 -1
  14. data/dlf +9 -5
  15. data/lib/license_finder/cli/approvals.rb +2 -2
  16. data/lib/license_finder/cli/base.rb +9 -5
  17. data/lib/license_finder/cli/dependencies.rb +4 -4
  18. data/lib/license_finder/cli/ignored_dependencies.rb +3 -3
  19. data/lib/license_finder/cli/ignored_groups.rb +3 -3
  20. data/lib/license_finder/cli/inherited_decisions.rb +5 -5
  21. data/lib/license_finder/cli/licenses.rb +2 -2
  22. data/lib/license_finder/cli/main.rb +17 -11
  23. data/lib/license_finder/cli/permitted_licenses.rb +3 -3
  24. data/lib/license_finder/cli/project_name.rb +4 -4
  25. data/lib/license_finder/cli/restricted_licenses.rb +3 -3
  26. data/lib/license_finder/configuration.rb +6 -3
  27. data/lib/license_finder/core.rb +2 -1
  28. data/lib/license_finder/decisions.rb +9 -5
  29. data/lib/license_finder/license/definitions.rb +35 -1
  30. data/lib/license_finder/license/templates/Zlib.txt +17 -0
  31. data/lib/license_finder/license/text.rb +5 -3
  32. data/lib/license_finder/license.rb +8 -2
  33. data/lib/license_finder/logger.rb +1 -1
  34. data/lib/license_finder/package.rb +3 -11
  35. data/lib/license_finder/package_delta.rb +1 -1
  36. data/lib/license_finder/package_manager.rb +1 -0
  37. data/lib/license_finder/package_managers/cocoa_pods.rb +14 -7
  38. data/lib/license_finder/package_managers/conan.rb +2 -2
  39. data/lib/license_finder/package_managers/conda.rb +1 -1
  40. data/lib/license_finder/package_managers/glide.rb +7 -1
  41. data/lib/license_finder/package_managers/go_15vendorexperiment.rb +2 -2
  42. data/lib/license_finder/package_managers/go_dep.rb +1 -1
  43. data/lib/license_finder/package_managers/go_workspace.rb +1 -1
  44. data/lib/license_finder/package_managers/nuget.rb +1 -1
  45. data/lib/license_finder/package_managers/pub.rb +86 -0
  46. data/lib/license_finder/package_managers/sbt.rb +1 -5
  47. data/lib/license_finder/package_managers/yarn.rb +34 -6
  48. data/lib/license_finder/package_utils/license_files.rb +2 -2
  49. data/lib/license_finder/packages/bower_package.rb +5 -2
  50. data/lib/license_finder/packages/erlangmk_package.rb +2 -4
  51. data/lib/license_finder/packages/npm_package.rb +1 -0
  52. data/lib/license_finder/packages/pubspec_package.rb +18 -0
  53. data/lib/license_finder/printer.rb +39 -0
  54. data/lib/license_finder/report.rb +2 -1
  55. data/lib/license_finder/reports/csv_report.rb +1 -1
  56. data/lib/license_finder/reports/erb_report.rb +7 -3
  57. data/lib/license_finder/reports/json_report.rb +2 -1
  58. data/lib/license_finder/reports/junit_report.rb +5 -1
  59. data/lib/license_finder/reports/xml_report.rb +5 -1
  60. data/lib/license_finder/scanner.rb +1 -1
  61. data/license_finder.gemspec +16 -14
  62. metadata +61 -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: 6.14.1
4
+ version: 7.0.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: 2021-06-25 00:00:00.000000000 Z
30
+ date: 2022-03-04 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.0.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.0.1
79
+ version: '1.2'
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: tomlrb
82
82
  requirement: !ruby/object:Gem::Requirement
@@ -117,98 +117,126 @@ dependencies:
117
117
  requirements:
118
118
  - - "~>"
119
119
  - !ruby/object:Gem::Version
120
- version: 1.1.5
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.5
127
+ version: 1.1.9
128
128
  - !ruby/object:Gem::Dependency
129
129
  name: addressable
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - '='
133
133
  - !ruby/object:Gem::Version
134
- version: 2.7.0
134
+ version: 2.8.0
135
135
  type: :development
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - '='
140
140
  - !ruby/object:Gem::Version
141
- version: 2.7.0
141
+ version: 2.8.0
142
142
  - !ruby/object:Gem::Dependency
143
143
  name: capybara
144
144
  requirement: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
- version: 3.15.0
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.15.0
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.2.0
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.2.0
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.3.1
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.3.1
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.0
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.0
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.1
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.1
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: 0.81.0
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: 0.81.0
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.5.0
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.5.0
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.5'
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.5'
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.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.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"
@@ -424,6 +453,7 @@ files:
424
453
  - lib/license_finder/license/templates/Ruby.txt
425
454
  - lib/license_finder/license/templates/SimplifiedBSD.txt
426
455
  - lib/license_finder/license/templates/WTFPL.txt
456
+ - lib/license_finder/license/templates/Zlib.txt
427
457
  - lib/license_finder/license/text.rb
428
458
  - lib/license_finder/license_aggregator.rb
429
459
  - lib/license_finder/logger.rb
@@ -455,6 +485,7 @@ files:
455
485
  - lib/license_finder/package_managers/nuget.rb
456
486
  - lib/license_finder/package_managers/pip.rb
457
487
  - lib/license_finder/package_managers/pipenv.rb
488
+ - lib/license_finder/package_managers/pub.rb
458
489
  - lib/license_finder/package_managers/rebar.rb
459
490
  - lib/license_finder/package_managers/sbt.rb
460
491
  - lib/license_finder/package_managers/spm.rb
@@ -488,11 +519,13 @@ files:
488
519
  - lib/license_finder/packages/npm_package.rb
489
520
  - lib/license_finder/packages/nuget_package.rb
490
521
  - lib/license_finder/packages/pip_package.rb
522
+ - lib/license_finder/packages/pubspec_package.rb
491
523
  - lib/license_finder/packages/rebar_package.rb
492
524
  - lib/license_finder/packages/sbt_package.rb
493
525
  - lib/license_finder/packages/spm_package.rb
494
526
  - lib/license_finder/packages/yarn_package.rb
495
527
  - lib/license_finder/platform.rb
528
+ - lib/license_finder/printer.rb
496
529
  - lib/license_finder/project_finder.rb
497
530
  - lib/license_finder/report.rb
498
531
  - lib/license_finder/reports/csv_report.rb
@@ -529,14 +562,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
529
562
  requirements:
530
563
  - - ">="
531
564
  - !ruby/object:Gem::Version
532
- version: 2.3.3
565
+ version: 2.4.0
533
566
  required_rubygems_version: !ruby/object:Gem::Requirement
534
567
  requirements:
535
568
  - - ">="
536
569
  - !ruby/object:Gem::Version
537
570
  version: '0'
538
571
  requirements: []
539
- rubygems_version: 3.2.21
572
+ rubygems_version: 3.3.8
540
573
  signing_key:
541
574
  specification_version: 4
542
575
  summary: Audit the OSS licenses of your application's dependencies.