licensee 9.10.1 → 9.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/licensee/commands/diff.rb +2 -7
- data/lib/licensee/content_helper.rb +169 -78
- data/lib/licensee/license.rb +5 -4
- data/lib/licensee/license_field.rb +1 -1
- data/lib/licensee/matchers/cabal.rb +1 -1
- data/lib/licensee/matchers/cargo.rb +1 -1
- data/lib/licensee/matchers/copyright.rb +2 -2
- data/lib/licensee/matchers/cran.rb +3 -3
- data/lib/licensee/matchers/dist_zilla.rb +1 -1
- data/lib/licensee/matchers/gemspec.rb +5 -5
- data/lib/licensee/matchers/matcher.rb +1 -1
- data/lib/licensee/matchers/npm_bower.rb +1 -1
- data/lib/licensee/matchers/reference.rb +1 -1
- data/lib/licensee/matchers/spdx.rb +1 -1
- data/lib/licensee/project_files/license_file.rb +7 -7
- data/lib/licensee/project_files/readme_file.rb +3 -3
- data/lib/licensee/projects/github_project.rb +1 -1
- data/lib/licensee/version.rb +1 -1
- data/spec/fixtures/detect.json +2 -2
- data/spec/fixtures/license-hashes.json +36 -0
- data/spec/licensee/commands/detect_spec.rb +1 -1
- data/spec/licensee/content_helper_spec.rb +131 -32
- data/spec/licensee/license_spec.rb +1 -1
- data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
- data/spec/licensee/project_files/license_file_spec.rb +1 -1
- data/spec/spec_helper.rb +10 -5
- data/spec/vendored_license_spec.rb +19 -2
- data/vendor/choosealicense.com/_data/meta.yml +0 -4
- data/vendor/choosealicense.com/_licenses/afl-3.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/apache-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +8 -6
- data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +0 -1
- data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +11 -9
- data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/epl-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/epl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +0 -1
- data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +0 -1
- data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +1 -2
- data/vendor/choosealicense.com/_licenses/isc.txt +0 -1
- data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +0 -1
- data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +1 -2
- data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +0 -1
- data/vendor/choosealicense.com/_licenses/mit.txt +0 -1
- data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ms-pl.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ms-rl.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ncsa.txt +0 -1
- data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +0 -1
- data/vendor/choosealicense.com/_licenses/osl-3.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/postgresql.txt +2 -3
- data/vendor/choosealicense.com/_licenses/unlicense.txt +0 -1
- data/vendor/choosealicense.com/_licenses/upl-1.0.txt +0 -1
- data/vendor/choosealicense.com/_licenses/wtfpl.txt +0 -1
- data/vendor/choosealicense.com/_licenses/zlib.txt +0 -1
- metadata +4 -4
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Universal Permissive License v1.0
|
3
3
|
spdx-id: UPL-1.0
|
4
|
-
source: https://oss.oracle.com/licenses/upl/
|
5
4
|
|
6
5
|
description: A permissive, OSI and FSF approved, GPL compatible license, expressly allowing attribution with just a copyright notice and a short form link rather than the full text of the license. Includes an express grant of patent rights. Licensed works and modifications may be distributed under different terms and without source code, and the patent grant may also optionally be expanded to larger works to permit use as a contributor license agreement.
|
7
6
|
|
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: 9.
|
4
|
+
version: 9.11.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: 2019-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -242,6 +242,7 @@ files:
|
|
242
242
|
- spec/fixtures/lgpl/COPYING.lesser
|
243
243
|
- spec/fixtures/lgpl/LICENSE
|
244
244
|
- spec/fixtures/license-folder/README.md
|
245
|
+
- spec/fixtures/license-hashes.json
|
245
246
|
- spec/fixtures/license-in-parent-folder/LICENSE.txt
|
246
247
|
- spec/fixtures/license-in-parent-folder/license-folder/LICENSE.txt
|
247
248
|
- spec/fixtures/license-with-readme-reference/LICENSE
|
@@ -346,8 +347,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
346
347
|
- !ruby/object:Gem::Version
|
347
348
|
version: '0'
|
348
349
|
requirements: []
|
349
|
-
|
350
|
-
rubygems_version: 2.7.6
|
350
|
+
rubygems_version: 3.0.2
|
351
351
|
signing_key:
|
352
352
|
specification_version: 4
|
353
353
|
summary: A Ruby Gem to detect open source project licenses
|