licensee 8.9.2 → 9.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +42 -28
  4. data/lib/licensee.rb +14 -28
  5. data/lib/licensee/content_helper.rb +38 -12
  6. data/lib/licensee/license.rb +22 -9
  7. data/lib/licensee/matchers.rb +14 -0
  8. data/lib/licensee/matchers/cabal.rb +16 -0
  9. data/lib/licensee/matchers/{copyright_matcher.rb → copyright.rb} +1 -5
  10. data/lib/licensee/matchers/{cran_matcher.rb → cran.rb} +1 -1
  11. data/lib/licensee/matchers/{dice_matcher.rb → dice.rb} +1 -7
  12. data/lib/licensee/matchers/{dist_zilla_matcher.rb → dist_zilla.rb} +1 -1
  13. data/lib/licensee/matchers/{exact_matcher.rb → exact.rb} +2 -1
  14. data/lib/licensee/matchers/gemspec.rb +24 -0
  15. data/lib/licensee/matchers/{package_matcher.rb → matcher.rb} +5 -3
  16. data/lib/licensee/matchers/{npm_bower_matcher.rb → npm_bower.rb} +2 -2
  17. data/lib/licensee/matchers/package.rb +22 -0
  18. data/lib/licensee/project_files.rb +8 -0
  19. data/lib/licensee/project_files/license_file.rb +22 -4
  20. data/lib/licensee/project_files/package_manager_file.rb +37 -0
  21. data/lib/licensee/project_files/project_file.rb +65 -0
  22. data/lib/licensee/project_files/{readme.rb → readme_file.rb} +2 -2
  23. data/lib/licensee/projects.rb +7 -0
  24. data/lib/licensee/projects/fs_project.rb +64 -27
  25. data/lib/licensee/projects/git_project.rb +49 -43
  26. data/lib/licensee/projects/project.rb +149 -0
  27. data/lib/licensee/version.rb +1 -1
  28. data/spec/bin_spec.rb +9 -2
  29. data/spec/fixtures/crlf-license/LICENSE +674 -0
  30. data/spec/fixtures/fcpl-modified-mpl/LICENSE +193 -193
  31. data/spec/fixtures/ipsum.txt +19 -0
  32. data/spec/fixtures/license-in-parent-folder/LICENSE.txt +21 -0
  33. data/spec/fixtures/license-in-parent-folder/license-folder/LICENSE.txt +21 -0
  34. data/spec/fixtures/multiple-license-files/LICENSE +362 -0
  35. data/spec/fixtures/multiple-license-files/LICENSE.txt +21 -0
  36. data/spec/integration_spec.rb +57 -22
  37. data/spec/licensee/content_helper_spec.rb +33 -9
  38. data/spec/licensee/license_spec.rb +8 -1
  39. data/spec/licensee/matchers/cabal_matcher_spec.rb +45 -0
  40. data/spec/licensee/matchers/copyright_matcher_spec.rb +1 -1
  41. data/spec/licensee/matchers/cran_matcher_spec.rb +11 -2
  42. data/spec/licensee/matchers/dice_matcher_spec.rb +1 -2
  43. data/spec/licensee/matchers/dist_zilla_matcher_spec.rb +11 -2
  44. data/spec/licensee/matchers/exact_matcher_spec.rb +1 -1
  45. data/spec/licensee/matchers/gemspec_matcher_spec.rb +19 -1
  46. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +23 -6
  47. data/spec/licensee/matchers/package_matcher_spec.rb +31 -2
  48. data/spec/licensee/project_files/license_file_spec.rb +62 -6
  49. data/spec/licensee/project_files/package_info_spec.rb +10 -1
  50. data/spec/{project_file_spec.rb → licensee/project_files/project_file_spec.rb} +14 -1
  51. data/spec/licensee/project_files/readme_spec.rb +1 -1
  52. data/spec/licensee/project_spec.rb +134 -9
  53. data/spec/licensee_spec.rb +4 -3
  54. data/spec/spec_helper.rb +12 -23
  55. data/spec/vendored_license_spec.rb +16 -13
  56. metadata +29 -17
  57. data/lib/licensee/matchers/gemspec_matcher.rb +0 -19
  58. data/lib/licensee/project.rb +0 -87
  59. data/lib/licensee/project_file.rb +0 -39
  60. data/lib/licensee/project_files/package_info.rb +0 -31
