licensee 9.15.1 → 9.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/licensee/commands/detect.rb +1 -1
- data/lib/licensee/commands/diff.rb +2 -4
- data/lib/licensee/content_helper.rb +3 -3
- data/lib/licensee/license.rb +4 -5
- data/lib/licensee/matchers/copyright.rb +3 -1
- data/lib/licensee/matchers/dice.rb +5 -7
- data/lib/licensee/matchers/dist_zilla.rb +1 -0
- data/lib/licensee/project_files/license_file.rb +5 -7
- data/lib/licensee/projects/git_project.rb +5 -7
- data/lib/licensee/projects/github_project.rb +1 -1
- data/lib/licensee/projects/project.rb +13 -19
- data/lib/licensee/version.rb +1 -1
- data/lib/licensee.rb +6 -3
- data/licensee.gemspec +3 -2
- data/spec/fixtures/detect.json +2 -2
- data/spec/fixtures/license-hashes.json +7 -2
- data/spec/licensee/commands/detect_spec.rb +2 -2
- data/spec/licensee/content_helper_spec.rb +1 -1
- data/spec/licensee/license_meta_spec.rb +3 -3
- data/spec/licensee/license_spec.rb +8 -3
- data/spec/licensee/matchers/copyright_matcher_spec.rb +12 -3
- data/spec/licensee/matchers/dice_matcher_spec.rb +3 -3
- data/spec/licensee/project_files/license_file_spec.rb +1 -1
- data/spec/licensee/project_files/package_info_spec.rb +2 -2
- data/spec/licensee/project_spec.rb +3 -2
- data/spec/licensee_spec.rb +8 -2
- data/spec/vendored_license_spec.rb +0 -2
- data/vendor/choosealicense.com/_licenses/0bsd.txt +4 -2
- data/vendor/choosealicense.com/_licenses/afl-3.0.txt +12 -12
- data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +3 -0
- data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +0 -1
- data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +2 -3
- data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +1 -0
- data/vendor/choosealicense.com/_licenses/cern-ohl-p-2.0.txt +216 -0
- data/vendor/choosealicense.com/_licenses/cern-ohl-s-2.0.txt +299 -0
- data/vendor/choosealicense.com/_licenses/cern-ohl-w-2.0.txt +321 -0
- data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +1 -1
- data/vendor/choosealicense.com/_licenses/gfdl-1.3.txt +483 -0
- data/vendor/choosealicense.com/_licenses/isc.txt +8 -8
- data/vendor/choosealicense.com/_licenses/mit.txt +1 -1
- data/vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt +225 -0
- data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
- data/vendor/choosealicense.com/_licenses/upl-1.0.txt +1 -1
- data/vendor/license-list-XML/src/0BSD.xml +5 -1
- data/vendor/license-list-XML/src/AGPL-3.0.xml +4 -4
- data/vendor/license-list-XML/src/Apache-2.0.xml +1 -1
- data/vendor/license-list-XML/src/BSD-2-Clause.xml +1 -1
- data/vendor/license-list-XML/src/BSD-3-Clause.xml +4 -2
- data/vendor/license-list-XML/src/BSD-4-Clause.xml +3 -3
- data/vendor/license-list-XML/src/CC-BY-4.0.xml +13 -11
- data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +13 -11
- data/vendor/license-list-XML/src/CERN-OHL-P-2.0.xml +90 -0
- data/vendor/license-list-XML/src/CERN-OHL-S-2.0.xml +109 -0
- data/vendor/license-list-XML/src/CERN-OHL-W-2.0.xml +116 -0
- data/vendor/license-list-XML/src/GFDL-1.3.xml +594 -0
- data/vendor/license-list-XML/src/GPL-3.0.xml +5 -5
- data/vendor/license-list-XML/src/ISC.xml +7 -5
- data/vendor/license-list-XML/src/LGPL-3.0.xml +829 -2
- data/vendor/license-list-XML/src/MPL-2.0.xml +67 -30
- data/vendor/license-list-XML/src/MulanPSL-2.0.xml +167 -0
- metadata +33 -10
@@ -2,7 +2,7 @@
|
|
2
2
|
<SPDXLicenseCollection xmlns="http://www.spdx.org/license">
|
3
3
|
<license isOsiApproved="true" licenseId="MPL-2.0" name="Mozilla Public License 2.0">
|
4
4
|
<crossRefs>
|
5
|
-
<crossRef>
|
5
|
+
<crossRef>https://www.mozilla.org/MPL/2.0/</crossRef>
|
6
6
|
<crossRef>https://opensource.org/licenses/MPL-2.0</crossRef>
|
7
7
|
</crossRefs>
|
8
8
|
<notes>This license was released in January 2012. This license list entry is for use when the standard MPL 2.0 is
|
@@ -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
|
-
|
18
|
-
|
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
|
-
|
120
|
-
|
121
|
-
|
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
|
-
|
211
|
-
|
212
|
-
|
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
|
-
|
286
|
-
|
287
|
-
|
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
|
-
|
300
|
-
|
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
|
-
|
332
|
-
|
333
|
-
|
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
|
-
|
347
|
-
|
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
|
-
|
362
|
-
|
363
|
-
|
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
|
-
|
372
|
-
|
373
|
-
|
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
|
-
|
382
|
-
|
383
|
-
|
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
|
-
<
|
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>
|
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>
|
@@ -0,0 +1,167 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<SPDXLicenseCollection xmlns="http://www.spdx.org/license">
|
3
|
+
<license isOsiApproved="true" licenseId="MulanPSL-2.0" name="Mulan Permissive Software License, Version 2" listVersionAdded="3.9">
|
4
|
+
<crossRefs>
|
5
|
+
<crossRef>https://license.coscl.org.cn/MulanPSL2/</crossRef>
|
6
|
+
</crossRefs>
|
7
|
+
<notes>Both the Chinese and English translations of this license have been included in the markup, because current examples of use appear to include both translations in license documents.</notes>
|
8
|
+
<text>
|
9
|
+
<titleText><p>木兰宽松许可证, 第2版</p></titleText>
|
10
|
+
|
11
|
+
<titleText><p>木兰宽松许可证, 第2版</p>
|
12
|
+
|
13
|
+
<p>2020年1月 http://license.coscl.org.cn/MulanPSL2</p></titleText>
|
14
|
+
|
15
|
+
<p>您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:</p>
|
16
|
+
|
17
|
+
<list>
|
18
|
+
<item>
|
19
|
+
<bullet>0.</bullet> 定义
|
20
|
+
<p>“软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。</p>
|
21
|
+
<p>“贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。</p>
|
22
|
+
<p>“贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。</p>
|
23
|
+
<p>“法人实体” 是指提交贡献的机构及其“关联实体”。</p>
|
24
|
+
<p>“关联实体” 是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。</p>
|
25
|
+
</item>
|
26
|
+
|
27
|
+
<item>
|
28
|
+
<bullet>1.</bullet> 授予版权许可
|
29
|
+
<p>每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可以复制、使用、修改、分发其“贡献”,不论修改与否。</p>
|
30
|
+
</item>
|
31
|
+
|
32
|
+
<item>
|
33
|
+
<bullet>2.</bullet> 授予专利许可
|
34
|
+
<p>每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。</p>
|
35
|
+
</item>
|
36
|
+
|
37
|
+
<item>
|
38
|
+
<bullet>3.</bullet> 无商标许可
|
39
|
+
<p>“本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定的声明义务而必须使用除外。</p>
|
40
|
+
</item>
|
41
|
+
|
42
|
+
<item>
|
43
|
+
<bullet>4.</bullet> 分发限制
|
44
|
+
<p>您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。</p>
|
45
|
+
</item>
|
46
|
+
|
47
|
+
<item>
|
48
|
+
<bullet>5.</bullet> 免责声明与责任限制
|
49
|
+
<p>“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。</p>
|
50
|
+
</item>
|
51
|
+
|
52
|
+
<item>
|
53
|
+
<bullet>6.</bullet> 语言
|
54
|
+
<p>“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文版为准。</p>
|
55
|
+
</item>
|
56
|
+
</list>
|
57
|
+
|
58
|
+
<p>条款结束</p>
|
59
|
+
|
60
|
+
<p>如何将木兰宽松许可证,第2版,应用到您的软件</p>
|
61
|
+
|
62
|
+
<p>如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:</p>
|
63
|
+
|
64
|
+
<list>
|
65
|
+
<item><bullet>1,</bullet> 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;</item>
|
66
|
+
|
67
|
+
<item><bullet>2,</bullet> 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;</item>
|
68
|
+
|
69
|
+
<item><bullet>3,</bullet> 请将如下声明文本放入每个源文件的头部注释中。</item>
|
70
|
+
</list>
|
71
|
+
|
72
|
+
<standardLicenseHeader>
|
73
|
+
<p>Copyright (c) [Year] [name of copyright holder]</p>
|
74
|
+
<p>[Software Name] is licensed under Mulan PSL v2.</p>
|
75
|
+
<p>You can use this software according to the terms and conditions of the Mulan PSL v2.</p>
|
76
|
+
<p>You may obtain a copy of Mulan PSL v2 at:</p>
|
77
|
+
<p>http://license.coscl.org.cn/MulanPSL2</p>
|
78
|
+
<p>THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,</p>
|
79
|
+
<p>EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,</p>
|
80
|
+
<p>MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.</p>
|
81
|
+
<p>See the Mulan PSL v2 for more details.</p>
|
82
|
+
</standardLicenseHeader>
|
83
|
+
|
84
|
+
<titleText><p>Mulan Permissive Software License,Version 2</p></titleText>
|
85
|
+
|
86
|
+
<titleText><p>Mulan Permissive Software License,Version 2 (Mulan PSL v2)</p>
|
87
|
+
|
88
|
+
<p>January 2020 http://license.coscl.org.cn/MulanPSL2</p></titleText>
|
89
|
+
|
90
|
+
<p>Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions:</p>
|
91
|
+
|
92
|
+
<list>
|
93
|
+
<item>
|
94
|
+
<bullet>0.</bullet> Definition
|
95
|
+
|
96
|
+
<p>Software means the program and related documents which are licensed under this License and comprise all Contribution(s).</p>
|
97
|
+
|
98
|
+
<p>Contribution means the copyrightable work licensed by a particular Contributor under this License.</p>
|
99
|
+
|
100
|
+
<p>Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License.</p>
|
101
|
+
|
102
|
+
<p>Legal Entity means the entity making a Contribution and all its Affiliates.</p>
|
103
|
+
|
104
|
+
<p>Affiliates means entities that control, are controlled by, or are under common control with the acting entity under this License, ‘control’ means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity.</p>
|
105
|
+
</item>
|
106
|
+
|
107
|
+
<item>
|
108
|
+
<bullet>1.</bullet> Grant of Copyright License
|
109
|
+
|
110
|
+
<p>Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not.</p>
|
111
|
+
</item>
|
112
|
+
|
113
|
+
<item>
|
114
|
+
<bullet>2.</bullet> Grant of Patent License
|
115
|
+
|
116
|
+
<p>Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution, where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed. The patent license shall not apply to any modification of the Contribution, and any other combination which includes the Contribution. If you or your Affiliates directly or indirectly institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken.</p>
|
117
|
+
</item>
|
118
|
+
|
119
|
+
<item>
|
120
|
+
<bullet>3.</bullet> No Trademark License
|
121
|
+
|
122
|
+
<p>No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in section 4.</p>
|
123
|
+
</item>
|
124
|
+
|
125
|
+
<item>
|
126
|
+
<bullet>4.</bullet> Distribution Restriction
|
127
|
+
|
128
|
+
<p>You may distribute the Software in any medium with or without modification, whether in source or executable forms, provided that you provide recipients with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software.</p>
|
129
|
+
</item>
|
130
|
+
|
131
|
+
<item>
|
132
|
+
<bullet>5.</bullet> Disclaimer of Warranty and Limitation of Liability
|
133
|
+
|
134
|
+
<p>THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
|
135
|
+
</item>
|
136
|
+
|
137
|
+
<item>
|
138
|
+
<bullet>6.</bullet> Language
|
139
|
+
|
140
|
+
<p>THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL.</p>
|
141
|
+
</item>
|
142
|
+
</list>
|
143
|
+
|
144
|
+
<p>END OF THE TERMS AND CONDITIONS</p>
|
145
|
+
|
146
|
+
<p>How to Apply the Mulan Permissive Software License,Version 2 (Mulan PSL v2) to Your Software</p>
|
147
|
+
|
148
|
+
<p>To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps:</p>
|
149
|
+
|
150
|
+
<list>
|
151
|
+
<item><bullet>i.</bullet> Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;</item>
|
152
|
+
<item><bullet>ii.</bullet> Create a file named "LICENSE" which contains the whole context of this License in the first directory of your software package;</item>
|
153
|
+
<item><bullet>iii.</bullet> Attach the statement to the appropriate annotated syntax at the beginning of each source file.</item>
|
154
|
+
</list>
|
155
|
+
|
156
|
+
<p>Copyright (c) [Year] [name of copyright holder]</p>
|
157
|
+
<p>[Software Name] is licensed under Mulan PSL v2.</p>
|
158
|
+
<p>You can use this software according to the terms and conditions of the Mulan PSL v2.</p>
|
159
|
+
<p>You may obtain a copy of Mulan PSL v2 at:</p>
|
160
|
+
<p>http://license.coscl.org.cn/MulanPSL2</p>
|
161
|
+
<p>THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,</p>
|
162
|
+
<p>EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,</p>
|
163
|
+
<p>MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.</p>
|
164
|
+
<p>See the Mulan PSL v2 for more details.</p>
|
165
|
+
</text>
|
166
|
+
</license>
|
167
|
+
</SPDXLicenseCollection>
|
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.
|
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:
|
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
|
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
|
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
|
@@ -401,6 +417,7 @@ files:
|
|
401
417
|
- vendor/choosealicense.com/_licenses/mpl-2.0.txt
|
402
418
|
- vendor/choosealicense.com/_licenses/ms-pl.txt
|
403
419
|
- vendor/choosealicense.com/_licenses/ms-rl.txt
|
420
|
+
- vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt
|
404
421
|
- vendor/choosealicense.com/_licenses/ncsa.txt
|
405
422
|
- vendor/choosealicense.com/_licenses/odbl-1.0.txt
|
406
423
|
- vendor/choosealicense.com/_licenses/ofl-1.1.txt
|
@@ -425,11 +442,15 @@ files:
|
|
425
442
|
- vendor/license-list-XML/src/CC-BY-SA-4.0.xml
|
426
443
|
- vendor/license-list-XML/src/CC0-1.0.xml
|
427
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
|
428
448
|
- vendor/license-list-XML/src/ECL-2.0.xml
|
429
449
|
- vendor/license-list-XML/src/EPL-1.0.xml
|
430
450
|
- vendor/license-list-XML/src/EPL-2.0.xml
|
431
451
|
- vendor/license-list-XML/src/EUPL-1.1.xml
|
432
452
|
- vendor/license-list-XML/src/EUPL-1.2.xml
|
453
|
+
- vendor/license-list-XML/src/GFDL-1.3.xml
|
433
454
|
- vendor/license-list-XML/src/GPL-2.0.xml
|
434
455
|
- vendor/license-list-XML/src/GPL-3.0.xml
|
435
456
|
- vendor/license-list-XML/src/ISC.xml
|
@@ -441,6 +462,7 @@ files:
|
|
441
462
|
- vendor/license-list-XML/src/MPL-2.0.xml
|
442
463
|
- vendor/license-list-XML/src/MS-PL.xml
|
443
464
|
- vendor/license-list-XML/src/MS-RL.xml
|
465
|
+
- vendor/license-list-XML/src/MulanPSL-2.0.xml
|
444
466
|
- vendor/license-list-XML/src/NCSA.xml
|
445
467
|
- vendor/license-list-XML/src/ODbL-1.0.xml
|
446
468
|
- vendor/license-list-XML/src/OFL-1.1.xml
|
@@ -454,7 +476,8 @@ files:
|
|
454
476
|
homepage: https://github.com/benbalter/licensee
|
455
477
|
licenses:
|
456
478
|
- MIT
|
457
|
-
metadata:
|
479
|
+
metadata:
|
480
|
+
rubygems_mfa_required: 'true'
|
458
481
|
post_install_message:
|
459
482
|
rdoc_options: []
|
460
483
|
require_paths:
|
@@ -470,7 +493,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
470
493
|
- !ruby/object:Gem::Version
|
471
494
|
version: '0'
|
472
495
|
requirements: []
|
473
|
-
rubygems_version: 3.
|
496
|
+
rubygems_version: 3.3.7
|
474
497
|
signing_key:
|
475
498
|
specification_version: 4
|
476
499
|
summary: A Ruby Gem to detect open source project licenses
|