license_scout 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b85580896471361525873d8a29b5a4b3aa193190306322bb8f70a1c5b184d1
|
4
|
+
data.tar.gz: b8fad896ebb7dedd939e8a92d5382416cc48acde2da04ce3d8fe778b6a69227b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5088dabb8927abf37e8a6967b87ba3655121598e65f3330fd3188596bf21da990ec1be50701d81dd799a134db70b6e9b561bb88e366ab6328e8684f81301a78
|
7
|
+
data.tar.gz: 77f31edcb928565b8412267fc3cc95eaf4ad4f95004f6ef2bdd81290829a6cb2e78cba2440404bf78166f5fb75ed7fe34fa3f0c6239c76c9805aa7737a0cb6cd
|
@@ -59,6 +59,13 @@ module LicenseScout
|
|
59
59
|
# Additionally, rubygems reports the gem path as a path inside
|
60
60
|
# bundler's lib/ dir, so we have to munge it.
|
61
61
|
"https://github.com/bundler/bundler"
|
62
|
+
elsif dep_name == "json"
|
63
|
+
# json is different weird. When project is using the json that is prepackaged with
|
64
|
+
# Ruby, its included not as a full fledged gem but an *.rb file at:
|
65
|
+
# /opt/opscode/embedded/lib/ruby/2.2.0/json.rb
|
66
|
+
# Because of this its license is reported as nil and its license files can not be
|
67
|
+
# found. That is why we need to provide them manually here.
|
68
|
+
"https://github.com/flori/json"
|
62
69
|
else
|
63
70
|
gem_data["path"]
|
64
71
|
end
|
data/lib/license_scout/spdx.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
7
7
|
# You may obtain a copy of the License at
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
10
|
#
|
11
11
|
# Unless required by applicable law or agreed to in writing, software
|
12
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|