licensee 9.13.0 → 9.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +2 -2
  4. data/lib/licensee.rb +4 -4
  5. data/lib/licensee/commands/detect.rb +3 -5
  6. data/lib/licensee/commands/diff.rb +3 -5
  7. data/lib/licensee/content_helper.rb +41 -44
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +29 -15
  10. data/lib/licensee/matchers.rb +1 -0
  11. data/lib/licensee/matchers/cabal.rb +1 -1
  12. data/lib/licensee/matchers/cargo.rb +1 -1
  13. data/lib/licensee/matchers/copyright.rb +3 -8
  14. data/lib/licensee/matchers/cran.rb +1 -1
  15. data/lib/licensee/matchers/dice.rb +2 -2
  16. data/lib/licensee/matchers/dist_zilla.rb +1 -1
  17. data/lib/licensee/matchers/gemspec.rb +4 -4
  18. data/lib/licensee/matchers/npm_bower.rb +5 -2
  19. data/lib/licensee/matchers/nuget.rb +43 -0
  20. data/lib/licensee/matchers/spdx.rb +1 -1
  21. data/lib/licensee/project_files/license_file.rb +29 -22
  22. data/lib/licensee/project_files/package_manager_file.rb +3 -2
  23. data/lib/licensee/project_files/project_file.rb +3 -4
  24. data/lib/licensee/project_files/readme_file.rb +1 -1
  25. data/lib/licensee/projects/fs_project.rb +8 -5
  26. data/lib/licensee/projects/git_project.rb +6 -4
  27. data/lib/licensee/projects/github_project.rb +1 -1
  28. data/lib/licensee/projects/project.rb +11 -10
  29. data/lib/licensee/version.rb +1 -1
  30. data/licensee.gemspec +7 -8
  31. data/spec/fixture_spec.rb +3 -3
  32. data/spec/fixtures/bom/LICENSE.txt +21 -0
  33. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  34. data/spec/fixtures/bsd-3-noendorseslash/LICENSE +30 -0
  35. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  36. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  37. data/spec/fixtures/crlf-bsd/LICENSE.md +27 -0
  38. data/spec/fixtures/detect.json +16 -22
  39. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  40. data/spec/fixtures/fixtures.yml +68 -20
  41. data/spec/fixtures/license-hashes.json +39 -37
  42. data/spec/fixtures/markdown-artistic/LICENSE.md +192 -0
  43. data/spec/fixtures/multiple-arrs/LICENSE +30 -0
  44. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  45. data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
  46. data/spec/fixtures/vim/LICENSE +78 -0
  47. data/spec/integration_spec.rb +104 -9
  48. data/spec/licensee/commands/detect_spec.rb +2 -2
  49. data/spec/licensee/content_helper_spec.rb +17 -21
  50. data/spec/licensee/hash_helper_spec.rb +22 -22
  51. data/spec/licensee/license_meta_spec.rb +5 -11
  52. data/spec/licensee/license_spec.rb +14 -10
  53. data/spec/licensee/matchers/dice_matcher_spec.rb +4 -11
  54. data/spec/licensee/matchers/matcher_spec.rb +6 -6
  55. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +9 -0
  56. data/spec/licensee/matchers/nu_get_matcher_spec.rb +91 -0
  57. data/spec/licensee/project_files/license_file_spec.rb +35 -28
  58. data/spec/licensee/project_files/package_info_spec.rb +8 -0
  59. data/spec/licensee/project_spec.rb +1 -3
  60. data/spec/licensee/rule_spec.rb +1 -1
  61. data/spec/licensee_spec.rb +1 -1
  62. data/spec/spec_helper.rb +3 -3
  63. data/spec/vendored_license_spec.rb +2 -2
  64. data/vendor/choosealicense.com/_data/meta.yml +1 -1
  65. data/vendor/choosealicense.com/_data/rules.yml +13 -13
  66. data/vendor/choosealicense.com/_licenses/0bsd.txt +3 -3
  67. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +4 -4
  68. data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +1 -1
  69. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +3 -3
  70. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +3 -3
  71. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +3 -3
  72. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +4 -3
  73. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -16
  74. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -16
  75. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +4 -4
  76. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +6 -6
  77. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +4 -4
  78. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +3 -3
  79. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +5 -5
  80. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +77 -60
  81. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +3 -3
  82. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +4 -4
  83. data/vendor/choosealicense.com/_licenses/isc.txt +3 -3
  84. data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +0 -1
  85. data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +1 -1
  86. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  87. data/vendor/choosealicense.com/_licenses/mit.txt +3 -3
  88. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +3 -3
  89. data/vendor/choosealicense.com/_licenses/ncsa.txt +24 -24
  90. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +3 -3
  91. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +4 -4
  92. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +3 -3
  93. data/vendor/choosealicense.com/_licenses/postgresql.txt +5 -5
  94. data/vendor/choosealicense.com/_licenses/unlicense.txt +3 -3
  95. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +4 -4
  96. data/vendor/choosealicense.com/_licenses/vim.txt +111 -0
  97. data/vendor/choosealicense.com/_licenses/zlib.txt +3 -3
  98. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  99. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  100. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  101. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  102. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  103. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  104. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  105. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  106. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  107. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  108. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  109. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  110. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  111. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  112. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  113. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  114. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  115. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  116. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  117. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  118. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  119. data/vendor/license-list-XML/src/ISC.xml +29 -0
  120. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  121. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  122. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  123. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  124. data/vendor/license-list-XML/src/MIT.xml +32 -0
  125. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  126. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  127. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  128. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  129. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  130. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  131. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  132. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  133. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  134. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  135. data/vendor/license-list-XML/src/Vim.xml +124 -0
  136. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  137. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  138. metadata +97 -29
