licensee 9.15.2 → 9.15.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/licensee/license.rb +1 -1
  3. data/lib/licensee/matchers/copyright.rb +3 -1
  4. data/lib/licensee/matchers/dist_zilla.rb +1 -0
  5. data/lib/licensee/projects/github_project.rb +1 -1
  6. data/lib/licensee/version.rb +1 -1
  7. data/licensee.gemspec +2 -2
  8. data/spec/fixtures/detect.json +2 -2
  9. data/spec/fixtures/license-hashes.json +4 -0
  10. data/spec/licensee/commands/detect_spec.rb +2 -2
  11. data/spec/licensee/license_meta_spec.rb +3 -3
  12. data/spec/licensee/license_spec.rb +7 -2
  13. data/spec/licensee/matchers/copyright_matcher_spec.rb +12 -3
  14. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
  15. data/spec/licensee_spec.rb +1 -1
  16. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +3 -0
  17. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  18. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +0 -1
  19. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +0 -1
  20. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  21. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +1 -0
  22. data/vendor/choosealicense.com/_licenses/cern-ohl-p-2.0.txt +216 -0
  23. data/vendor/choosealicense.com/_licenses/cern-ohl-s-2.0.txt +299 -0
  24. data/vendor/choosealicense.com/_licenses/cern-ohl-w-2.0.txt +321 -0
  25. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +1 -1
  26. data/vendor/choosealicense.com/_licenses/gfdl-1.3.txt +483 -0
  27. data/vendor/choosealicense.com/_licenses/mit.txt +1 -1
  28. data/vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt +55 -56
  29. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  30. data/vendor/license-list-XML/src/BSD-3-Clause.xml +3 -1
  31. data/vendor/license-list-XML/src/BSD-4-Clause.xml +3 -3
  32. data/vendor/license-list-XML/src/CERN-OHL-P-2.0.xml +90 -0
  33. data/vendor/license-list-XML/src/CERN-OHL-S-2.0.xml +109 -0
  34. data/vendor/license-list-XML/src/CERN-OHL-W-2.0.xml +116 -0
  35. data/vendor/license-list-XML/src/GFDL-1.3.xml +594 -0
  36. data/vendor/license-list-XML/src/LGPL-3.0.xml +828 -1
  37. data/vendor/license-list-XML/src/MPL-2.0.xml +66 -29
  38. metadata +29 -9
@@ -10,12 +10,16 @@
10
10
  <text>
11
11
  <titleText>
12
12
  <p>Mozilla Public License Version 2.0</p>
13
+ <optional><p>==================================</p></optional>
13
14
  </titleText>
14
15
 
15
16
  <list>
16
17
  <item>
17
- <bullet>1.</bullet>
18
- Definitions
18
+ <p>
19
+ <bullet>1.</bullet>
20
+ Definitions
21
+ </p>
22
+ <optional><p>--------------</p></optional>
19
23
  <list>
20
24
  <item>
21
25
  <bullet>1.1.</bullet>
@@ -116,9 +120,12 @@
116
120
  </item>
117
121
  </list>
118
122
  </item>
119
- <item>
120
- <bullet>2.</bullet>
121
- License Grants and Conditions
123
+ <item>
124
+ <p>
125
+ <bullet>2.</bullet>
126
+ License Grants and Conditions
127
+ </p>
128
+ <optional><p>--------------------------------</p></optional>
122
129
  <list>
123
130
  <item>
124
131
  <bullet>2.1.</bullet>
@@ -207,9 +214,12 @@
207
214
  </item>
208
215
  </list>
209
216
  </item>
210
- <item>
211
- <bullet>3.</bullet>
212
- Responsibilities
217
+ <item>
218
+ <p>
219
+ <bullet>3.</bullet>
220
+ Responsibilities
221
+ </p>
222
+ <optional><p>-------------------</p></optional>
213
223
  <list>
214
224
  <item>
215
225
  <bullet>3.1.</bullet>
@@ -282,9 +292,12 @@
282
292
  </item>
283
293
  </list>
284
294
  </item>
