licensee 8.3.1 → 8.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/licensee/content_helper.rb +29 -1
- data/lib/licensee/license.rb +4 -0
- data/lib/licensee/matchers/copyright_matcher.rb +2 -1
- data/lib/licensee/matchers/dice_matcher.rb +10 -35
- data/lib/licensee/matchers/exact_matcher.rb +3 -1
- data/lib/licensee/project.rb +36 -2
- data/lib/licensee/project_files/license_file.rb +5 -0
- data/lib/licensee/projects/fs_project.rb +14 -9
- data/lib/licensee/projects/git_project.rb +14 -13
- data/lib/licensee/version.rb +1 -1
- data/lib/licensee.rb +7 -1
- data/test/fixtures/lgpl.git/HEAD +1 -0
- data/test/fixtures/lgpl.git/config +5 -0
- data/test/fixtures/lgpl.git/objects/1a/cd060ebbbeac294200008657d9502130f93465 +2 -0
- data/test/fixtures/lgpl.git/objects/4b/1f98c1e95b6d4dae0b0a160f554be97e5afece +2 -0
- data/test/fixtures/lgpl.git/objects/a4/cfa42bc8e1d432fa851c5c4e3f294f01e05fd3 +0 -0
- data/test/fixtures/lgpl.git/objects/b7/de6e186bd02935030f5d42867ea7043fb1c27c +0 -0
- data/test/fixtures/lgpl.git/objects/dd/d0e017b1bf39218a6ea4f2fadd29a7ea8ebe03 +0 -0
- data/test/fixtures/lgpl.git/objects/eb/d853e83a2d317422c52f3922f4c9c5bb4a10b7 +0 -0
- data/test/fixtures/lgpl.git/refs/heads/master +1 -0
- data/test/functions.rb +16 -9
- data/test/{test_licensee_copyright_matcher.rb → licensee/matchers/test_copyright_matcher.rb} +6 -0
- data/test/{test_licensee_dice_matcher.rb → licensee/matchers/test_dice_matcher.rb} +11 -2
- data/test/{test_licensee_exact_matcher.rb → licensee/matchers/test_exact_matcher.rb} +8 -0
- data/test/{test_licensee_gemspec_matcher.rb → licensee/matchers/test_gemspec_matcher.rb} +1 -1
- data/test/{test_licensee_npm_bower_matcher.rb → licensee/matchers/test_npm_bower_matcher.rb} +0 -0
- data/test/licensee/matchers/test_package_matcher.rb +27 -0
- data/test/{test_licensee_license_file.rb → licensee/project_files/test_license_file.rb} +15 -0
- data/test/{test_licensee_package_info.rb → licensee/project_files/test_package_info.rb} +0 -0
- data/test/{test_licensee_readme.rb → licensee/project_files/test_readme.rb} +0 -0
- data/test/licensee/test_content_helper.rb +56 -0
- data/test/{test_licensee_license.rb → licensee/test_license.rb} +11 -0
- data/test/{test_licensee_project.rb → licensee/test_project.rb} +5 -0
- data/test/{test_licensee_project_file.rb → licensee/test_project_file.rb} +0 -0
- data/test/test_licensee.rb +6 -2
- data/vendor/choosealicense.com/_licenses/afl-3.0.txt +5 -4
- data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +8 -7
- data/vendor/choosealicense.com/_licenses/apache-2.0.txt +5 -4
- data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +6 -5
- data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +4 -3
- data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +5 -5
- data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +4 -3
- data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +5 -4
- data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +6 -5
- data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +1 -0
- data/vendor/choosealicense.com/_licenses/epl-1.0.txt +6 -5
- data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +8 -7
- data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +7 -6
- data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +7 -6
- data/vendor/choosealicense.com/_licenses/isc.txt +4 -3
- data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +7 -6
- data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +7 -7
- data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +6 -5
- data/vendor/choosealicense.com/_licenses/mit.txt +4 -3
- data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +6 -5
- data/vendor/choosealicense.com/_licenses/ms-pl.txt +4 -4
- data/vendor/choosealicense.com/_licenses/ms-rl.txt +7 -7
- data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +4 -4
- data/vendor/choosealicense.com/_licenses/osl-3.0.txt +7 -7
- data/vendor/choosealicense.com/_licenses/unlicense.txt +6 -1
- data/vendor/choosealicense.com/_licenses/wtfpl.txt +2 -2
- data/vendor/choosealicense.com/_licenses/zlib.txt +5 -4
- metadata +24 -13
@@ -7,14 +7,14 @@ description: The easiest license out there. It gives the user permissions to do
|
|
7
7
|
|
8
8
|
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.
|
9
9
|
|
10
|
-
conditions: []
|
11
|
-
|
12
10
|
permissions:
|
13
11
|
- commercial-use
|
14
12
|
- modifications
|
15
13
|
- distribution
|
16
14
|
- private-use
|
17
15
|
|
16
|
+
conditions: []
|
17
|
+
|
18
18
|
limitations: []
|
19
19
|
|
20
20
|
---
|
@@ -7,18 +7,19 @@ description: A short permissive license, compatible with GPL. Requires altered s
|
|
7
7
|
|
8
8
|
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.
|
9
9
|
|
10
|
-
conditions:
|
11
|
-
- include-copyright
|
12
|
-
- document-changes
|
13
|
-
|
14
10
|
permissions:
|
15
11
|
- commercial-use
|
16
12
|
- modifications
|
17
13
|
- distribution
|
18
14
|
- private-use
|
19
15
|
|
16
|
+
conditions:
|
17
|
+
- include-copyright
|
18
|
+
- document-changes
|
19
|
+
|
20
20
|
limitations:
|
21
21
|
- no-liability
|
22
|
+
|
22
23
|
---
|
23
24
|
|
24
25
|
zlib License
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: licensee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.4.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: 2016-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|
@@ -137,6 +137,15 @@ files:
|
|
137
137
|
- test/fixtures/case-sensitive.git/objects/fb/ddf40ba5f30225af7cd9841afe374ca5800cb9
|
138
138
|
- test/fixtures/case-sensitive.git/refs/heads/master
|
139
139
|
- test/fixtures/isc-without-title/isc.txt
|
140
|
+
- test/fixtures/lgpl.git/HEAD
|
141
|
+
- test/fixtures/lgpl.git/config
|
142
|
+
- test/fixtures/lgpl.git/objects/1a/cd060ebbbeac294200008657d9502130f93465
|
143
|
+
- test/fixtures/lgpl.git/objects/4b/1f98c1e95b6d4dae0b0a160f554be97e5afece
|
144
|
+
- test/fixtures/lgpl.git/objects/a4/cfa42bc8e1d432fa851c5c4e3f294f01e05fd3
|
145
|
+
- test/fixtures/lgpl.git/objects/b7/de6e186bd02935030f5d42867ea7043fb1c27c
|
146
|
+
- test/fixtures/lgpl.git/objects/dd/d0e017b1bf39218a6ea4f2fadd29a7ea8ebe03
|
147
|
+
- test/fixtures/lgpl.git/objects/eb/d853e83a2d317422c52f3922f4c9c5bb4a10b7
|
148
|
+
- test/fixtures/lgpl.git/refs/heads/master
|
140
149
|
- test/fixtures/licence.git/HEAD
|
141
150
|
- test/fixtures/licence.git/config
|
142
151
|
- test/fixtures/licence.git/objects/66/0c086dc25f9f3b96e7afd9dee8a11b4e614543
|
@@ -194,19 +203,21 @@ files:
|
|
194
203
|
- test/fixtures/npm/package.json
|
195
204
|
- test/functions.rb
|
196
205
|
- test/helper.rb
|
206
|
+
- test/licensee/matchers/test_copyright_matcher.rb
|
207
|
+
- test/licensee/matchers/test_dice_matcher.rb
|
208
|
+
- test/licensee/matchers/test_exact_matcher.rb
|
209
|
+
- test/licensee/matchers/test_gemspec_matcher.rb
|
210
|
+
- test/licensee/matchers/test_npm_bower_matcher.rb
|
211
|
+
- test/licensee/matchers/test_package_matcher.rb
|
212
|
+
- test/licensee/project_files/test_license_file.rb
|
213
|
+
- test/licensee/project_files/test_package_info.rb
|
214
|
+
- test/licensee/project_files/test_readme.rb
|
215
|
+
- test/licensee/test_content_helper.rb
|
216
|
+
- test/licensee/test_license.rb
|
217
|
+
- test/licensee/test_project.rb
|
218
|
+
- test/licensee/test_project_file.rb
|
197
219
|
- test/test_licensee.rb
|
198
220
|
- test/test_licensee_bin.rb
|
199
|
-
- test/test_licensee_copyright_matcher.rb
|
200
|
-
- test/test_licensee_dice_matcher.rb
|
201
|
-
- test/test_licensee_exact_matcher.rb
|
202
|
-
- test/test_licensee_gemspec_matcher.rb
|
203
|
-
- test/test_licensee_license.rb
|
204
|
-
- test/test_licensee_license_file.rb
|
205
|
-
- test/test_licensee_npm_bower_matcher.rb
|
206
|
-
- test/test_licensee_package_info.rb
|
207
|
-
- test/test_licensee_project.rb
|
208
|
-
- test/test_licensee_project_file.rb
|
209
|
-
- test/test_licensee_readme.rb
|
210
221
|
- test/test_licensee_vendor.rb
|
211
222
|
- vendor/choosealicense.com/_licenses/afl-3.0.txt
|
212
223
|
- vendor/choosealicense.com/_licenses/agpl-3.0.txt
|