licensee 9.13.1 → 9.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -1
- data/bin/licensee +1 -1
- data/lib/licensee.rb +4 -4
- data/lib/licensee/commands/detect.rb +3 -5
- data/lib/licensee/commands/diff.rb +3 -5
- data/lib/licensee/content_helper.rb +46 -42
- data/lib/licensee/hash_helper.rb +1 -1
- data/lib/licensee/license.rb +29 -15
- data/lib/licensee/matchers.rb +1 -0
- data/lib/licensee/matchers/cabal.rb +1 -1
- data/lib/licensee/matchers/cargo.rb +1 -1
- data/lib/licensee/matchers/copyright.rb +3 -8
- data/lib/licensee/matchers/cran.rb +1 -1
- data/lib/licensee/matchers/dice.rb +2 -2
- data/lib/licensee/matchers/dist_zilla.rb +1 -1
- data/lib/licensee/matchers/gemspec.rb +4 -4
- data/lib/licensee/matchers/npm_bower.rb +5 -2
- data/lib/licensee/matchers/nuget.rb +43 -0
- data/lib/licensee/matchers/spdx.rb +1 -1
- data/lib/licensee/project_files/license_file.rb +29 -22
- data/lib/licensee/project_files/package_manager_file.rb +3 -2
- data/lib/licensee/project_files/project_file.rb +3 -4
- data/lib/licensee/project_files/readme_file.rb +1 -1
- data/lib/licensee/projects/fs_project.rb +8 -5
- data/lib/licensee/projects/git_project.rb +6 -4
- data/lib/licensee/projects/github_project.rb +1 -1
- data/lib/licensee/projects/project.rb +11 -10
- data/lib/licensee/version.rb +1 -1
- data/licensee.gemspec +7 -8
- data/spec/fixture_spec.rb +3 -3
- data/spec/fixtures/bom/LICENSE.txt +21 -0
- data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
- data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
- data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
- data/spec/fixtures/crlf-bsd/LICENSE.md +27 -0
- data/spec/fixtures/detect.json +16 -22
- data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
- data/spec/fixtures/fixtures.yml +62 -22
- data/spec/fixtures/license-hashes.json +39 -38
- data/spec/fixtures/markdown-artistic/LICENSE.md +192 -0
- data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
- data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
- data/spec/fixtures/vim/LICENSE +78 -0
- data/spec/integration_spec.rb +86 -9
- data/spec/licensee/commands/detect_spec.rb +2 -2
- data/spec/licensee/content_helper_spec.rb +21 -21
- data/spec/licensee/hash_helper_spec.rb +22 -22
- data/spec/licensee/license_meta_spec.rb +5 -11
- data/spec/licensee/license_spec.rb +14 -10
- data/spec/licensee/matchers/dice_matcher_spec.rb +4 -11
- data/spec/licensee/matchers/matcher_spec.rb +6 -6
- data/spec/licensee/matchers/npm_bower_matcher_spec.rb +9 -0
- data/spec/licensee/matchers/nu_get_matcher_spec.rb +91 -0
- data/spec/licensee/project_files/license_file_spec.rb +34 -27
- data/spec/licensee/project_files/package_info_spec.rb +8 -0
- data/spec/licensee/project_spec.rb +1 -3
- data/spec/licensee/rule_spec.rb +1 -1
- data/spec/licensee_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -3
- data/spec/vendored_license_spec.rb +2 -2
- data/vendor/choosealicense.com/_data/meta.yml +1 -1
- data/vendor/choosealicense.com/_data/rules.yml +13 -13
- data/vendor/choosealicense.com/_licenses/0bsd.txt +3 -3
- data/vendor/choosealicense.com/_licenses/apache-2.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +3 -3
- data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +3 -3
- data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +3 -3
- data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -16
- data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -16
- data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +3 -3
- data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/epl-1.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/epl-2.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +77 -60
- data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/isc.txt +3 -3
- data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
- data/vendor/choosealicense.com/_licenses/mit.txt +3 -3
- data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/ncsa.txt +3 -3
- data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +3 -3
- data/vendor/choosealicense.com/_licenses/osl-3.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/postgresql.txt +3 -3
- data/vendor/choosealicense.com/_licenses/unlicense.txt +3 -3
- data/vendor/choosealicense.com/_licenses/upl-1.0.txt +3 -3
- data/vendor/choosealicense.com/_licenses/vim.txt +3 -3
- data/vendor/choosealicense.com/_licenses/zlib.txt +3 -3
- data/vendor/license-list-XML/src/0BSD.xml +21 -0
- data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
- data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
- data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
- data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
- data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
- data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
- data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
- data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
- data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
- data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
- data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
- data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
- data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
- data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
- data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
- data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
- data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
- data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
- data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
- data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
- data/vendor/license-list-XML/src/ISC.xml +29 -0
- data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
- data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
- data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
- data/vendor/license-list-XML/src/MIT-0.xml +40 -0
- data/vendor/license-list-XML/src/MIT.xml +32 -0
- data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
- data/vendor/license-list-XML/src/MS-PL.xml +89 -0
- data/vendor/license-list-XML/src/MS-RL.xml +97 -0
- data/vendor/license-list-XML/src/NCSA.xml +60 -0
- data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
- data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
- data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
- data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
- data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
- data/vendor/license-list-XML/src/Unlicense.xml +27 -0
- data/vendor/license-list-XML/src/Vim.xml +124 -0
- data/vendor/license-list-XML/src/WTFPL.xml +30 -0
- data/vendor/license-list-XML/src/Zlib.xml +38 -0
- metadata +97 -32
@@ -1,41 +1,42 @@
|
|
1
1
|
{
|
2
|
-
"0bsd": "
|
3
|
-
"afl-3.0": "
|
4
|
-
"agpl-3.0": "
|
5
|
-
"apache-2.0": "
|
6
|
-
"artistic-2.0": "
|
7
|
-
"bsd-2-clause": "
|
8
|
-
"bsd-3-clause": "
|
9
|
-
"bsd-3-clause-clear": "
|
10
|
-
"bsd-4-clause": "
|
11
|
-
"bsl-1.0": "
|
12
|
-
"cc-by-4.0": "
|
13
|
-
"cc-by-sa-4.0": "
|
14
|
-
"cc0-1.0": "
|
15
|
-
"cecill-2.1": "
|
16
|
-
"ecl-2.0": "
|
17
|
-
"epl-1.0": "
|
18
|
-
"epl-2.0": "
|
19
|
-
"eupl-1.1": "
|
20
|
-
"eupl-1.2": "
|
21
|
-
"gpl-2.0": "
|
22
|
-
"gpl-3.0": "
|
23
|
-
"isc": "
|
24
|
-
"lgpl-2.1": "
|
25
|
-
"lgpl-3.0": "
|
26
|
-
"lppl-1.3c": "
|
27
|
-
"mit": "
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"ms-
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
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",
|
39
40
|
"wtfpl": "f8544c074f203d86cdcb24082fedfb2cf2fe411a",
|
40
|
-
"zlib": "
|
41
|
+
"zlib": "d75cdaa2dd3ceb3f0db609005a32f825b37d1a8c"
|
41
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,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.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Readme fixture
|
2
|
+
|
3
|
+
## License
|
4
|
+
|
5
|
+
Copyright (c) 2016 Ben Balter
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
��
|