285
- <item>
286
- <bullet>4.</bullet>
287
- Inability to Comply Due to Statute or Regulation
295
+ <item>
296
+ <p>
297
+ <bullet>4.</bullet>
298
+ Inability to Comply Due to Statute or Regulation
299
+ </p>
300
+ <optional><p>---------------------------------------------------</p></optional>
288
301
  <p>If it is impossible for You to comply with any of the terms of this License with respect to
289
302
  some or all of the Covered Software due to statute, judicial order, or regulation then
290
303
  You must: (a) comply with the terms of this License to the maximum extent possible;
@@ -296,8 +309,11 @@
296
309
  </p>
297
310
  </item>
298
311
  <item>
299
- <bullet>5.</bullet>
300
- Termination
312
+ <p>
313
+ <bullet>5.</bullet>
314
+ Termination
315
+ </p>
316
+ <optional><p>--------------</p></optional>
301
317
  <list>
302
318
  <item>
303
319
  <bullet>5.1.</bullet>
@@ -328,9 +344,13 @@
328
344
  </item>
329
345
  </list>
330
346
  </item>
331
- <item>
332
- <bullet>6.</bullet>
333
- Disclaimer of Warranty
347
+ <item>
348
+ <optional><p>************************************************************************</p></optional>
349
+ <p>
350
+ <bullet>6.</bullet>
351
+ Disclaimer of Warranty
352
+ </p>
353
+ <optional><p>* ------------------------- *</p></optional>
334
354
  <p>Covered Software is provided under this License on an "as is" basis, without
335
355
  warranty of any kind, either expressed, implied, or statutory, including, without
336
356
  limitation, warranties that the Covered Software is free of defects, merchantable, fit
@@ -341,10 +361,15 @@
341
361
  part of this License. No use of any Covered Software is authorized under this License
342
362
  except under this disclaimer.
343
363
  </p>
364
+ <optional><p>************************************************************************</p></optional>
344
365
  </item>
345
366
  <item>
346
- <bullet>7.</bullet>
347
- Limitation of Liability
367
+ <optional><p>************************************************************************</p></optional>
368
+ <p>
369
+ <bullet>7.</bullet>
370
+ Limitation of Liability
371
+ </p>
372
+ <optional><p>* -------------------------- *</p></optional>
348
373
  <p>Under no circumstances and under no legal theory, whether tort (including negligence),
349
374
  contract, or otherwise, shall any Contributor, or anyone who distributes Covered
350
375
  Software as permitted above, be liable to You for any direct, indirect, special,
@@ -357,10 +382,14 @@
357
382
  Some jurisdictions do not allow the exclusion or limitation of incidental or
358
383
  consequential damages, so this exclusion and limitation may not apply to You.
359
384
  </p>
385
+ <optional><p>************************************************************************</p></optional>
360
386
  </item>
361
- <item>
362
- <bullet>8.</bullet>
363
- Litigation
387
+ <item>
388
+ <p>
389
+ <bullet>8.</bullet>
390
+ Litigation
391
+ </p>
392
+ <optional><p>-------------</p></optional>
364
393
  <p>Any litigation relating to this License may be brought only in the courts of a jurisdiction
365
394
  where the defendant maintains its principal place of business and such litigation
366
395
  shall be governed by laws of that jurisdiction, without reference to its
@@ -368,9 +397,12 @@
368
397
  ability to bring cross-claims or counter-claims.
369
398
  </p>
370
399
  </item>
371
- <item>
372
- <bullet>9.</bullet>
373
- Miscellaneous
400
+ <item>
401
+ <p>
402
+ <bullet>9.</bullet>
403
+ Miscellaneous
404
+ </p>
405
+ <optional><p>----------------</p></optional>
374
406
  <p>This License represents the complete agreement concerning the subject matter hereof. If any
375
407
  provision of this License is held to be unenforceable, such provision shall be
376
408
  reformed only to the extent necessary to make it enforceable. Any law or regulation
@@ -378,9 +410,12 @@
378
410
  shall not be used to construe this License against a Contributor.
379
411
  </p>
380
412
  </item>
381
- <item>
382
- <bullet>10.</bullet>
383
- Versions of the License
413
+ <item>
414
+ <p>
415
+ <bullet>10.</bullet>
416
+ Versions of the License
417
+ </p>
418
+ <optional><p>---------------------------</p></optional>
384
419
  <list>
385
420
  <item>
386
421
  <bullet>10.1.</bullet>
