licensee 9.13.1 → 9.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -1
- data/lib/licensee.rb +3 -3
- data/lib/licensee/content_helper.rb +1 -1
- data/lib/licensee/project_files/project_file.rb +1 -1
- data/lib/licensee/projects/fs_project.rb +7 -2
- data/lib/licensee/version.rb +1 -1
- data/licensee.gemspec +1 -3
- data/spec/fixture_spec.rb +1 -1
- data/spec/fixtures/detect.json +3 -3
- data/spec/fixtures/fixtures.yml +4 -0
- data/spec/fixtures/license-hashes.json +2 -2
- data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
- data/spec/integration_spec.rb +1 -1
- data/spec/licensee/commands/detect_spec.rb +1 -1
- data/spec/licensee/content_helper_spec.rb +1 -0
- data/spec/vendored_license_spec.rb +2 -2
- data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +13 -13
- data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +13 -13
- data/vendor/choosealicense.com/_licenses/isc.txt +2 -2
- metadata +12 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d931f50190ecf7abb790530607bd57eb31c7190926a394bca7aa9ec0550cfba8
|
4
|
+
data.tar.gz: f119b575b2ff9538133a587ef3a23638756fac47e30c40b442ddad679bb62036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b423e68fb6496eefc0f4259fac2539f34430a13e1eb6d3758a6876c604fc40e5a763a04836025070410c082c2a516b28988ceeb46ed2b2a06276b318b9d0fb6
|
7
|
+
data.tar.gz: f0e150efc09980729793f86bbfcff323617349f0cae92ff2d4ebace2e29dac96e980deacc224b6ab08a21e3224f77b95541bdfaab9fa016ba81a6f94c3fdcce7
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2014-
|
3
|
+
Copyright (c) 2014-2020 Ben Balter and Licensee contributors
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/lib/licensee.rb
CHANGED
@@ -38,12 +38,12 @@ module Licensee
|
|
38
38
|
|
39
39
|
def project(path, **args)
|
40
40
|
if path =~ %r{\Ahttps://github.com}
|
41
|
-
Licensee::Projects::GitHubProject.new(path, args)
|
41
|
+
Licensee::Projects::GitHubProject.new(path, **args)
|
42
42
|
else
|
43
|
-
Licensee::Projects::GitProject.new(path, args)
|
43
|
+
Licensee::Projects::GitProject.new(path, **args)
|
44
44
|
end
|
45
45
|
rescue Licensee::Projects::GitProject::InvalidRepository
|
46
|
-
Licensee::Projects::FSProject.new(path, args)
|
46
|
+
Licensee::Projects::FSProject.new(path, **args)
|
47
47
|
end
|
48
48
|
|
49
49
|
def confidence_threshold
|
@@ -7,7 +7,7 @@ module Licensee
|
|
7
7
|
module ContentHelper
|
8
8
|
DIGEST = Digest::SHA1
|
9
9
|
START_REGEX = /\A\s*/.freeze
|
10
|
-
END_OF_TERMS_REGEX = /^[\s#*_]*end of terms and conditions\s*$/i.freeze
|
10
|
+
END_OF_TERMS_REGEX = /^[\s#*_]*end of terms and conditions[\s#*_]*$/i.freeze
|
11
11
|
REGEXES = {
|
12
12
|
hrs: /^\s*[=\-\*]{3,}\s*$/,
|
13
13
|
all_rights_reserved: /#{START_REGEX}all rights reserved\.?$/i,
|
@@ -38,7 +38,7 @@ module Licensee
|
|
38
38
|
@content = content.dup
|
39
39
|
@content.force_encoding(ENCODING)
|
40
40
|
unless @content.valid_encoding?
|
41
|
-
@content.encode!(ENCODING, ENCODING_OPTIONS)
|
41
|
+
@content.encode!(ENCODING, **ENCODING_OPTIONS)
|
42
42
|
end
|
43
43
|
|
44
44
|
metadata = { name: metadata } if metadata.is_a? String
|
@@ -44,13 +44,18 @@ module Licensee
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
# Retrieve a file's content from disk
|
47
|
+
# Retrieve a file's content from disk, enforcing encoding
|
48
48
|
#
|
49
49
|
# file - the file hash, with the :name key as the file's relative path
|
50
50
|
#
|
51
51
|
# Returns the file contents as a string
|
52
52
|
def load_file(file)
|
53
|
-
File.read dir_path.join(file[:dir], file[:name])
|
53
|
+
content = File.read dir_path.join(file[:dir], file[:name])
|
54
|
+
content.force_encoding(ProjectFiles::ProjectFile::ENCODING)
|
55
|
+
|
56
|
+
return content if content.valid_encoding?
|
57
|
+
|
58
|
+
content.encode(ProjectFiles::ProjectFile::ENCODING, **ProjectFiles::ProjectFile::ENCODING_OPTIONS)
|
54
59
|
end
|
55
60
|
|
56
61
|
# Returns true if @dir is @root or it's descendant
|
data/lib/licensee/version.rb
CHANGED
data/licensee.gemspec
CHANGED
@@ -24,11 +24,10 @@ Gem::Specification.new do |gem|
|
|
24
24
|
gem.add_dependency('octokit', '~> 4.17')
|
25
25
|
gem.add_dependency('reverse_markdown', '~> 1.0')
|
26
26
|
gem.add_dependency('rugged', '~> 0.24')
|
27
|
-
gem.add_dependency('thor', '
|
27
|
+
gem.add_dependency('thor', '>= 0.19', '< 2.0')
|
28
28
|
|
29
29
|
gem.add_development_dependency('mustache', '>= 0.9', '< 2.0')
|
30
30
|
gem.add_development_dependency('pry', '~> 0.9')
|
31
|
-
gem.add_development_dependency('rake', '~> 10.3')
|
32
31
|
gem.add_development_dependency('rspec', '~> 3.5')
|
33
32
|
gem.add_development_dependency('rubocop', '~> 0.80')
|
34
33
|
gem.add_development_dependency('rubocop-performance', '~> 1.5')
|
@@ -40,7 +39,6 @@ Gem::Specification.new do |gem|
|
|
40
39
|
|
41
40
|
# ensure the gem is built out of versioned files
|
42
41
|
gem.files = Dir[
|
43
|
-
'Rakefile',
|
44
42
|
'{bin,lib,man,test,vendor,spec}/**/*',
|
45
43
|
'README*', 'LICENSE*'
|
46
44
|
] & `git ls-files -z`.split("\0")
|
data/spec/fixture_spec.rb
CHANGED
@@ -5,7 +5,7 @@ RSpec.describe 'fixture test' do
|
|
5
5
|
let(:options) { { detect_packages: true, detect_readme: true } }
|
6
6
|
|
7
7
|
context "the #{fixture} fixture" do
|
8
|
-
subject { Licensee.project(path, options) }
|
8
|
+
subject { Licensee.project(path, **options) }
|
9
9
|
|
10
10
|
let(:path) { fixture_path(fixture) }
|
11
11
|
let(:other) { Licensee::License.find('other') }
|
data/spec/fixtures/detect.json
CHANGED
@@ -87,7 +87,7 @@
|
|
87
87
|
"matched_files": [
|
88
88
|
{
|
89
89
|
"filename": "LICENSE.md",
|
90
|
-
"content": "MIT License\n\nCopyright (c) 2014-
|
90
|
+
"content": "MIT License\n\nCopyright (c) 2014-2020 Ben Balter and Licensee contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
|
91
91
|
"content_hash": "d64f3bb4282a97b37454b5bb96a8a264a3363dc3",
|
92
92
|
"content_normalized": "permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"software\"), to deal in the software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, and to permit persons to whom the software is furnished to do so, subject to the following conditions: the above copyright notice and this permission notice shall be included in all copies or substantial portions of the software. the software is provided \"as is\", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. in no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.",
|
93
93
|
"matcher": {
|
@@ -95,11 +95,11 @@
|
|
95
95
|
"confidence": 100
|
96
96
|
},
|
97
97
|
"matched_license": "MIT",
|
98
|
-
"attribution": "Copyright (c) 2014-
|
98
|
+
"attribution": "Copyright (c) 2014-2020 Ben Balter and Licensee contributors"
|
99
99
|
},
|
100
100
|
{
|
101
101
|
"filename": "licensee.gemspec",
|
102
|
-
"content": "# frozen_string_literal: true\n\nrequire File.expand_path('lib/licensee/version', __dir__)\n\nGem::Specification.new do |gem|\n gem.name = 'licensee'\n gem.version = Licensee::VERSION\n\n gem.summary = 'A Ruby Gem to detect open source project licenses'\n gem.description = <<-DESC\n Licensee automates the process of reading LICENSE files and\n compares their contents to known licenses using a fancy maths.\n DESC\n\n gem.authors = ['Ben Balter']\n gem.email = 'ben.balter@github.com'\n gem.homepage = 'https://github.com/benbalter/licensee'\n gem.license = 'MIT'\n\n gem.bindir = 'bin'\n gem.executables << 'licensee'\n\n gem.add_dependency('dotenv', '~> 2.0')\n gem.add_dependency('octokit', '~> 4.
|
102
|
+
"content": "# frozen_string_literal: true\n\nrequire File.expand_path('lib/licensee/version', __dir__)\n\nGem::Specification.new do |gem|\n gem.name = 'licensee'\n gem.version = Licensee::VERSION\n\n gem.summary = 'A Ruby Gem to detect open source project licenses'\n gem.description = <<-DESC\n Licensee automates the process of reading LICENSE files and\n compares their contents to known licenses using a fancy maths.\n DESC\n\n gem.authors = ['Ben Balter']\n gem.email = 'ben.balter@github.com'\n gem.homepage = 'https://github.com/benbalter/licensee'\n gem.license = 'MIT'\n\n gem.bindir = 'bin'\n gem.executables << 'licensee'\n\n gem.add_dependency('dotenv', '~> 2.0')\n gem.add_dependency('octokit', '~> 4.17')\n gem.add_dependency('reverse_markdown', '~> 1.0')\n gem.add_dependency('rugged', '~> 0.24')\n gem.add_dependency('thor', '>= 0.19', '< 2.0')\n\n gem.add_development_dependency('mustache', '>= 0.9', '< 2.0')\n gem.add_development_dependency('pry', '~> 0.9')\n gem.add_development_dependency('rspec', '~> 3.5')\n gem.add_development_dependency('rubocop', '~> 0.80')\n gem.add_development_dependency('rubocop-performance', '~> 1.5')\n gem.add_development_dependency('rubocop-rspec', '~> 1.36')\n gem.add_development_dependency('simplecov', '~> 0.16')\n gem.add_development_dependency('webmock', '~> 3.1')\n\n gem.required_ruby_version = '> 2.3'\n\n # ensure the gem is built out of versioned files\n gem.files = Dir[\n '{bin,lib,man,test,vendor,spec}/**/*',\n 'README*', 'LICENSE*'\n ] & `git ls-files -z`.split(\"\\0\")\nend\n",
|
103
103
|
"content_hash": null,
|
104
104
|
"content_normalized": null,
|
105
105
|
"matcher": {
|
data/spec/fixtures/fixtures.yml
CHANGED
@@ -9,8 +9,8 @@
|
|
9
9
|
"bsd-3-clause-clear": "251d4599b622d2a87b2c4bb21dfacd438c048466",
|
10
10
|
"bsd-4-clause": "c31a46c2b8764b63d73332c5e9e11f109dadee45",
|
11
11
|
"bsl-1.0": "ca8f916d00c234719956e932061f192abb2d5bf9",
|
12
|
-
"cc-by-4.0": "
|
13
|
-
"cc-by-sa-4.0": "
|
12
|
+
"cc-by-4.0": "25b636566bb4cee96f8e917e6382b7c4a6858a90",
|
13
|
+
"cc-by-sa-4.0": "0b36f96c5df2aebaf4c5a9c2209d73ed0700a677",
|
14
14
|
"cc0-1.0": "c07f7fdd02072b9b9ddafb29c7fe556ed4d31f6a",
|
15
15
|
"cecill-2.1": "c996e4f8246fddc4fb083f72a70a85f36dffd288",
|
16
16
|
"ecl-2.0": "b24f240cd556a7764b9ace1bd763ad70c510d92a",
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Readme fixture
|
2
|
+
|
3
|
+
## License
|
4
|
+
|
5
|
+
Copyright (c) 2016 Ben Balter
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
��
|
data/spec/integration_spec.rb
CHANGED
@@ -6,7 +6,7 @@ RSpec.describe 'integration test' do
|
|
6
6
|
Licensee::Projects::GitProject
|
7
7
|
].each do |project_type|
|
8
8
|
context "with a #{project_type} project" do
|
9
|
-
subject { project_type.new(project_path, arguments) }
|
9
|
+
subject { project_type.new(project_path, **arguments) }
|
10
10
|
|
11
11
|
let(:filename) { 'LICENSE' }
|
12
12
|
let(:license) { Licensee::License.find('mit') }
|
@@ -19,7 +19,7 @@ RSpec.describe 'detect command' do
|
|
19
19
|
'Matched files' => 'LICENSE.md, licensee.gemspec',
|
20
20
|
'LICENSE.md' => {
|
21
21
|
'Content hash' => hash,
|
22
|
-
'Attribution' => 'Copyright (c) 2014-
|
22
|
+
'Attribution' => 'Copyright (c) 2014-2020 Ben Balter and Licensee contributors',
|
23
23
|
'Confidence' => '100.00%',
|
24
24
|
'Matcher' => 'Licensee::Matchers::Exact',
|
25
25
|
'License' => 'MIT'
|
@@ -102,6 +102,7 @@ RSpec.describe Licensee::ContentHelper do
|
|
102
102
|
title: "The MIT License\nfoo",
|
103
103
|
copyright: "The MIT License\nCopyright 2018 Ben Balter\nFoo",
|
104
104
|
end_of_terms: "Foo\nend of terms and conditions\nbar",
|
105
|
+
end_of_terms_hashes: "Foo\n# end of terms and conditions ####\nbar",
|
105
106
|
block_markup: '> Foo',
|
106
107
|
link_markup: '[Foo](http://exmaple.com)',
|
107
108
|
comment_markup: "/*\n* The MIT License\n* Foo\n*/",
|
@@ -16,8 +16,8 @@ RSpec.describe 'vendored licenses' do
|
|
16
16
|
let(:content) { content_with_copyright }
|
17
17
|
let(:expected_hash) { license_hashes[license.key] }
|
18
18
|
let(:hash_change_msg) do
|
19
|
-
msg = 'Did you update a vendored license? Run'.dup
|
20
|
-
msg << '
|
19
|
+
msg = 'Did you update a vendored license? Run '.dup
|
20
|
+
msg << '`bundle exec script/hash-licenses`. '
|
21
21
|
msg << 'Changes in license hashes must be a MINOR (or MAJOR) bump.'
|
22
22
|
msg
|
23
23
|
end
|
@@ -64,7 +64,7 @@ exhaustive, and do not form part of our licenses.
|
|
64
64
|
material not subject to the license. This includes other CC-
|
65
65
|
licensed material, or material used under an exception or
|
66
66
|
limitation to copyright. More considerations for licensors:
|
67
|
-
|
67
|
+
wiki.creativecommons.org/Considerations_for_licensors
|
68
68
|
|
69
69
|
Considerations for the public: By using one of our public
|
70
70
|
licenses, a licensor grants the public permission to use the
|
@@ -79,9 +79,9 @@ exhaustive, and do not form part of our licenses.
|
|
79
79
|
rights in the material. A licensor may make special requests,
|
80
80
|
such as asking that all changes be marked or described.
|
81
81
|
Although not required by our licenses, you are encouraged to
|
82
|
-
respect those requests where reasonable.
|
82
|
+
respect those requests where reasonable. More considerations
|
83
83
|
for the public:
|
84
|
-
|
84
|
+
wiki.creativecommons.org/Considerations_for_licensees
|
85
85
|
|
86
86
|
=======================================================================
|
87
87
|
|
@@ -406,21 +406,21 @@ Section 8 -- Interpretation.
|
|
406
406
|
|
407
407
|
=======================================================================
|
408
408
|
|
409
|
-
Creative Commons is not a party to its public
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
409
|
+
Creative Commons is not a party to its public licenses.
|
410
|
+
Notwithstanding, Creative Commons may elect to apply one of its public
|
411
|
+
licenses to material it publishes and in those instances will be
|
412
|
+
considered the “Licensor.” The text of the Creative Commons public
|
413
|
+
licenses is dedicated to the public domain under the CC0 Public Domain
|
414
|
+
Dedication. Except for the limited purpose of indicating that material
|
415
|
+
is shared under a Creative Commons public license or as otherwise
|
416
|
+
permitted by the Creative Commons policies published at
|
417
417
|
creativecommons.org/policies, Creative Commons does not authorize the
|
418
418
|
use of the trademark "Creative Commons" or any other trademark or logo
|
419
419
|
of Creative Commons without its prior written consent including,
|
420
420
|
without limitation, in connection with any unauthorized modifications
|
421
421
|
to any of its public licenses or any other arrangements,
|
422
422
|
understandings, or agreements concerning use of licensed material. For
|
423
|
-
the avoidance of doubt, this paragraph does not form part of the
|
424
|
-
|
423
|
+
the avoidance of doubt, this paragraph does not form part of the public
|
424
|
+
licenses.
|
425
425
|
|
426
426
|
Creative Commons may be contacted at creativecommons.org.
|
@@ -65,7 +65,7 @@ exhaustive, and do not form part of our licenses.
|
|
65
65
|
material not subject to the license. This includes other CC-
|
66
66
|
licensed material, or material used under an exception or
|
67
67
|
limitation to copyright. More considerations for licensors:
|
68
|
-
|
68
|
+
wiki.creativecommons.org/Considerations_for_licensors
|
69
69
|
|
70
70
|
Considerations for the public: By using one of our public
|
71
71
|
licenses, a licensor grants the public permission to use the
|
@@ -80,9 +80,9 @@ exhaustive, and do not form part of our licenses.
|
|
80
80
|
rights in the material. A licensor may make special requests,
|
81
81
|
such as asking that all changes be marked or described.
|
82
82
|
Although not required by our licenses, you are encouraged to
|
83
|
-
respect those requests where reasonable.
|
83
|
+
respect those requests where reasonable. More considerations
|
84
84
|
for the public:
|
85
|
-
|
85
|
+
wiki.creativecommons.org/Considerations_for_licensees
|
86
86
|
|
87
87
|
=======================================================================
|
88
88
|
|
@@ -439,21 +439,21 @@ Section 8 -- Interpretation.
|
|
439
439
|
|
440
440
|
=======================================================================
|
441
441
|
|
442
|
-
Creative Commons is not a party to its public
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
442
|
+
Creative Commons is not a party to its public licenses.
|
443
|
+
Notwithstanding, Creative Commons may elect to apply one of its public
|
444
|
+
licenses to material it publishes and in those instances will be
|
445
|
+
considered the “Licensor.” The text of the Creative Commons public
|
446
|
+
licenses is dedicated to the public domain under the CC0 Public Domain
|
447
|
+
Dedication. Except for the limited purpose of indicating that material
|
448
|
+
is shared under a Creative Commons public license or as otherwise
|
449
|
+
permitted by the Creative Commons policies published at
|
450
450
|
creativecommons.org/policies, Creative Commons does not authorize the
|
451
451
|
use of the trademark "Creative Commons" or any other trademark or logo
|
452
452
|
of Creative Commons without its prior written consent including,
|
453
453
|
without limitation, in connection with any unauthorized modifications
|
454
454
|
to any of its public licenses or any other arrangements,
|
455
455
|
understandings, or agreements concerning use of licensed material. For
|
456
|
-
the avoidance of doubt, this paragraph does not form part of the
|
457
|
-
|
456
|
+
the avoidance of doubt, this paragraph does not form part of the public
|
457
|
+
licenses.
|
458
458
|
|
459
459
|
Creative Commons may be contacted at creativecommons.org.
|
@@ -7,9 +7,9 @@ description: A permissive license lets people do anything with your code with pr
|
|
7
7
|
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.
|
8
8
|
|
9
9
|
using:
|
10
|
-
-
|
10
|
+
- Starship: https://github.com/starship/starship/blob/master/LICENSE
|
11
11
|
- Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
|
12
|
-
- OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/
|
12
|
+
- OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
|
13
13
|
|
14
14
|
permissions:
|
15
15
|
- commercial-use
|
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.13.
|
4
|
+
version: 9.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -70,16 +70,22 @@ dependencies:
|
|
70
70
|
name: thor
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0.19'
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '2.0'
|
76
79
|
type: :runtime
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
79
82
|
requirements:
|
80
|
-
- - "
|
83
|
+
- - ">="
|
81
84
|
- !ruby/object:Gem::Version
|
82
85
|
version: '0.19'
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: mustache
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,20 +120,6 @@ dependencies:
|
|
114
120
|
- - "~>"
|
115
121
|
- !ruby/object:Gem::Version
|
116
122
|
version: '0.9'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '10.3'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '10.3'
|
131
123
|
- !ruby/object:Gem::Dependency
|
132
124
|
name: rspec
|
133
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -306,6 +298,7 @@ files:
|
|
306
298
|
- spec/fixtures/multiple-arrs/LICENSE
|
307
299
|
- spec/fixtures/multiple-license-files/LICENSE
|
308
300
|
- spec/fixtures/multiple-license-files/LICENSE.txt
|
301
|
+
- spec/fixtures/readme-invalid-encoding/README.md
|
309
302
|
- spec/fixtures/readme/README.md
|
310
303
|
- spec/fixtures/unlicense-noinfo/LICENSE
|
311
304
|
- spec/fixtures/webmock/licensee.json
|
@@ -405,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
405
398
|
- !ruby/object:Gem::Version
|
406
399
|
version: '0'
|
407
400
|
requirements: []
|
408
|
-
rubygems_version: 3.
|
401
|
+
rubygems_version: 3.0.3
|
409
402
|
signing_key:
|
410
403
|
specification_version: 4
|
411
404
|
summary: A Ruby Gem to detect open source project licenses
|