licensee 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/licensee.rb +5 -1
- data/lib/licensee/content_helper.rb +7 -1
- data/lib/licensee/matchers.rb +1 -0
- data/lib/licensee/matchers/gemspec.rb +31 -5
- data/lib/licensee/matchers/npm_bower.rb +1 -1
- data/lib/licensee/matchers/spdx.rb +16 -0
- data/lib/licensee/project_files/license_file.rb +6 -6
- data/lib/licensee/project_files/package_manager_file.rb +13 -8
- data/lib/licensee/project_files/project_file.rb +1 -1
- data/lib/licensee/projects.rb +1 -0
- data/lib/licensee/projects/github_project.rb +47 -0
- data/lib/licensee/version.rb +1 -1
- data/spec/bin_spec.rb +2 -1
- data/spec/fixtures/apache-with-readme-notice/LICENSE.header +16 -0
- data/spec/fixtures/markdown-gpl/LICENSE.md +361 -0
- data/spec/fixtures/webmock/licensee.json +26 -0
- data/spec/integration_spec.rb +9 -0
- data/spec/licensee/content_helper_spec.rb +5 -1
- data/spec/licensee/license_spec.rb +3 -3
- data/spec/licensee/matchers/gemspec_matcher_spec.rb +11 -1
- data/spec/licensee/matchers/npm_bower_matcher_spec.rb +11 -2
- data/spec/licensee/matchers/spdx_matcher_spec.rb +41 -0
- data/spec/licensee/project_files/license_file_spec.rb +3 -3
- data/spec/licensee/project_spec.rb +32 -5
- data/spec/licensee/projects/github_project_spec.rb +109 -0
- data/spec/licensee_spec.rb +15 -3
- data/spec/spec_helper.rb +20 -0
- data/vendor/choosealicense.com/_licenses/afl-3.0.txt +168 -41
- data/vendor/choosealicense.com/_licenses/apache-2.0.txt +2 -2
- data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +1 -1
- data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +25 -25
- data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +1 -1
- data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/epl-1.0.txt +59 -59
- data/vendor/choosealicense.com/_licenses/epl-2.0.txt +311 -0
- data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +3 -2
- data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +1 -1
- data/vendor/choosealicense.com/_licenses/isc.txt +1 -1
- data/vendor/choosealicense.com/_licenses/mit.txt +2 -2
- data/vendor/choosealicense.com/_licenses/ms-pl.txt +52 -22
- data/vendor/choosealicense.com/_licenses/ms-rl.txt +64 -21
- data/vendor/choosealicense.com/_licenses/ncsa.txt +3 -3
- data/vendor/choosealicense.com/_licenses/wtfpl.txt +1 -1
- metadata +41 -5
@@ -4,7 +4,7 @@ spdx-id: NCSA
|
|
4
4
|
nickname: UIUC/NCSA
|
5
5
|
source: https://opensource.org/licenses/NCSA
|
6
6
|
|
7
|
-
description: The University of Illinois/NCSA Open Source License, or UIUC license, is a permissive free software license, based on the <a href="/licenses/mit/">MIT/X11 license</a> and the <a href="/licenses/bsd-3-clause/">BSD 3-clause License</a>. Its conditions include requiring the preservation of copyright and license notices both in source and in binary distributions and the
|
7
|
+
description: The University of Illinois/NCSA Open Source License, or UIUC license, is a permissive free software license, based on the <a href="/licenses/mit/">MIT/X11 license</a> and the <a href="/licenses/bsd-3-clause/">BSD 3-clause License</a>. Its conditions include requiring the preservation of copyright and license notices both in source and in binary distributions and the prohibition of using the names of the authors or the project organization to promote or endorse derived products.
|
8
8
|
|
9
9
|
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
|
10
10
|
|
@@ -32,8 +32,8 @@ University of Illinois/NCSA Open Source License
|
|
32
32
|
|
33
33
|
Copyright (c) [year] [fullname]. All rights reserved.
|
34
34
|
|
35
|
-
Developed by: [
|
36
|
-
[
|
35
|
+
Developed by: [project]
|
36
|
+
[fullname]
|
37
37
|
[project_url]
|
38
38
|
|
39
39
|
Permission is hereby granted, free of charge, to any person
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: "Do What The F*ck You Want To Public License"
|
3
3
|
spdx-id: WTFPL
|
4
|
-
source: http://www.wtfpl.net/
|
4
|
+
source: http://www.wtfpl.net/txt/copying/
|
5
5
|
|
6
6
|
description: The easiest license out there. It gives the user permissions to do whatever they want with your code.
|
7
7
|
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: licensee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: octokit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.8.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.8.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rugged
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +120,28 @@ dependencies:
|
|
106
120
|
requirements:
|
107
121
|
- - "~>"
|
108
122
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
123
|
+
version: '0.49'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0.49'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: webmock
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '3.1'
|
110
138
|
type: :development
|
111
139
|
prerelease: false
|
112
140
|
version_requirements: !ruby/object:Gem::Requirement
|
113
141
|
requirements:
|
114
142
|
- - "~>"
|
115
143
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
144
|
+
version: '3.1'
|
117
145
|
description: |2
|
118
146
|
Licensee automates the process of reading LICENSE files and
|
119
147
|
compares their contents to known licenses using a fancy maths.
|
@@ -143,6 +171,7 @@ files:
|
|
143
171
|
- lib/licensee/matchers/npm_bower.rb
|
144
172
|
- lib/licensee/matchers/package.rb
|
145
173
|
- lib/licensee/matchers/reference.rb
|
174
|
+
- lib/licensee/matchers/spdx.rb
|
146
175
|
- lib/licensee/project_files.rb
|
147
176
|
- lib/licensee/project_files/license_file.rb
|
148
177
|
- lib/licensee/project_files/package_manager_file.rb
|
@@ -151,11 +180,13 @@ files:
|
|
151
180
|
- lib/licensee/projects.rb
|
152
181
|
- lib/licensee/projects/fs_project.rb
|
153
182
|
- lib/licensee/projects/git_project.rb
|
183
|
+
- lib/licensee/projects/github_project.rb
|
154
184
|
- lib/licensee/projects/project.rb
|
155
185
|
- lib/licensee/rule.rb
|
156
186
|
- lib/licensee/version.rb
|
157
187
|
- spec/bin_spec.rb
|
158
188
|
- spec/fixtures/apache-with-readme-notice/LICENSE
|
189
|
+
- spec/fixtures/apache-with-readme-notice/LICENSE.header
|
159
190
|
- spec/fixtures/apache-with-readme-notice/README.md
|
160
191
|
- spec/fixtures/bsd-plus-patents/PATENTS
|
161
192
|
- spec/fixtures/bsd-plus-patents/license.txt
|
@@ -178,6 +209,7 @@ files:
|
|
178
209
|
- spec/fixtures/license-in-parent-folder/license-folder/LICENSE.txt
|
179
210
|
- spec/fixtures/license-with-readme-reference/LICENSE
|
180
211
|
- spec/fixtures/license-with-readme-reference/README
|
212
|
+
- spec/fixtures/markdown-gpl/LICENSE.md
|
181
213
|
- spec/fixtures/mit-with-copyright/COPYRIGHT.md
|
182
214
|
- spec/fixtures/mit-with-copyright/LICENSE.txt
|
183
215
|
- spec/fixtures/mit/LICENSE.txt
|
@@ -186,6 +218,7 @@ files:
|
|
186
218
|
- spec/fixtures/multiple-license-files/LICENSE
|
187
219
|
- spec/fixtures/multiple-license-files/LICENSE.txt
|
188
220
|
- spec/fixtures/readme/README.md
|
221
|
+
- spec/fixtures/webmock/licensee.json
|
189
222
|
- spec/fixtures/wrk-modified-apache/LICENSE
|
190
223
|
- spec/integration_spec.rb
|
191
224
|
- spec/licensee/content_helper_spec.rb
|
@@ -203,11 +236,13 @@ files:
|
|
203
236
|
- spec/licensee/matchers/npm_bower_matcher_spec.rb
|
204
237
|
- spec/licensee/matchers/package_matcher_spec.rb
|
205
238
|
- spec/licensee/matchers/reference_matcher_spec.rb
|
239
|
+
- spec/licensee/matchers/spdx_matcher_spec.rb
|
206
240
|
- spec/licensee/project_files/license_file_spec.rb
|
207
241
|
- spec/licensee/project_files/package_info_spec.rb
|
208
242
|
- spec/licensee/project_files/project_file_spec.rb
|
209
243
|
- spec/licensee/project_files/readme_spec.rb
|
210
244
|
- spec/licensee/project_spec.rb
|
245
|
+
- spec/licensee/projects/github_project_spec.rb
|
211
246
|
- spec/licensee/rule_spec.rb
|
212
247
|
- spec/licensee_spec.rb
|
213
248
|
- spec/spec_helper.rb
|
@@ -228,6 +263,7 @@ files:
|
|
228
263
|
- vendor/choosealicense.com/_licenses/cc0-1.0.txt
|
229
264
|
- vendor/choosealicense.com/_licenses/ecl-2.0.txt
|
230
265
|
- vendor/choosealicense.com/_licenses/epl-1.0.txt
|
266
|
+
- vendor/choosealicense.com/_licenses/epl-2.0.txt
|
231
267
|
- vendor/choosealicense.com/_licenses/eupl-1.1.txt
|
232
268
|
- vendor/choosealicense.com/_licenses/gpl-2.0.txt
|
233
269
|
- vendor/choosealicense.com/_licenses/gpl-3.0.txt
|
@@ -266,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
302
|
version: '0'
|
267
303
|
requirements: []
|
268
304
|
rubyforge_project:
|
269
|
-
rubygems_version: 2.
|
305
|
+
rubygems_version: 2.7.4
|
270
306
|
signing_key:
|
271
307
|
specification_version: 4
|
272
308
|
summary: A Ruby Gem to detect open source project licenses
|