@@ -421,7 +456,8 @@
421
456
 
422
457
  <optional>
423
458
  <p>Exhibit A - Source Code Form License Notice</p>
424
- <standardLicenseHeader>
459
+ <optional><p>-------------------------------------------</p></optional>
460
+ <standardLicenseHeader>
425
461
  <p>This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL
426
462
  was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.</p>
427
463
  </standardLicenseHeader>
@@ -430,7 +466,8 @@
430
466
  likely to look for such a notice.</p>
431
467
  <p>You may add additional accurate notices of copyright ownership.</p>
432
468
  <p>Exhibit B - "Incompatible With Secondary Licenses" Notice</p>
433
- <p>This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla
469
+ <optional><p>---------------------------------------------------------</p></optional>
470
+ <p>This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla
434
471
  Public License, v. 2.0.</p>
435
472
  </optional>
436
473
  </text>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: licensee
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.15.2
4
+ version: 9.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -28,30 +28,42 @@ dependencies:
28
28
  name: octokit
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.20'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '7.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '4.20'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '7.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: reverse_markdown
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - "~>"
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
- version: '1.0'
53
+ version: '1'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '3'
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
- - - "~>"
61
+ - - ">="
53
62
  - !ruby/object:Gem::Version
54
- version: '1.0'
63
+ version: '1'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '3'
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: rugged
57
69
  requirement: !ruby/object:Gem::Requirement
@@ -385,11 +397,15 @@ files:
385
397
  - vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt
386
398
  - vendor/choosealicense.com/_licenses/cc0-1.0.txt
387
399
  - vendor/choosealicense.com/_licenses/cecill-2.1.txt
400
+ - vendor/choosealicense.com/_licenses/cern-ohl-p-2.0.txt
401
+ - vendor/choosealicense.com/_licenses/cern-ohl-s-2.0.txt
402
+ - vendor/choosealicense.com/_licenses/cern-ohl-w-2.0.txt
388
403
  - vendor/choosealicense.com/_licenses/ecl-2.0.txt
389
404
  - vendor/choosealicense.com/_licenses/epl-1.0.txt
390
405
  - vendor/choosealicense.com/_licenses/epl-2.0.txt
391
406
  - vendor/choosealicense.com/_licenses/eupl-1.1.txt
392
407
  - vendor/choosealicense.com/_licenses/eupl-1.2.txt
408
+ - vendor/choosealicense.com/_licenses/gfdl-1.3.txt
393
409
  - vendor/choosealicense.com/_licenses/gpl-2.0.txt
394
410
  - vendor/choosealicense.com/_licenses/gpl-3.0.txt
395
411
  - vendor/choosealicense.com/_licenses/isc.txt
@@ -426,11 +442,15 @@ files:
426
442
  - vendor/license-list-XML/src/CC-BY-SA-4.0.xml
427
443
  - vendor/license-list-XML/src/CC0-1.0.xml
428
444
  - vendor/license-list-XML/src/CECILL-2.1.xml
445
+ - vendor/license-list-XML/src/CERN-OHL-P-2.0.xml
446
+ - vendor/license-list-XML/src/CERN-OHL-S-2.0.xml
447
+ - vendor/license-list-XML/src/CERN-OHL-W-2.0.xml
429
448
  - vendor/license-list-XML/src/ECL-2.0.xml
430
449
  - vendor/license-list-XML/src/EPL-1.0.xml
431
450
  - vendor/license-list-XML/src/EPL-2.0.xml
432
451
  - vendor/license-list-XML/src/EUPL-1.1.xml
433
452
  - vendor/license-list-XML/src/EUPL-1.2.xml
453
+ - vendor/license-list-XML/src/GFDL-1.3.xml
434
454
  - vendor/license-list-XML/src/GPL-2.0.xml
435
455
  - vendor/license-list-XML/src/GPL-3.0.xml
436
456
  - vendor/license-list-XML/src/ISC.xml
@@ -473,7 +493,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
473
493
  - !ruby/object:Gem::Version
474
494
  version: '0'
475
495
  requirements: []
476
- rubygems_version: 3.2.22
496
+ rubygems_version: 3.3.7
477
497
  signing_key:
478
498
  specification_version: 4
479
499
  summary: A Ruby Gem to detect open source project licenses