@@ -1,40 +1,42 @@
1
1
  {
2
- "0bsd": "7a6d7180345f015f6aaf49fac3154ed18b7db9ee",
3
- "afl-3.0": "b991770683c71abd5c8cd8c8f10a03fedcdc76ec",
4
- "agpl-3.0": "d445855a1f169b12cbee97d320c2e3522d053016",
5
- "apache-2.0": "ab3901051663cb8ee5dea9ebdff406ad136910e3",
6
- "artistic-2.0": "a2ff6e7fb76e51bda9a5350c759a824f206049d1",
7
- "bsd-2-clause": "59f0099ff04225daf184db3fe55e478256133b1a",
8
- "bsd-3-clause": "fa22c672927af9c7334874561198799cbf4bdf31",
9
- "bsd-3-clause-clear": "251d4599b622d2a87b2c4bb21dfacd438c048466",
10
- "bsd-4-clause": "c31a46c2b8764b63d73332c5e9e11f109dadee45",
11
- "bsl-1.0": "ca8f916d00c234719956e932061f192abb2d5bf9",
12
- "cc-by-4.0": "899872bc08626e6cf154dcf9e08ff0de82c9b3db",
13
- "cc-by-sa-4.0": "d11590d97684231d5358252e0cc97373d62ec4f1",
14
- "cc0-1.0": "c07f7fdd02072b9b9ddafb29c7fe556ed4d31f6a",
15
- "cecill-2.1": "c996e4f8246fddc4fb083f72a70a85f36dffd288",
16
- "ecl-2.0": "b24f240cd556a7764b9ace1bd763ad70c510d92a",
17
- "epl-1.0": "e306464a81ab0e6688653c6509245b451637172c",
18
- "epl-2.0": "b57663bc9c3f41446a8cd3f0050149221a58fe66",
19
- "eupl-1.1": "873e30dbc5f75d076d7aecb6ceb84fb6bb765452",
20
- "eupl-1.2": "f122f96b9f1a56e4806a89cb1cc6ca2bb956f3e5",
21
- "gpl-2.0": "3becd209e8ed8039656c1debe01dd17b9a79208f",
22
- "gpl-3.0": "b22f1b1f953a38a8a11686587b98831858d6468b",
23
- "isc": "d168f98624be864548b2bbf4f198fdbf702d6743",
24
- "lgpl-2.1": "91e779a787786276618f58d6e396a5e64a981805",
25
- "lgpl-3.0": "bdb3c042bd84f914eacfbe4977c5e58352745809",
26
- "lppl-1.3c": "60961652297042d28bb689c17fac47eca7348d16",
27
- "mit": "d64f3bb4282a97b37454b5bb96a8a264a3363dc3",
28
- "mpl-2.0": "b4db668fa7573bfdcae74eb51eafc961034f0a61",
29
- "ms-pl": "c900293d66a241e54f7817367a8f32f7f94e12ff",
30
- "ms-rl": "402bf344e506a8d10175c1e516b396c060ffd823",
31
- "ncsa": "04c052b69de47ab0641068657a14632cdf9aa48d",
32
- "odbl-1.0": "4f4c0884535ebe8fdf1b93d2d3505e323144831f",
33
- "ofl-1.1": "1fb0563aa1250e18a6948afde286edc95761f461",
34
- "osl-3.0": "ab241ef932d3ac038e8ed62c860e9eba051ae7a0",
35
- "postgresql": "87550a6bb3409db00d8552b2ac07d373ea56a024",
36
- "unlicense": "853b375edc61b9e823da0fa5fead97c9460c3e45",
37
- "upl-1.0": "af9efb6f7b29f8c2d486ccb28223db0aa8372c29",
2
+ "0bsd": "c8c3d65fb228583b10cc531f5ddb3cf4fc095508",
3
+ "afl-3.0": "dbc79db278e7bef9cff16168ac32d4e281542eeb",
4
+ "agpl-3.0": "10486392ac9e730ec8f77bd1233edfc2d47dd23c",
5
+ "apache-2.0": "bec905d850e7f5dc2e2db78a950d4a9db560a0b8",
6
+ "artistic-2.0": "707698f0c53ab48d54b7fd2dc4a6f40533e8ebb3",
7
+ "bsd-2-clause": "a307ca750c21f262c95d2bce55e69c05e6c3dee9",
8
+ "bsd-3-clause": "a961b19cc6921d510e29a13b0ba1a826fcffe41c",
9
+ "bsd-3-clause-clear": "0fcdb12c4060ce8f406e17bc67787e50a9b36a61",
10
+ "bsd-4-clause": "3b2917580b2b6f13efaaea37546b8b7a53716a30",
11
+ "bsl-1.0": "27e28f20b57048cf04be07e1532b6fb501a0753b",
12
+ "cc-by-4.0": "b2089be110aca4cf4a562a88f0ecfd082ce32167",
13
+ "cc-by-sa-4.0": "20e2ae68f7dd2125beb70f732cd52d376687597f",
14
+ "cc0-1.0": "94c8187ec82b2b4a69fb990f80833fbe6e3c95e7",
15
+ "cecill-2.1": "edb804827a40bcdcf3e82b6bab3bd1f5b923ac74",
16
+ "ecl-2.0": "296976ce9e84ba380866e4519b68a779c2059b3a",
17
+ "epl-1.0": "5e3cb10996b4ba2821d04d5c99a912c924b3bdcb",
18
+ "epl-2.0": "e2f3e266432478d9248422228a75a404cce1c43c",
19
+ "eupl-1.1": "b35810b4113910f5f85af75f24e2538ba64c8876",
20
+ "eupl-1.2": "2098182069695981c6dc71093888f6204c7bbdae",
21
+ "gpl-2.0": "32108116603c30687d8d0d2f77f140fb6ecea082",
22
+ "gpl-3.0": "7d4cdf499d39e2e1ce27b2878e22872f0f5a74dd",
23
+ "isc": "7fcb74e2084b361556b8285d6f800495d0d5e36a",
24
+ "lgpl-2.1": "82420393a49840ea66ed4df4c550a2ff3955e70e",
25
+ "lgpl-3.0": "2f434698bab479f8f6c5043f2796767287f40495",
26
+ "lppl-1.3c": "cd1336cb08b1b97bcbe32119cdd8f518d8b340a3",
27
+ "mit": "4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9",
28
+ "mit-0": "b19f2d3e3e0cbba6ccd5808dd7be60a19172824b",
29
+ "mpl-2.0": "820048a1dbef5dfac65547bd9eb935beb76b2257",
30
+ "ms-pl": "1a7eb02101924998c296c8ede182005d2f77ae4a",
31
+ "ms-rl": "9f0c4c8be853cf1836a619cd0abaf0e0235d76ad",
32
+ "ncsa": "0d481a7ff9345e19cfdd9b7fea46caea1ebd08ee",
33
+ "odbl-1.0": "72a4e9321a871bca3c5dd0f06ffe498d340e8d76",
34
+ "ofl-1.1": "f92ca13e3976f94f20b49a007f7592631b4f8e96",
35
+ "osl-3.0": "bdde11f936b834bd06451d1ad8aad790d4a7c72c",
36
+ "postgresql": "6bddd8a2425baa88ee240b1c54b532d6208028bd",
37
+ "unlicense": "859a7d829d402dd6e047293d87979dacc1b88f37",
38
+ "upl-1.0": "f9a6bb39f54539ff3084ee4d754fc30cbba34d40",
39
+ "vim": "10e72ceebb7ab0a34ff1ed90241953b3756fd938",
38
40
  "wtfpl": "f8544c074f203d86cdcb24082fedfb2cf2fe411a",
39
- "zlib": "576139d1f785b8f3539099b9702fc68005ee2213"
41
+ "zlib": "d75cdaa2dd3ceb3f0db609005a32f825b37d1a8c"
40
42
  }
