license-generator 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/README.md +6 -2
- data/lib/license-generator/version.rb +1 -1
- data/templates/afl-3.0.erb +189 -0
- data/templates/mozilla-2.0.erb +320 -0
- metadata +11 -3
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -28,6 +28,10 @@ can also prompt the user for input like this:
|
|
28
28
|
|
29
29
|
## Credits
|
30
30
|
|
31
|
-
* Bill Evans (@thirteenpixels) for help naming the binary and pushing to make
|
31
|
+
* Bill Evans ([@thirteenpixels][1]) for help naming the binary and pushing to make
|
32
32
|
it not hard to add templates.
|
33
|
-
* Dayton Nolan (@daytonn) for fixes and new templates.
|
33
|
+
* Dayton Nolan ([@daytonn][2]) for fixes and new templates.
|
34
|
+
|
35
|
+
|
36
|
+
[1]: https://github.com/thirteenpixels
|
37
|
+
[2]: https://github.com/daytonn
|
@@ -0,0 +1,189 @@
|
|
1
|
+
Copyright (c) <%= Time.now.year %> <%= option(:name) %>
|
2
|
+
|
3
|
+
Academic Free License ("AFL") v. 3.0
|
4
|
+
|
5
|
+
This Academic Free License (the "License") applies to any original
|
6
|
+
work of authorship (the "Original Work") whose owner (the "Licensor")
|
7
|
+
has placed the following licensing notice adjacent to the copyright
|
8
|
+
notice for the Original Work:
|
9
|
+
|
10
|
+
Licensed under the Academic Free License version 3.0
|
11
|
+
|
12
|
+
1) Grant of Copyright License. Licensor grants You a worldwide,
|
13
|
+
royalty- free, non-exclusive, sublicensable license, for the duration
|
14
|
+
of the copyright, to do the following:
|
15
|
+
|
16
|
+
a) to reproduce the Original Work in copies, either alone or as
|
17
|
+
part of a collective work;
|
18
|
+
|
19
|
+
b) to translate, adapt, alter, transform, modify, or arrange the
|
20
|
+
Original Work, thereby creating derivative works ("Derivative
|
21
|
+
Works") based upon the Original Work;
|
22
|
+
|
23
|
+
c) to distribute or communicate copies of the Original Work and
|
24
|
+
Derivative Works to the public, under any license of your choice
|
25
|
+
that does not contradict the terms and conditions, including
|
26
|
+
Licensor's reserved rights and remedies, in this Academic Free
|
27
|
+
License;
|
28
|
+
|
29
|
+
d) to perform the Original Work publicly; and
|
30
|
+
|
31
|
+
e) to display the Original Work publicly.
|
32
|
+
|
33
|
+
2) Grant of Patent License. Licensor grants You a worldwide, royalty-
|
34
|
+
free, non-exclusive, sublicensable license, under patent claims owned
|
35
|
+
or controlled by the Licensor that are embodied in the Original Work
|
36
|
+
as furnished by the Licensor, for the duration of the patents, to
|
37
|
+
make, use, sell, offer for sale, have made, and import the Original
|
38
|
+
Work and Derivative Works.
|
39
|
+
|
40
|
+
3) Grant of Source Code License. The term "Source Code" means the
|
41
|
+
preferred form of the Original Work for making modifications to it and
|
42
|
+
all available documentation describing how to modify the Original
|
43
|
+
Work. Licensor agrees to provide a machine-readable copy of the Source
|
44
|
+
Code of the Original Work along with each copy of the Original Work
|
45
|
+
that Licensor distributes. Licensor reserves the right to satisfy this
|
46
|
+
obligation by placing a machine-readable copy of the Source Code in an
|
47
|
+
information repository reasonably calculated to permit inexpensive and
|
48
|
+
convenient access by You for as long as Licensor continues to
|
49
|
+
distribute the Original Work.
|
50
|
+
|
51
|
+
4) Exclusions From License Grant. Neither the names of Licensor, nor
|
52
|
+
the names of any contributors to the Original Work, nor any of their
|
53
|
+
trademarks or service marks, may be used to endorse or promote
|
54
|
+
products derived from this Original Work without express prior
|
55
|
+
permission of the Licensor. Except as expressly stated herein, nothing
|
56
|
+
in this License grants any license to Licensor's trademarks,
|
57
|
+
copyrights, patents, trade secrets or any other intellectual property.
|
58
|
+
No patent license is granted to make, use, sell, offer for sale, have
|
59
|
+
made, or import embodiments of any patent claims other than the
|
60
|
+
licensed claims defined in Section 2. No license is granted to the
|
61
|
+
trademarks of Licensor even if such marks are included in the Original
|
62
|
+
Work. Nothing in this License shall be interpreted to prohibit
|
63
|
+
Licensor from licensing under terms different from this License any
|
64
|
+
Original Work that Licensor otherwise would have a right to license.
|
65
|
+
|
66
|
+
5) External Deployment. The term "External Deployment" means the use,
|
67
|
+
distribution, or communication of the Original Work or Derivative
|
68
|
+
Works in any way such that the Original Work or Derivative Works may
|
69
|
+
be used by anyone other than You, whether those works are distributed
|
70
|
+
or communicated to those persons or made available as an application
|
71
|
+
intended for use over a network. As an express condition for the
|
72
|
+
grants of license hereunder, You must treat any External Deployment by
|
73
|
+
You of the Original Work or a Derivative Work as a distribution under
|
74
|
+
section 1(c).
|
75
|
+
|
76
|
+
6) Attribution Rights. You must retain, in the Source Code of any
|
77
|
+
Derivative Works that You create, all copyright, patent, or trademark
|
78
|
+
notices from the Source Code of the Original Work, as well as any
|
79
|
+
notices of licensing and any descriptive text identified therein as an
|
80
|
+
"Attribution Notice." You must cause the Source Code for any
|
81
|
+
Derivative Works that You create to carry a prominent Attribution
|
82
|
+
Notice reasonably calculated to inform recipients that You have
|
83
|
+
modified the Original Work.
|
84
|
+
|
85
|
+
7) Warranty of Provenance and Disclaimer of Warranty. Licensor
|
86
|
+
warrants that the copyright in and to the Original Work and the patent
|
87
|
+
rights granted herein by Licensor are owned by the Licensor or are
|
88
|
+
sublicensed to You under the terms of this License with the permission
|
89
|
+
of the contributor(s) of those copyrights and patent rights. Except as
|
90
|
+
expressly stated in the immediately preceding sentence, the Original
|
91
|
+
Work is provided under this License on an "AS IS" BASIS and WITHOUT
|
92
|
+
WARRANTY, either express or implied, including, without limitation,
|
93
|
+
the warranties of non-infringement, merchantability or fitness for a
|
94
|
+
particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL
|
95
|
+
WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential
|
96
|
+
part of this License. No license to the Original Work is granted by
|
97
|
+
this License except under this disclaimer.
|
98
|
+
|
99
|
+
8) Limitation of Liability. Under no circumstances and under no legal
|
100
|
+
theory, whether in tort (including negligence), contract, or
|
101
|
+
otherwise, shall the Licensor be liable to anyone for any indirect,
|
102
|
+
special, incidental, or consequential damages of any character arising
|
103
|
+
as a result of this License or the use of the Original Work including,
|
104
|
+
without limitation, damages for loss of goodwill, work stoppage,
|
105
|
+
computer failure or malfunction, or any and all other commercial
|
106
|
+
damages or losses. This limitation of liability shall not apply to the
|
107
|
+
extent applicable law prohibits such limitation.
|
108
|
+
|
109
|
+
9) Acceptance and Termination. If, at any time, You expressly assented
|
110
|
+
to this License, that assent indicates your clear and irrevocable
|
111
|
+
acceptance of this License and all of its terms and conditions. If You
|
112
|
+
distribute or communicate copies of the Original Work or a Derivative
|
113
|
+
Work, You must make a reasonable effort under the circumstances to
|
114
|
+
obtain the express assent of recipients to the terms of this License.
|
115
|
+
This License conditions your rights to undertake the activities listed
|
116
|
+
in Section 1, including your right to create Derivative Works based
|
117
|
+
upon the Original Work, and doing so without honoring these terms and
|
118
|
+
conditions is prohibited by copyright law and international treaty.
|
119
|
+
Nothing in this License is intended to affect copyright exceptions and
|
120
|
+
limitations (including "fair use" or "fair dealing"). This License
|
121
|
+
shall terminate immediately and You may no longer exercise any of the
|
122
|
+
rights granted to You by this License upon your failure to honor the
|
123
|
+
conditions in Section 1(c).
|
124
|
+
|
125
|
+
10) Termination for Patent Action. This License shall terminate
|
126
|
+
automatically and You may no longer exercise any of the rights granted
|
127
|
+
to You by this License as of the date You commence an action,
|
128
|
+
including a cross-claim or counterclaim, against Licensor or any
|
129
|
+
licensee alleging that the Original Work infringes a patent. This
|
130
|
+
termination provision shall not apply for an action alleging patent
|
131
|
+
infringement by combinations of the Original Work with other software
|
132
|
+
or hardware.
|
133
|
+
|
134
|
+
11) Jurisdiction, Venue and Governing Law. Any action or suit relating
|
135
|
+
to this License may be brought only in the courts of a jurisdiction
|
136
|
+
wherein the Licensor resides or in which Licensor conducts its primary
|
137
|
+
business, and under the laws of that jurisdiction excluding its
|
138
|
+
conflict-of-law provisions. The application of the United Nations
|
139
|
+
Convention on Contracts for the International Sale of Goods is
|
140
|
+
expressly excluded. Any use of the Original Work outside the scope of
|
141
|
+
this License or after its termination shall be subject to the
|
142
|
+
requirements and penalties of copyright or patent law in the
|
143
|
+
appropriate jurisdiction. This section shall survive the termination
|
144
|
+
of this License.
|
145
|
+
|
146
|
+
12) Attorneys' Fees. In any action to enforce the terms of this
|
147
|
+
License or seeking damages relating thereto, the prevailing party
|
148
|
+
shall be entitled to recover its costs and expenses, including,
|
149
|
+
without limitation, reasonable attorneys' fees and costs incurred in
|
150
|
+
connection with such action, including any appeal of such action. This
|
151
|
+
section shall survive the termination of this License.
|
152
|
+
|
153
|
+
13) Miscellaneous. If any provision of this License is held to be
|
154
|
+
unenforceable, such provision shall be reformed only to the extent
|
155
|
+
necessary to make it enforceable.
|
156
|
+
|
157
|
+
14) Definition of "You" in This License. "You" throughout this
|
158
|
+
License, whether in upper or lower case, means an individual or a
|
159
|
+
legal entity exercising rights under, and complying with all of the
|
160
|
+
terms of, this License. For legal entities, "You" includes any entity
|
161
|
+
that controls, is controlled by, or is under common control with you.
|
162
|
+
For purposes of this definition, "control" means (i) the power, direct
|
163
|
+
or indirect, to cause the direction or management of such entity,
|
164
|
+
whether by contract or otherwise, or (ii) ownership of fifty percent
|
165
|
+
(50%) or more of the outstanding shares, or (iii) beneficial ownership
|
166
|
+
of such entity.
|
167
|
+
|
168
|
+
15) Right to Use. You may use the Original Work in all ways not
|
169
|
+
otherwise restricted or conditioned by this License or by law, and
|
170
|
+
Licensor promises not to interfere with or be responsible for such
|
171
|
+
uses by You.
|
172
|
+
|
173
|
+
16) Modification of This License. This License is Copyright © 2005
|
174
|
+
Lawrence Rosen. Permission is granted to copy, distribute, or
|
175
|
+
communicate this License without modification. Nothing in this License
|
176
|
+
permits You to modify this License as applied to the Original Work or
|
177
|
+
to Derivative Works. However, You may modify the text of this License
|
178
|
+
and copy, distribute or communicate your modified version (the
|
179
|
+
"Modified License") and apply it to other original works of authorship
|
180
|
+
subject to the following conditions: (i) You may not indicate in any
|
181
|
+
way that your Modified License is the "Academic Free License" or "AFL"
|
182
|
+
and you may not use those names in the name of your Modified License;
|
183
|
+
(ii) You must replace the notice specified in the first paragraph
|
184
|
+
above with the notice "Licensed under <insert your license name here>"
|
185
|
+
or with a notice of your own that is not confusingly similar to the
|
186
|
+
notice in this License; and (iii) You may not claim that your original
|
187
|
+
works are open source software unless your Modified License has been
|
188
|
+
approved by Open Source Initiative (OSI) and You comply with its
|
189
|
+
license review and certification process.
|
@@ -0,0 +1,320 @@
|
|
1
|
+
Mozilla Public License, version 2.0
|
2
|
+
|
3
|
+
Copyright (c) <%= Time.now.year %>, <%= option(:name) %>
|
4
|
+
|
5
|
+
1. Definitions
|
6
|
+
|
7
|
+
1.1. “Contributor” means each individual or legal entity that
|
8
|
+
creates, contributes to the creation of, or owns Covered Software.
|
9
|
+
|
10
|
+
1.2. “Contributor Version” means the combination of the
|
11
|
+
Contributions of others (if any) used by a Contributor and that
|
12
|
+
particular Contributor’s Contribution.
|
13
|
+
|
14
|
+
1.3. “Contribution” means Covered Software of a particular
|
15
|
+
Contributor.
|
16
|
+
|
17
|
+
1.4. “Covered Software” means Source Code Form to which the initial
|
18
|
+
Contributor has attached the notice in Exhibit A, the Executable
|
19
|
+
Form of such Source Code Form, and Modifications of such Source Code
|
20
|
+
Form, in each case including portions thereof.
|
21
|
+
|
22
|
+
1.5. “Incompatible With Secondary Licenses” means
|
23
|
+
|
24
|
+
that the initial Contributor has attached the notice described in
|
25
|
+
Exhibit B to the Covered Software; or
|
26
|
+
|
27
|
+
that the Covered Software was made available under the terms of
|
28
|
+
version 1.1 or earlier of the License, but not also under the terms
|
29
|
+
of a Secondary License.
|
30
|
+
|
31
|
+
1.6. “Executable Form” means any form of the work other than Source
|
32
|
+
Code Form.
|
33
|
+
|
34
|
+
1.7. “Larger Work” means a work that combines Covered Software with
|
35
|
+
other material, in a separate file or files, that is not Covered
|
36
|
+
Software.
|
37
|
+
|
38
|
+
1.8. “License” means this document.
|
39
|
+
|
40
|
+
1.9. “Licensable” means having the right to grant, to the maximum
|
41
|
+
extent possible, whether at the time of the initial grant or
|
42
|
+
subsequently, any and all of the rights conveyed by this License.
|
43
|
+
|
44
|
+
1.10. “Modifications” means any of the following:
|
45
|
+
|
46
|
+
any file in Source Code Form that results from an addition to,
|
47
|
+
deletion from, or modification of the contents of Covered Software;
|
48
|
+
or
|
49
|
+
|
50
|
+
any new file in Source Code Form that contains any Covered Software.
|
51
|
+
|
52
|
+
1.11. “Patent Claims” of a Contributor means any patent claim(s),
|
53
|
+
including without limitation, method, process, and apparatus claims,
|
54
|
+
in any patent Licensable by such Contributor that would be
|
55
|
+
infringed, but for the grant of the License, by the making, using,
|
56
|
+
selling, offering for sale, having made, import, or transfer of
|
57
|
+
either its Contributions or its Contributor Version.
|
58
|
+
|
59
|
+
1.12. “Secondary License” means either the GNU General Public
|
60
|
+
License, Version 2.0, the GNU Lesser General Public License, Version
|
61
|
+
2.1, the GNU Affero General Public License, Version 3.0, or any
|
62
|
+
later versions of those licenses.
|
63
|
+
|
64
|
+
1.13. “Source Code Form” means the form of the work preferred for
|
65
|
+
making modifications.
|
66
|
+
|
67
|
+
1.14. “You” (or “Your”) means an individual or a legal entity
|
68
|
+
exercising rights under this License. For legal entities, “You”
|
69
|
+
includes any entity that controls, is controlled by, or is under
|
70
|
+
common control with You. For purposes of this definition, “control”
|
71
|
+
means (a) the power, direct or indirect, to cause the direction or
|
72
|
+
management of such entity, whether by contract or otherwise, or (b)
|
73
|
+
ownership of more than fifty percent (50%) of the outstanding shares
|
74
|
+
or beneficial ownership of such entity.
|
75
|
+
|
76
|
+
|
77
|
+
2. License Grants and Conditions
|
78
|
+
|
79
|
+
2.1. Grants Each Contributor hereby grants You a world-wide,
|
80
|
+
royalty-free, non-exclusive license:
|
81
|
+
|
82
|
+
under intellectual property rights (other than patent or trademark)
|
83
|
+
Licensable by such Contributor to use, reproduce, make available,
|
84
|
+
modify, display, perform, distribute, and otherwise exploit its
|
85
|
+
Contributions, either on an unmodified basis, with Modifications, or
|
86
|
+
as part of a Larger Work; and
|
87
|
+
|
88
|
+
under Patent Claims of such Contributor to make, use, sell, offer
|
89
|
+
for sale, have made, import, and otherwise transfer either its
|
90
|
+
Contributions or its Contributor Version.
|
91
|
+
|
92
|
+
2.2. Effective Date The licenses granted in Section 2.1 with respect
|
93
|
+
to any Contribution become effective for each Contribution on the
|
94
|
+
date the Contributor first distributes such Contribution.
|
95
|
+
|
96
|
+
2.3. Limitations on Grant Scope The licenses granted in this Section
|
97
|
+
2 are the only rights granted under this License. No additional
|
98
|
+
rights or licenses will be implied from the distribution or
|
99
|
+
licensing of Covered Software under this License. Notwithstanding
|
100
|
+
Section 2.1(b) above, no patent license is granted by a Contributor:
|
101
|
+
|
102
|
+
for any code that a Contributor has removed from Covered Software;
|
103
|
+
or
|
104
|
+
|
105
|
+
for infringements caused by: (i) Your and any other third party’s
|
106
|
+
modifications of Covered Software, or (ii) the combination of its
|
107
|
+
Contributions with other software (except as part of its Contributor
|
108
|
+
Version); or
|
109
|
+
|
110
|
+
under Patent Claims infringed by Covered Software in the absence of
|
111
|
+
its Contributions.
|
112
|
+
|
113
|
+
This License does not grant any rights in the trademarks, service
|
114
|
+
marks, or logos of any Contributor (except as may be necessary to
|
115
|
+
comply with the notice requirements in Section 3.4).
|
116
|
+
|
117
|
+
2.4. Subsequent Licenses No Contributor makes additional grants as a
|
118
|
+
result of Your choice to distribute the Covered Software under a
|
119
|
+
subsequent version of this License (see Section 10.2) or under the
|
120
|
+
terms of a Secondary License (if permitted under the terms of
|
121
|
+
Section 3.3).
|
122
|
+
|
123
|
+
2.5. Representation Each Contributor represents that the Contributor
|
124
|
+
believes its Contributions are its original creation(s) or it has
|
125
|
+
sufficient rights to grant the rights to its Contributions conveyed
|
126
|
+
by this License.
|
127
|
+
|
128
|
+
2.6. Fair Use This License is not intended to limit any rights You
|
129
|
+
have under applicable copyright doctrines of fair use, fair dealing,
|
130
|
+
or other equivalents.
|
131
|
+
|
132
|
+
2.7. Conditions Sections 3.1, 3.2, 3.3, and 3.4 are conditions of
|
133
|
+
the licenses granted in Section 2.1.
|
134
|
+
|
135
|
+
|
136
|
+
3. Responsibilities
|
137
|
+
|
138
|
+
3.1. Distribution of Source Form All distribution of Covered
|
139
|
+
Software in Source Code Form, including any Modifications that You
|
140
|
+
create or to which You contribute, must be under the terms of this
|
141
|
+
License. You must inform recipients that the Source Code Form of the
|
142
|
+
Covered Software is governed by the terms of this License, and how
|
143
|
+
they can obtain a copy of this License. You may not attempt to alter
|
144
|
+
or restrict the recipients’ rights in the Source Code Form.
|
145
|
+
|
146
|
+
3.2. Distribution of Executable Form If You distribute Covered
|
147
|
+
Software in Executable Form then:
|
148
|
+
|
149
|
+
such Covered Software must also be made available in Source Code
|
150
|
+
Form, as described in Section 3.1, and You must inform recipients of
|
151
|
+
the Executable Form how they can obtain a copy of such Source Code
|
152
|
+
Form by reasonable means in a timely manner, at a charge no more
|
153
|
+
than the cost of distribution to the recipient; and
|
154
|
+
|
155
|
+
You may distribute such Executable Form under the terms of this
|
156
|
+
License, or sublicense it under different terms, provided that the
|
157
|
+
license for the Executable Form does not attempt to limit or alter
|
158
|
+
the recipients’ rights in the Source Code Form under this License.
|
159
|
+
|
160
|
+
3.3. Distribution of a Larger Work You may create and distribute a
|
161
|
+
Larger Work under terms of Your choice, provided that You also
|
162
|
+
comply with the requirements of this License for the Covered
|
163
|
+
Software. If the Larger Work is a combination of Covered Software
|
164
|
+
with a work governed by one or more Secondary Licenses, and the
|
165
|
+
Covered Software is not Incompatible With Secondary Licenses, this
|
166
|
+
License permits You to additionally distribute such Covered Software
|
167
|
+
under the terms of such Secondary License(s), so that the recipient
|
168
|
+
of the Larger Work may, at their option, further distribute the
|
169
|
+
Covered Software under the terms of either this License or such
|
170
|
+
Secondary License(s).
|
171
|
+
|
172
|
+
3.4. Notices You may not remove or alter the substance of any
|
173
|
+
license notices (including copyright notices, patent notices,
|
174
|
+
disclaimers of warranty, or limitations of liability) contained
|
175
|
+
within the Source Code Form of the Covered Software, except that You
|
176
|
+
may alter any license notices to the extent required to remedy known
|
177
|
+
factual inaccuracies.
|
178
|
+
|
179
|
+
3.5. Application of Additional Terms You may choose to offer, and to
|
180
|
+
charge a fee for, warranty, support, indemnity or liability
|
181
|
+
obligations to one or more recipients of Covered Software. However,
|
182
|
+
You may do so only on Your own behalf, and not on behalf of any
|
183
|
+
Contributor. You must make it absolutely clear that any such
|
184
|
+
warranty, support, indemnity, or liability obligation is offered by
|
185
|
+
You alone, and You hereby agree to indemnify every Contributor for
|
186
|
+
any liability incurred by such Contributor as a result of warranty,
|
187
|
+
support, indemnity or liability terms You offer. You may include
|
188
|
+
additional disclaimers of warranty and limitations of liability
|
189
|
+
specific to any jurisdiction.
|
190
|
+
|
191
|
+
|
192
|
+
4. Inability to Comply Due to Statute or Regulation
|
193
|
+
|
194
|
+
If it is impossible for You to comply with any of the terms of this
|
195
|
+
License with respect to some or all of the Covered Software due to
|
196
|
+
statute, judicial order, or regulation then You must: (a) comply
|
197
|
+
with the terms of this License to the maximum extent possible; and
|
198
|
+
(b) describe the limitations and the code they affect. Such
|
199
|
+
description must be placed in a text file included with all
|
200
|
+
distributions of the Covered Software under this License. Except to
|
201
|
+
the extent prohibited by statute or regulation, such description
|
202
|
+
must be sufficiently detailed for a recipient of ordinary skill to
|
203
|
+
be able to understand it.
|
204
|
+
|
205
|
+
|
206
|
+
5. Termination
|
207
|
+
|
208
|
+
5.1. The rights granted under this License will terminate
|
209
|
+
automatically if You fail to comply with any of its terms. However,
|
210
|
+
if You become compliant, then the rights granted under this License
|
211
|
+
from a particular Contributor are reinstated (a) provisionally,
|
212
|
+
unless and until such Contributor explicitly and finally terminates
|
213
|
+
Your grants, and (b) on an ongoing basis, if such Contributor fails
|
214
|
+
to notify You of the non-compliance by some reasonable means prior
|
215
|
+
to 60 days after You have come back into compliance. Moreover, Your
|
216
|
+
grants from a particular Contributor are reinstated on an ongoing
|
217
|
+
basis if such Contributor notifies You of the non-compliance by some
|
218
|
+
reasonable means, this is the first time You have received notice of
|
219
|
+
non-compliance with this License from such Contributor, and You
|
220
|
+
become compliant prior to 30 days after Your receipt of the notice.
|
221
|
+
|
222
|
+
5.2. If You initiate litigation against any entity by asserting a
|
223
|
+
patent infringement claim (excluding declaratory judgment actions,
|
224
|
+
counter-claims, and cross-claims) alleging that a Contributor
|
225
|
+
Version directly or indirectly infringes any patent, then the rights
|
226
|
+
granted to You by any and all Contributors for the Covered Software
|
227
|
+
under Section 2.1 of this License shall terminate.
|
228
|
+
|
229
|
+
5.3. In the event of termination under Sections 5.1 or 5.2 above,
|
230
|
+
all end user license agreements (excluding distributors and
|
231
|
+
resellers) which have been validly granted by You or Your
|
232
|
+
distributors under this License prior to termination shall survive
|
233
|
+
termination.
|
234
|
+
|
235
|
+
6. Disclaimer of Warranty Covered Software is provided under this
|
236
|
+
License on an “as is” basis, without warranty of any kind, either
|
237
|
+
expressed, implied, or statutory, including, without limitation,
|
238
|
+
warranties that the Covered Software is free of defects, merchantable,
|
239
|
+
fit for a particular purpose or non-infringing. The entire risk as to
|
240
|
+
the quality and performance of the Covered Software is with You.
|
241
|
+
Should any Covered Software prove defective in any respect, You (not
|
242
|
+
any Contributor) assume the cost of any necessary servicing, repair,
|
243
|
+
or correction. This disclaimer of warranty constitutes an essential
|
244
|
+
part of this License. No use of any Covered Software is authorized
|
245
|
+
under this License except under this disclaimer.
|
246
|
+
|
247
|
+
7. Limitation of Liability Under no circumstances and under no legal
|
248
|
+
theory, whether tort (including negligence), contract, or otherwise,
|
249
|
+
shall any Contributor, or anyone who distributes Covered Software as
|
250
|
+
permitted above, be liable to You for any direct, indirect, special,
|
251
|
+
incidental, or consequential damages of any character including,
|
252
|
+
without limitation, damages for lost profits, loss of goodwill, work
|
253
|
+
stoppage, computer failure or malfunction, or any and all other
|
254
|
+
commercial damages or losses, even if such party shall have been
|
255
|
+
informed of the possibility of such damages. This limitation of
|
256
|
+
liability shall not apply to liability for death or personal injury
|
257
|
+
resulting from such party’s negligence to the extent applicable law
|
258
|
+
prohibits such limitation. Some jurisdictions do not allow the
|
259
|
+
exclusion or limitation of incidental or consequential damages, so
|
260
|
+
this exclusion and limitation may not apply to You.
|
261
|
+
|
262
|
+
8. Litigation Any litigation relating to this License may be brought
|
263
|
+
only in the courts of a jurisdiction where the defendant maintains its
|
264
|
+
principal place of business and such litigation shall be governed by
|
265
|
+
laws of that jurisdiction, without reference to its conflict-of-law
|
266
|
+
provisions. Nothing in this Section shall prevent a party’s ability to
|
267
|
+
bring cross-claims or counter-claims.
|
268
|
+
|
269
|
+
9. Miscellaneous This License represents the complete agreement
|
270
|
+
concerning the subject matter hereof. If any provision of this License
|
271
|
+
is held to be unenforceable, such provision shall be reformed only to
|
272
|
+
the extent necessary to make it enforceable. Any law or regulation
|
273
|
+
which provides that the language of a contract shall be construed
|
274
|
+
against the drafter shall not be used to construe this License against
|
275
|
+
a Contributor.
|
276
|
+
|
277
|
+
10. Versions of the License
|
278
|
+
|
279
|
+
10.1. New Versions Mozilla Foundation is the license steward. Except
|
280
|
+
as provided in Section 10.3, no one other than the license steward
|
281
|
+
has the right to modify or publish new versions of this License.
|
282
|
+
Each version will be given a distinguishing version number.
|
283
|
+
|
284
|
+
10.2. Effect of New Versions You may distribute the Covered Software
|
285
|
+
under the terms of the version of the License under which You
|
286
|
+
originally received the Covered Software, or under the terms of any
|
287
|
+
subsequent version published by the license steward.
|
288
|
+
|
289
|
+
10.3. Modified Versions If you create software not governed by this
|
290
|
+
License, and you want to create a new license for such software, you
|
291
|
+
may create and use a modified version of this License if you rename
|
292
|
+
the license and remove any references to the name of the license
|
293
|
+
steward (except to note that such modified license differs from this
|
294
|
+
License).
|
295
|
+
|
296
|
+
10.4. Distributing Source Code Form that is Incompatible With
|
297
|
+
Secondary Licenses If You choose to distribute Source Code Form that
|
298
|
+
is Incompatible With Secondary Licenses under the terms of this
|
299
|
+
version of the License, the notice described in Exhibit B of this
|
300
|
+
License must be attached.
|
301
|
+
|
302
|
+
Exhibit A - Source Code Form License Notice
|
303
|
+
|
304
|
+
This Source Code Form is subject to the terms of the Mozilla Public
|
305
|
+
License, v. 2.0. If a copy of the MPL was not distributed with this
|
306
|
+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
307
|
+
|
308
|
+
If it is not possible or desirable to put the notice in a particular
|
309
|
+
file, then You may include the notice in a location (such as a
|
310
|
+
LICENSE file in a relevant directory) where a recipient would be
|
311
|
+
likely to look for such a notice.
|
312
|
+
|
313
|
+
You may add additional accurate notices of copyright ownership.
|
314
|
+
|
315
|
+
Exhibit B - “Incompatible With Secondary Licenses” Notice
|
316
|
+
|
317
|
+
This Source Code Form is “Incompatible With Secondary Licenses”, as
|
318
|
+
defined by the Mozilla Public License, v. 2.0.
|
319
|
+
|
320
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: license-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -119,12 +119,14 @@ files:
|
|
119
119
|
- license-generator.gemspec
|
120
120
|
- spec/app_spec.rb
|
121
121
|
- spec/spec_helper.rb
|
122
|
+
- templates/afl-3.0.erb
|
122
123
|
- templates/apache-2.0.erb
|
123
124
|
- templates/bsd.erb
|
124
125
|
- templates/gpl-1.0.erb
|
125
126
|
- templates/gpl-2.0.erb
|
126
127
|
- templates/gpl-3.0.erb
|
127
128
|
- templates/mit.erb
|
129
|
+
- templates/mozilla-2.0.erb
|
128
130
|
homepage: https://github.com/blaix/license-generator
|
129
131
|
licenses: []
|
130
132
|
post_install_message:
|
@@ -137,15 +139,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
139
|
- - ! '>='
|
138
140
|
- !ruby/object:Gem::Version
|
139
141
|
version: '0'
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
hash: 2740199507811875689
|
140
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
146
|
none: false
|
142
147
|
requirements:
|
143
148
|
- - ! '>='
|
144
149
|
- !ruby/object:Gem::Version
|
145
150
|
version: '0'
|
151
|
+
segments:
|
152
|
+
- 0
|
153
|
+
hash: 2740199507811875689
|
146
154
|
requirements: []
|
147
155
|
rubyforge_project: license-generator
|
148
|
-
rubygems_version: 1.8.
|
156
|
+
rubygems_version: 1.8.25
|
149
157
|
signing_key:
|
150
158
|
specification_version: 3
|
151
159
|
summary: Open Source License generator
|