@@ -1,193 +1,193 @@
1
- Foundation Center Public License v. 1.0
2
-
3
- 1. Definitions
4
-
5
- 1.1. "Contributor" means each individual or legal entity that creates, contributes to the creation of, or owns Covered Software.
6
-
7
- 1.2. "Contributor Version" means the combination of the Contributions of others (if any) used by a Contributor and that
8
- particular Contributor's Contribution.
9
-
10
- 1.3. "Contribution" means Covered Software of a particular Contributor.
11
-
12
- 1.4. "Covered Software" means Source Code Form to which the initial Contributor has attached the notice in Exhibit A,
13
- the Executable Form of such Source Code Form, and Modifications of such Source Code Form, in each case including portions thereof.
14
-
15
- 1.5. "Incompatible With Secondary Licenses" means
16
- 1.5.1. that the initial Contributor has attached the notice described in Exhibit B to the Covered Software; or
17
- 1.5.2. that the Covered Software was made available under the terms of version 1.1 or earlier of the License, but not also under the terms of a Secondary License.
18
-
19
- 1.6. "Executable Form" means any form of the work other than Source Code Form.
20
-
21
- 1.7. "Larger Work" means a work that combines Covered Software with other material, in a separate file or files, that is not Covered Software.
22
-
23
- 1.8. "License" means this document.
24
-
25
- 1.9. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial
26
- grant or subsequently, any and all of the rights conveyed by this License.
27
-
28
- 1.10. "Modifications" means any of the following:
29
- 1.10.1. any file in Source Code Form that results from an addition to, deletion from, or modification of the contents of Covered Software; or
30
- 1.10.2. any new file in Source Code Form that contains any Covered Software.
31
-
32
- 1.11. "Patent Claims" of a Contributor means any patent claim(s), including without limitation, method, process, and apparatus claims, in any patent
33
- Licensable by such Contributor that would be infringed, but for the grant of the License, by the making, using, selling, offering for sale, having
34
- made, import, or transfer of either its Contributions or its Contributor Version.
35
-
36
- 1.12. "Secondary License" means either the GNU General Public License, Version 2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero
37
- General Public License, Version 3.0, or any later versions of those licenses.
38
-
39
- 1.13. "Source Code Form" means the form of the work preferred for making modifications.
40
-
41
- 1.14. "You" (or "Your") means an individual or a legal entity exercising rights under this License. For legal entities, "You" includes any entity that
42
- controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to
43
- cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding
44
- shares or beneficial ownership of such entity.
45
-
46
- 2. License Grants and Conditions
47
-
48
- 2.1. Grants. Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
49
- 2.1.1. under intellectual property rights (other than patent or trademark) Licensable by such Contributor to use, reproduce, make available, modify,
50
- display, perform, distribute, and otherwise exploit its Contributions, either on an unmodified basis, with Modifications, or as part of a Larger Work; and
51
- 2.1.2. under Patent Claims of such Contributor to make, use, have made, import, or transfer either its Contributions or its Contributor Version.
52
-
53
- 2.2. Effective Date. The licenses granted in Section 2.1 with respect to any Contribution become effective for each Contribution on the date the
54
- Contributor first distributes such Contribution.
55
-
56
- 2.3. Limitations on Grant Scope. The licenses granted in this Section 2 are the only rights granted under this License. No additional rights or licenses
57
- will be implied from the distribution or licensing of Covered Software under this License. Notwithstanding Section 2.1(b) above, no patent license is
58
- granted by a Contributor:
59
- 2.3.1. for any code that a Contributor has removed from Covered Software; or
60
- 2.3.2. for infringements caused by: (i) Your and any other third party's modifications of Covered Software, or (ii) the combination of its Contributions
61
- with other software (except as part of its Contributor Version); or
62
- 2.3.3. under Patent Claims infringed by Covered Software in the absence of its Contributions.
63
-
64
- This License does not grant any rights in the trademarks, service marks, or logos of any Contributor (except as may be necessary to comply with the notice
65
- requirements in Section 3.4).
66
-
67
- Additionally, this License does not grant any rights to You for use of the Covered Software in any commercial use , including but not limited to the sale or
68
- offer to sell the Covered Software, without proper properly attribution to Foundation Center or other Contributor.
69
-
70
- 2.4. Subsequent Licenses. No Contributor makes additional grants as a result of Your choice to distribute the Covered Software under a subsequent version
71
- of this License (see Section 10.2) or under the terms of a Secondary License (if permitted under the terms of Section 3.3).
72
-
73
- 2.5. Representation. Each Contributor represents that the Contributor believes its Contributions are its original creation(s) or it has sufficient rights
74
- to grant the rights to its Contributions conveyed by this License.
75
-
76
- 2.6. Fair Use. This License is not intended to limit any rights You have under applicable copyright doctrines of fair use, fair dealing, or other
77
- equivalents.
78
-
79
- 2.7. Conditions. Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in Section 2.1.
80
-
81
- 3. Responsibilities
82
-
83
- 3.1. Distribution of Source Form. All distribution of Covered Software in Source Code Form, including any Modifications that You create or to which You
84
- contribute, must be under the terms of this License. You must inform recipients that the Source Code Form of the Covered Software is governed by the
85
- terms of this License, and how they can obtain a copy of this License. You may not attempt to alter or restrict the recipients' rights in the Source Code Form.
86
-
87
- 3.2. Distribution of Executable Form. If You distribute Covered Software in Executable Form then:
88
- 3.2.1. such Covered Software must also be made available in Source Code Form, as described in Section 3.1, and You must inform recipients of the Executable
89
- Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner, at a charge no more than the cost of distribution to the
90
- recipient; and
91
- 3.2.2. You may distribute such Executable Form under the terms of this License, or sublicense it under different terms, provided that the license for the
92
- Executable Form does not attempt to limit or alter the recipients' rights in the Source Code Form under this License.
93
-
94
- 3.3. Distribution of a Larger Work. You may create and distribute a Larger Work under terms of Your choice, provided that You also comply with the
95
- requirements of this License for the Covered Software. If the Larger Work is a combination of Covered Software with a work governed by one or more
96
- Secondary Licenses, and the Covered Software is not Incompatible With Secondary Licenses, this License permits You to additionally distribute such
97
- Covered Software under the terms of such Secondary License(s), so that the recipient of the Larger Work may, at their option, further distribute the
98
- Covered Software under the terms of either this License or such Secondary License(s).
99
-
100
- 3.4. Notices.
101
-
102
- 3.4.1. You may not remove or alter the substance of any license notices (including copyright notices, patent notices, disclaimers of warranty, or
103
- limitations of liability) contained within the Source Code Form of the Covered Software, except that You may alter any license notices to the extent
104
- required to remedy known factual inaccuracies.
105
-
106
- 3.4.2. Furthermore, for any use of the Covered Software by You not used solely for internal use, You must include in a visible and conspicuous manner to
107
- the user, attribution to the Foundation Center.
108
-
109
- 3.4.3.5. Application of Additional Terms. You may choose to offer, and to charge a fee only for, warranty, support, indemnity or liability obligations to
110
- one or more recipients of Covered Software. However, You may do so only on Your own behalf, and not on behalf of any Contributor. You must make it
111
- absolutely clear that any such warranty, support, indemnity, or liability obligation is offered by You alone, and You hereby agree to indemnify every
112
- Contributor for any liability incurred by such Contributor as a result of warranty, support, indemnity or liability terms You offer. You may include
113
- additional disclaimers of warranty and limitations of liability specific to any jurisdiction.
114
-
115
- 4. Inability to Comply Due to Statute or Regulation
116
-
117
- If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Software due to statute, judicial order,
118
- or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they
119
- affect. Such description must be placed in a text file included with all distributions of the Covered Software under this License. Except to the extent
120
- prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
121
-
122
- 5. Termination
123
-
124
- 5.1. The rights granted under this License will terminate automatically if You fail to comply with any of its terms. However, if You become compliant,
125
- then the rights granted under this License from a particular Contributor are reinstated (a) provisionally, unless and until such Contributor explicitly
126
- and finally terminates Your grants, and (b) on an ongoing basis, if such Contributor fails to notify You of the non-compliance by some reasonable means
127
- prior to 60 days after You have come back into compliance. Moreover, Your grants from a particular Contributor are reinstated on an ongoing basis if such
128
- Contributor notifies You of the non-compliance by some reasonable means, this is the first time You have received notice of non-compliance with this
129
- License from such Contributor, and You become compliant prior to 30 days after Your receipt of the notice.
130
-
131
- 5.2. If You initiate litigation against any entity by asserting a patent infringement claim (excluding declaratory judgment actions, counter-claims, and
132
- cross-claims) alleging that a Contributor Version directly or indirectly infringes any patent, then the rights granted to You by any and all Contributors
133
- for the Covered Software under Section 2.1 of this License shall terminate.
134
-
135
- 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements (excluding distributors and resellers) which have been
136
- validly granted by You or Your distributors under this License prior to termination shall survive termination.
137
-
138
- 6. Disclaimer of Warranty
139
-
140
- Covered Software is provided under this License on an "as is" basis, without warranty of any kind, either expressed, implied, or statutory, including,
141
- without limitation, warranties that the Covered Software is free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as
142
- to the quality and performance of the Covered Software is with You. Should any Covered Software prove defective in any respect, You (not any Contributor)
143
- assume the cost of any necessary servicing, repair, or correction. This disclaimer of warranty constitutes an essential part of this License. No use of any
144
- Covered Software is authorized under this License except under this disclaimer.
145
-
146
- 7. Limitation of Liability
147
-
148
- Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall any Contributor, or anyone who distributes
149
- Covered Software as permitted above, be liable to You for any direct, indirect, special, incidental, or consequential damages of any character including,
150
- without limitation, damages for lost profits, loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or
151
- losses, even if such party shall have been informed of the possibility of such damages. This limitation of liability shall not apply to liability for death
152
- or personal injury resulting from such party's negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion
153
- or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You.
154
-
155
- 8. Litigation
156
-
157
- Any litigation relating to this License may be brought only in the courts of a jurisdiction where the defendant maintains its principal place of business and
158
- such litigation shall be governed by laws of that jurisdiction, without reference to its conflict-of-law provisions. Nothing in this Section shall prevent a
159
- party's ability to bring cross-claims or counter-claims.
160
-
161
- 9. Miscellaneous
162
-
163
- This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such
164
- provision shall be reformed only to the extent necessary to make it enforceable. Any law or regulation which provides that the language of a contract shall be
165
- construed against the drafter shall not be used to construe this License against a Contributor.
166
-
167
- 10. Versions of the License
168
-
169
- 10.1. New Versions. Foundation Center is the license steward. Except as provided in Section 10.3, no one other than the license steward has the right to
170
- modify or publish new versions of this License. Each version will be given a distinguishing version number.
171
-
172
- 10.2. Effect of New Versions. You may distribute the Covered Software under the terms of the version of the License under which You originally received
173
- the Covered Software, or under the terms of any subsequent version published by the license steward.
174
-
175
- 10.3. Modified Versions. If you create software not governed by this License, and you want to create a new license for such software, you may create and
176
- use a modified version of this License if you rename the license and remove any references to the name of the license steward (except to note that such
177
- modified license differs from this License).
178
-
179
- 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses. If You choose to distribute Source Code Form that is Incompatible With
180
- Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached.
181
-
182
- Exhibit A - Source Code Form License Notice
183
-
184
- This Source Code Form is subject to the terms of this License. If a copy of the License was not distributed with this file, You can obtain one at
185
- http://gis.foundationcenter.org/licenses/LICENSE-1.0.html
186
-
187
- Note: If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a
188
- relevant directory) where a recipient would be likely to look for such a notice.
189
-
190
-
191
- Exhibit B - "Incompatible With Secondary Licenses" Notice
192
-
193
- This Source Code Form is "Incompatible With Secondary Licenses", as defined by this License.
1
+ Foundation Center Public License v. 1.0
2
+
3
+ 1. Definitions
4
+
5
+ 1.1. "Contributor" means each individual or legal entity that creates, contributes to the creation of, or owns Covered Software.
6
+
7
+ 1.2. "Contributor Version" means the combination of the Contributions of others (if any) used by a Contributor and that
8
+ particular Contributor's Contribution.
9
+
10
+ 1.3. "Contribution" means Covered Software of a particular Contributor.
11
+
12
+ 1.4. "Covered Software" means Source Code Form to which the initial Contributor has attached the notice in Exhibit A,
13
+ the Executable Form of such Source Code Form, and Modifications of such Source Code Form, in each case including portions thereof.
14
+
15
+ 1.5. "Incompatible With Secondary Licenses" means
16
+ 1.5.1. that the initial Contributor has attached the notice described in Exhibit B to the Covered Software; or
17
+ 1.5.2. that the Covered Software was made available under the terms of version 1.1 or earlier of the License, but not also under the terms of a Secondary License.
18
+
19
+ 1.6. "Executable Form" means any form of the work other than Source Code Form.
20
+
21
+ 1.7. "Larger Work" means a work that combines Covered Software with other material, in a separate file or files, that is not Covered Software.
22
+
23
+ 1.8. "License" means this document.
24
+
25
+ 1.9. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial
26
+ grant or subsequently, any and all of the rights conveyed by this License.
27
+
28
+ 1.10. "Modifications" means any of the following:
29
+ 1.10.1. any file in Source Code Form that results from an addition to, deletion from, or modification of the contents of Covered Software; or
30
+ 1.10.2. any new file in Source Code Form that contains any Covered Software.
31
+
32
+ 1.11. "Patent Claims" of a Contributor means any patent claim(s), including without limitation, method, process, and apparatus claims, in any patent
33
+ Licensable by such Contributor that would be infringed, but for the grant of the License, by the making, using, selling, offering for sale, having
34
+ made, import, or transfer of either its Contributions or its Contributor Version.
35
+
36
+ 1.12. "Secondary License" means either the GNU General Public License, Version 2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero
37
+ General Public License, Version 3.0, or any later versions of those licenses.
38
+
39
+ 1.13. "Source Code Form" means the form of the work preferred for making modifications.
40
+
41
+ 1.14. "You" (or "Your") means an individual or a legal entity exercising rights under this License. For legal entities, "You" includes any entity that
42
+ controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to
43
+ cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding
44
+ shares or beneficial ownership of such entity.
45
+
46
+ 2. License Grants and Conditions
47
+
48
+ 2.1. Grants. Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
49
+ 2.1.1. under intellectual property rights (other than patent or trademark) Licensable by such Contributor to use, reproduce, make available, modify,
50
+ display, perform, distribute, and otherwise exploit its Contributions, either on an unmodified basis, with Modifications, or as part of a Larger Work; and
51
+ 2.1.2. under Patent Claims of such Contributor to make, use, have made, import, or transfer either its Contributions or its Contributor Version.
52
+
53
+ 2.2. Effective Date. The licenses granted in Section 2.1 with respect to any Contribution become effective for each Contribution on the date the
54
+ Contributor first distributes such Contribution.
55
+
56
+ 2.3. Limitations on Grant Scope. The licenses granted in this Section 2 are the only rights granted under this License. No additional rights or licenses
57
+ will be implied from the distribution or licensing of Covered Software under this License. Notwithstanding Section 2.1(b) above, no patent license is
58
+ granted by a Contributor:
59
+ 2.3.1. for any code that a Contributor has removed from Covered Software; or
60
+ 2.3.2. for infringements caused by: (i) Your and any other third party's modifications of Covered Software, or (ii) the combination of its Contributions
61
+ with other software (except as part of its Contributor Version); or
62
+ 2.3.3. under Patent Claims infringed by Covered Software in the absence of its Contributions.
63
+
64
+ This License does not grant any rights in the trademarks, service marks, or logos of any Contributor (except as may be necessary to comply with the notice
65
+ requirements in Section 3.4).
66
+
67
+ Additionally, this License does not grant any rights to You for use of the Covered Software in any commercial use , including but not limited to the sale or
68
+ offer to sell the Covered Software, without proper properly attribution to Foundation Center or other Contributor.
69
+
70
+ 2.4. Subsequent Licenses. No Contributor makes additional grants as a result of Your choice to distribute the Covered Software under a subsequent version
71
+ of this License (see Section 10.2) or under the terms of a Secondary License (if permitted under the terms of Section 3.3).
72
+
73
+ 2.5. Representation. Each Contributor represents that the Contributor believes its Contributions are its original creation(s) or it has sufficient rights
74
+ to grant the rights to its Contributions conveyed by this License.
75
+
76
+ 2.6. Fair Use. This License is not intended to limit any rights You have under applicable copyright doctrines of fair use, fair dealing, or other
77
+ equivalents.
78
+
79
+ 2.7. Conditions. Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in Section 2.1.
80
+
81
+ 3. Responsibilities
82
+
83
+ 3.1. Distribution of Source Form. All distribution of Covered Software in Source Code Form, including any Modifications that You create or to which You
84
+ contribute, must be under the terms of this License. You must inform recipients that the Source Code Form of the Covered Software is governed by the
85
+ terms of this License, and how they can obtain a copy of this License. You may not attempt to alter or restrict the recipients' rights in the Source Code Form.
86
+
87
+ 3.2. Distribution of Executable Form. If You distribute Covered Software in Executable Form then:
88
+ 3.2.1. such Covered Software must also be made available in Source Code Form, as described in Section 3.1, and You must inform recipients of the Executable
89
+ Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner, at a charge no more than the cost of distribution to the
90
+ recipient; and
91
+ 3.2.2. You may distribute such Executable Form under the terms of this License, or sublicense it under different terms, provided that the license for the
92
+ Executable Form does not attempt to limit or alter the recipients' rights in the Source Code Form under this License.
93
+
94
+ 3.3. Distribution of a Larger Work. You may create and distribute a Larger Work under terms of Your choice, provided that You also comply with the
95
+ requirements of this License for the Covered Software. If the Larger Work is a combination of Covered Software with a work governed by one or more
96
+ Secondary Licenses, and the Covered Software is not Incompatible With Secondary Licenses, this License permits You to additionally distribute such
97
+ Covered Software under the terms of such Secondary License(s), so that the recipient of the Larger Work may, at their option, further distribute the
98
+ Covered Software under the terms of either this License or such Secondary License(s).
99
+
100
+ 3.4. Notices.
101
+
102
+ 3.4.1. You may not remove or alter the substance of any license notices (including copyright notices, patent notices, disclaimers of warranty, or
103
+ limitations of liability) contained within the Source Code Form of the Covered Software, except that You may alter any license notices to the extent
104
+ required to remedy known factual inaccuracies.
105
+
106
+ 3.4.2. Furthermore, for any use of the Covered Software by You not used solely for internal use, You must include in a visible and conspicuous manner to
107
+ the user, attribution to the Foundation Center.
108
+
109
+ 3.4.3.5. Application of Additional Terms. You may choose to offer, and to charge a fee only for, warranty, support, indemnity or liability obligations to
110
+ one or more recipients of Covered Software. However, You may do so only on Your own behalf, and not on behalf of any Contributor. You must make it
111
+ absolutely clear that any such warranty, support, indemnity, or liability obligation is offered by You alone, and You hereby agree to indemnify every
112
+ Contributor for any liability incurred by such Contributor as a result of warranty, support, indemnity or liability terms You offer. You may include
113
+ additional disclaimers of warranty and limitations of liability specific to any jurisdiction.
114
+
115
+ 4. Inability to Comply Due to Statute or Regulation
116
+
117
+ If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Software due to statute, judicial order,
118
+ or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they
119
+ affect. Such description must be placed in a text file included with all distributions of the Covered Software under this License. Except to the extent
120
+ prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
121
+
122
+ 5. Termination
123
+
124
+ 5.1. The rights granted under this License will terminate automatically if You fail to comply with any of its terms. However, if You become compliant,
125
+ then the rights granted under this License from a particular Contributor are reinstated (a) provisionally, unless and until such Contributor explicitly
126
+ and finally terminates Your grants, and (b) on an ongoing basis, if such Contributor fails to notify You of the non-compliance by some reasonable means
127
+ prior to 60 days after You have come back into compliance. Moreover, Your grants from a particular Contributor are reinstated on an ongoing basis if such
128
+ Contributor notifies You of the non-compliance by some reasonable means, this is the first time You have received notice of non-compliance with this
129
+ License from such Contributor, and You become compliant prior to 30 days after Your receipt of the notice.
130
+
131
+ 5.2. If You initiate litigation against any entity by asserting a patent infringement claim (excluding declaratory judgment actions, counter-claims, and
132
+ cross-claims) alleging that a Contributor Version directly or indirectly infringes any patent, then the rights granted to You by any and all Contributors
133
+ for the Covered Software under Section 2.1 of this License shall terminate.
134
+
135
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements (excluding distributors and resellers) which have been
136
+ validly granted by You or Your distributors under this License prior to termination shall survive termination.
137
+
138
+ 6. Disclaimer of Warranty
139
+
140
+ Covered Software is provided under this License on an "as is" basis, without warranty of any kind, either expressed, implied, or statutory, including,
141
+ without limitation, warranties that the Covered Software is free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as
142
+ to the quality and performance of the Covered Software is with You. Should any Covered Software prove defective in any respect, You (not any Contributor)
143
+ assume the cost of any necessary servicing, repair, or correction. This disclaimer of warranty constitutes an essential part of this License. No use of any
144
+ Covered Software is authorized under this License except under this disclaimer.
145
+
146
+ 7. Limitation of Liability
147
+
148
+ Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall any Contributor, or anyone who distributes
149
+ Covered Software as permitted above, be liable to You for any direct, indirect, special, incidental, or consequential damages of any character including,
150
+ without limitation, damages for lost profits, loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or
151
+ losses, even if such party shall have been informed of the possibility of such damages. This limitation of liability shall not apply to liability for death
152
+ or personal injury resulting from such party's negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion
153
+ or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You.
154
+
155
+ 8. Litigation
156
+
157
+ Any litigation relating to this License may be brought only in the courts of a jurisdiction where the defendant maintains its principal place of business and
158
+ such litigation shall be governed by laws of that jurisdiction, without reference to its conflict-of-law provisions. Nothing in this Section shall prevent a
159
+ party's ability to bring cross-claims or counter-claims.
160
+
161
+ 9. Miscellaneous
162
+
163
+ This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such
164
+ provision shall be reformed only to the extent necessary to make it enforceable. Any law or regulation which provides that the language of a contract shall be
165
+ construed against the drafter shall not be used to construe this License against a Contributor.
166
+
167
+ 10. Versions of the License
168
+
169
+ 10.1. New Versions. Foundation Center is the license steward. Except as provided in Section 10.3, no one other than the license steward has the right to
170
+ modify or publish new versions of this License. Each version will be given a distinguishing version number.
171
+
172
+ 10.2. Effect of New Versions. You may distribute the Covered Software under the terms of the version of the License under which You originally received
173
+ the Covered Software, or under the terms of any subsequent version published by the license steward.
174
+
175
+ 10.3. Modified Versions. If you create software not governed by this License, and you want to create a new license for such software, you may create and
176
+ use a modified version of this License if you rename the license and remove any references to the name of the license steward (except to note that such
177
+ modified license differs from this License).
178
+
179
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses. If You choose to distribute Source Code Form that is Incompatible With
180
+ Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached.
181
+
182
+ Exhibit A - Source Code Form License Notice
183
+
184
+ This Source Code Form is subject to the terms of this License. If a copy of the License was not distributed with this file, You can obtain one at
185
+ http://gis.foundationcenter.org/licenses/LICENSE-1.0.html
186
+
187
+ Note: If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a
188
+ relevant directory) where a recipient would be likely to look for such a notice.
189
+
190
+
191
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
192
+
193
+ This Source Code Form is "Incompatible With Secondary Licenses", as defined by this License.
@@ -0,0 +1,19 @@
1
+ Lorem ipsum dolor sit amet consectetur adipiscing elit Nullam vel nisi leo Quisque sagittis ex aliquam blandit malesuada tortor tortor tincidunt nisi id pulvinar ex lacus vel justo Nullam in sodales velit Morbi tortor mauris suscipit a lectus sit amet fermentum pretium orci Phasellus euismod leo at blandit luctus Aliquam fringilla convallis faucibus Vivamus finibus lorem in blandit facilisis erat nunc consectetur purus ac vehicula mauris erat sit amet magna Sed tincidunt odio diam id faucibus nisl blandit vitae Sed euismod ut elit quis faucibus Donec id tortor erat Pellentesque faucibus dictum venenatis
2
+
3
+ Fusce enim ex lacinia quis magna a pulvinar porttitor massa Praesent convallis arcu ac nisi sollicitudin sed convallis tortor iaculis Donec ante purus congue eu ullamcorper venenatis malesuada ut neque Fusce quis risus arcu Curabitur eget maximus diam Nulla gravida nisl non facilisis varius Duis accumsan nunc velit nec efficitur augue molestie sed Fusce eu vestibulum nibh Nullam sagittis porta nunc sed hendrerit erat facilisis sagittis Nullam vulputate augue in nisl tempor eu efficitur nisl vulputate Donec eget arcu hendrerit rutrum orci sed faucibus est Donec ut elit vel leo rutrum porttitor interdum quis turpis Pellentesque molestie massa id sodales varius Fusce iaculis est non tempor ultricies velit ligula rutrum diam in tristique magna leo et metus Nullam porta ac ipsum vel sodales Morbi mollis lorem at dictum faucibus
4
+
5
+ Suspendisse mollis turpis semper erat tempus pulvinar Quisque pellentesque suscipit bibendum Phasellus quis euismod quam Nam eu cursus sem Nulla mattis maximus ligula quis convallis Aliquam sed nulla felis Nunc sed turpis metus Morbi fringilla aliquet leo a posuere eros volutpat id
6
+
7
+ Cras faucibus ex diam nec posuere dolor porttitor eu Duis non tortor vel mauris gravida facilisis nec eget nibh Curabitur consectetur justo nec nibh aliquet varius Maecenas laoreet augue eu magna mollis at sollicitudin purus lobortis Morbi bibendum ante vel faucibus ornare libero sem dictum nunc id tempor enim magna ac lacus Curabitur semper turpis et venenatis congue Vivamus lobortis volutpat tellus Aliquam vitae est eu sem imperdiet pharetra Sed lectus magna faucibus nec nisi ullamcorper commodo consequat dui Fusce euismod auctor orci sit amet vulputate Duis sollicitudin luctus purus eu mollis Ut id vehicula ipsum a semper lorem Fusce pellentesque massa neque Etiam porta nisl sit amet faucibus vulputate enim velit finibus felis vel tristique mi sem hendrerit nunc Integer sit amet nulla nec arcu suscipit pellentesque
8
+
9
+ Curabitur sed hendrerit nisl Morbi molestie dui sit amet scelerisque hendrerit dui libero sollicitudin erat ut porta tellus mauris eget mi Pellentesque sodales blandit tempus Mauris vitae iaculis ipsum Donec dictum massa vitae nisi sodales nec varius arcu ornare Etiam tincidunt mollis tellus in tempus Ut mollis sem leo a suscipit diam congue ac Quisque sed lorem tortor
10
+
11
+ Cras commodo ante vitae nisi dignissim bibendum Sed porta ipsum elit eu posuere ipsum pretium quis Aliquam erat volutpat Duis sit amet ex ligula Aliquam dictum sagittis sem ac cursus Quisque sed turpis facilisis hendrerit mauris at varius felis Aenean ac lectus commodo pellentesque nunc id euismod tellus Praesent semper metus id dolor fringilla tempus Vestibulum vitae pretium lacus Nam ut egestas risus
12
+
13
+ Nam tempus diam et nulla facilisis ullamcorper Duis diam quam imperdiet ut sapien in condimentum facilisis dui Fusce dignissim dolor vel ipsum tristique at lobortis enim ullamcorper Vestibulum odio nisl volutpat in purus in molestie ultricies metus Etiam pharetra ullamcorper finibus Nulla venenatis eu leo eget finibus Aliquam eu sem porta gravida lorem nec porta nulla Fusce eu augue lectus Nulla molestie dapibus orci et aliquet nulla scelerisque eu Quisque diam ipsum vestibulum faucibus diam iaculis lobortis feugiat est Sed consequat ipsum lobortis ligula tincidunt viverra
14
+
15
+ Etiam commodo libero sit amet aliquam blandit In massa diam venenatis sit amet venenatis sit amet egestas at purus Aliquam erat volutpat Vestibulum laoreet lacus ut nulla ullamcorper venenatis Sed bibendum eleifend aliquet Pellentesque sem tellus maximus vitae auctor ut dapibus eu ligula Nam ornare fermentum dolor vel condimentum Donec est ex auctor quis finibus quis hendrerit in dui Ut rhoncus et nunc ut commodo Integer velit diam porta lacinia quam id convallis efficitur metus Donec vulputate ullamcorper tellus ut tincidunt Nam eget consequat tellus Duis fringilla venenatis leo at tempus Suspendisse tincidunt velit gravida velit ultricies lacinia Vivamus tempor fringilla nunc quis rhoncus
16
+
17
+ Mauris lobortis ante nec facilisis ornare arcu sem malesuada velit sit amet dapibus ligula tellus nec ligula Cras hendrerit lectus eu pharetra accumsan mauris risus tristique ipsum sed auctor magna lectus eget erat Donec orci ex pretium hendrerit facilisis eget scelerisque id erat Donec condimentum quam ut accumsan sagittis tellus velit efficitur massa vitae tincidunt tortor orci nec orci Proin rutrum feugiat cursus Suspendisse potenti Duis finibus nibh a libero hendrerit pretium Aliquam posuere sodales massa non semper Nulla vulputate ex vel consequat tincidunt ligula tellus semper eros eu mattis massa ligula non metus
18
+
19
+ Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae In velit metus pretium vitae lectus ac condimentum auctor tellus Nulla a ante id arcu tempus semper Etiam sit amet iaculis orci Fusce ullamcorper commodo massa quis aliquam Etiam quis tellus quis ex porta finibus vel vel elit Suspendisse semper egestas erat nec dapibus libero dapibus id In sit amet elit consequat volutpat mauris sit amet sagittis erat Integer ut risus sit amet lectus imperdiet iaculis Fusce aliquam consectetur commodo Morbi posuere nec metus non tincidunt Quisque ut nunc in tortor dictum scelerisque vitae sit amet ante Donec et ante vel purus tincidunt tristique viverra in risus Morbi cursus lacus at augue pretium ornare Vestibulum feugiat sed nibh nec tempus Nunc auctor sodales pellentesque
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Ben Balter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Ben Balter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.