@@ -0,0 +1,192 @@
1
+ The Artistic License 2.0
2
+ ========================
3
+
4
+ _Copyright © 2000-2006, The Perl Foundation._
5
+
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ ### Preamble
10
+
11
+ This license establishes the terms under which a given free software
12
+ Package may be copied, modified, distributed, and/or redistributed.
13
+ The intent is that the Copyright Holder maintains some artistic
14
+ control over the development of that Package while still keeping the
15
+ Package available as open source and free software.
16
+
17
+ You are always permitted to make arrangements wholly outside of this
18
+ license directly with the Copyright Holder of a given Package. If the
19
+ terms of this license do not permit the full use that you propose to
20
+ make of the Package, you should contact the Copyright Holder and seek
21
+ a different licensing arrangement.
22
+
23
+ ### Definitions
24
+
25
+ “Copyright Holder” means the individual(s) or organization(s)
26
+ named in the copyright notice for the entire Package.
27
+
28
+ “Contributor” means any party that has contributed code or other
29
+ material to the Package, in accordance with the Copyright Holder's
30
+ procedures.
31
+
32
+ “You” and “your” means any person who would like to copy,
33
+ distribute, or modify the Package.
34
+
35
+ “Package” means the collection of files distributed by the
36
+ Copyright Holder, and derivatives of that collection and/or of
37
+ those files. A given Package may consist of either the Standard
38
+ Version, or a Modified Version.
39
+
40
+ “Distribute” means providing a copy of the Package or making it
41
+ accessible to anyone else, or in the case of a company or
42
+ organization, to others outside of your company or organization.
43
+
44
+ “Distributor Fee” means any fee that you charge for Distributing
45
+ this Package or providing support for this Package to another
46
+ party. It does not mean licensing fees.
47
+
48
+ “Standard Version” refers to the Package if it has not been
49
+ modified, or has been modified only in ways explicitly requested
50
+ by the Copyright Holder.
51
+
52
+ “Modified Version” means the Package, if it has been changed, and
53
+ such changes were not explicitly requested by the Copyright
54
+ Holder.
55
+
56
+ “Original License” means this Artistic License as Distributed with
57
+ the Standard Version of the Package, in its current version or as
58
+ it may be modified by The Perl Foundation in the future.
59
+
60
+ “Source” form means the source code, documentation source, and
61
+ configuration files for the Package.
62
+
63
+ “Compiled” form means the compiled bytecode, object code, binary,
64
+ or any other form resulting from mechanical transformation or
65
+ translation of the Source form.
66
+
67
+ ### Permission for Use and Modification Without Distribution
68
+
69
+ **(1)** You are permitted to use the Standard Version and create and use
70
+ Modified Versions for any purpose without restriction, provided that
71
+ you do not Distribute the Modified Version.
72
+
73
+ ### Permissions for Redistribution of the Standard Version
74
+
75
+ **(2)** You may Distribute verbatim copies of the Source form of the
76
+ Standard Version of this Package in any medium without restriction,
77
+ either gratis or for a Distributor Fee, provided that you duplicate
78
+ all of the original copyright notices and associated disclaimers. At
79
+ your discretion, such verbatim copies may or may not include a
80
+ Compiled form of the Package.
81
+
82
+ **(3)** You may apply any bug fixes, portability changes, and other
83
+ modifications made available from the Copyright Holder. The resulting
84
+ Package will still be considered the Standard Version, and as such
85
+ will be subject to the Original License.
86
+
87
+ ### Distribution of Modified Versions of the Package as Source
88
+
89
+ **(4)** You may Distribute your Modified Version as Source (either gratis
90
+ or for a Distributor Fee, and with or without a Compiled form of the
91
+ Modified Version) provided that you clearly document how it differs
92
+ from the Standard Version, including, but not limited to, documenting
93
+ any non-standard features, executables, or modules, and provided that
94
+ you do at least ONE of the following:
95
+
96
+ * **(a)** make the Modified Version available to the Copyright Holder
97
+ of the Standard Version, under the Original License, so that the
98
+ Copyright Holder may include your modifications in the Standard
99
+ Version.
100
+ * **(b)** ensure that installation of your Modified Version does not
101
+ prevent the user installing or running the Standard Version. In
102
+ addition, the Modified Version must bear a name that is different
103
+ from the name of the Standard Version.
104
+ * **(c)** allow anyone who receives a copy of the Modified Version to
105
+ make the Source form of the Modified Version available to others
106
+ under
107
+ * **(i)** the Original License or
108
+ * **(ii)** a license that permits the licensee to freely copy,
109
+ modify and redistribute the Modified Version using the same
110
+ licensing terms that apply to the copy that the licensee
111
+ received, and requires that the Source form of the Modified
112
+ Version, and of any works derived from it, be made freely
113
+ available in that license fees are prohibited but Distributor
114
+ Fees are allowed.
115
+
116
+ ### Distribution of Compiled Forms of the Standard Version
117
+ ### or Modified Versions without the Source
118
+
119
+ **(5)** You may Distribute Compiled forms of the Standard Version without
120
+ the Source, provided that you include complete instructions on how to
121
+ get the Source of the Standard Version. Such instructions must be
122
+ valid at the time of your distribution. If these instructions, at any
123
+ time while you are carrying out such distribution, become invalid, you
124
+ must provide new instructions on demand or cease further distribution.
125
+ If you provide valid instructions or cease distribution within thirty
126
+ days after you become aware that the instructions are invalid, then
127
+ you do not forfeit any of your rights under this license.
128
+
129
+ **(6)** You may Distribute a Modified Version in Compiled form without
130
+ the Source, provided that you comply with Section 4 with respect to
131
+ the Source of the Modified Version.
132
+
133
+ ### Aggregating or Linking the Package
134
+
135
+ **(7)** You may aggregate the Package (either the Standard Version or
136
+ Modified Version) with other packages and Distribute the resulting
137
+ aggregation provided that you do not charge a licensing fee for the
138
+ Package. Distributor Fees are permitted, and licensing fees for other
139
+ components in the aggregation are permitted. The terms of this license
140
+ apply to the use and Distribution of the Standard or Modified Versions
141
+ as included in the aggregation.
142
+
143
+ **(8)** You are permitted to link Modified and Standard Versions with
144
+ other works, to embed the Package in a larger work of your own, or to
145
+ build stand-alone binary or bytecode versions of applications that
146
+ include the Package, and Distribute the result without restriction,
147
+ provided the result does not expose a direct interface to the Package.
148
+
149
+ ### Items That are Not Considered Part of a Modified Version
150
+
151
+ **(9)** Works (including, but not limited to, modules and scripts) that
152
+ merely extend or make use of the Package, do not, by themselves, cause
153
+ the Package to be a Modified Version. In addition, such works are not
154
+ considered parts of the Package itself, and are not subject to the
155
+ terms of this license.
156
+
157
+ ### General Provisions
158
+
159
+ **(10)** Any use, modification, and distribution of the Standard or
160
+ Modified Versions is governed by this Artistic License. By using,
161
+ modifying or distributing the Package, you accept this license. Do not
162
+ use, modify, or distribute the Package, if you do not accept this
163
+ license.
164
+
165
+ **(11)** If your Modified Version has been derived from a Modified
166
+ Version made by someone other than you, you are nevertheless required
167
+ to ensure that your Modified Version complies with the requirements of
168
+ this license.
169
+
170
+ **(12)** This license does not grant you the right to use any trademark,
171
+ service mark, tradename, or logo of the Copyright Holder.
172
+
173
+ **(13)** This license includes the non-exclusive, worldwide,
174
+ free-of-charge patent license to make, have made, use, offer to sell,
175
+ sell, import and otherwise transfer the Package with respect to any
176
+ patent claims licensable by the Copyright Holder that are necessarily
177
+ infringed by the Package. If you institute patent litigation
178
+ (including a cross-claim or counterclaim) against any party alleging
179
+ that the Package constitutes direct or contributory patent
180
+ infringement, then this Artistic License to you shall terminate on the
181
+ date that such litigation is filed.
182
+
183
+ **(14)** **Disclaimer of Warranty:**
184
+
185
+ THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
186
+ IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
187
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
188
+ NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
189
+ LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
190
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
191
+ DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
192
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,30 @@
1
+ Copyright (c) 2018, Ben Balter
2
+ All rights reserved.
3
+
4
+ Copyright (c) 2020, Alice B. Carols
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,174 @@
1
+
2
+ Modified Apache 2.0 License
3
+
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor
140
+ and its affiliates, except as required to comply with Section 4(c) of
141
+ the License and to reproduce the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.