license_scout 1.2.16 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/license_scout/dependency_manager/glide.rb +1 -1
- data/lib/license_scout/net_fetcher.rb +2 -1
- data/lib/license_scout/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 692d3d250f7d7b1c2a4cefec235264a3890b8f55d48b6f2282a1598c37302a4a
|
4
|
+
data.tar.gz: c6e9cf1ecb75d6fe790d07a6f91eefdb5b87442513390243dfd2a793654fda49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 036375414721a92620009b6e529aec365e9219d3bb01b17bd34ff7b4c7e1a903b96dd0de40fe48259a685841861e1c7e2e8c3ce95668993941d7fad450b035c5
|
7
|
+
data.tar.gz: de63ac1f76f46ae793614ae26871ea798bd401010903b5c1cadee36066d7d7a57284aaf46c38eaebb6e8ebe82aa718881b96d58a7da295461be0fe522a733038
|
@@ -36,7 +36,7 @@ module LicenseScout
|
|
36
36
|
"file in #{project_dir}"
|
37
37
|
end
|
38
38
|
|
39
|
-
deps = YAML.
|
39
|
+
deps = YAML.safe_load(File.read(glide_yaml_locked), permitted_classes: [Date, Symbol, Time])
|
40
40
|
deps["imports"].map { |i| add_glide_dep(i) }
|
41
41
|
end
|
42
42
|
|
@@ -19,6 +19,7 @@ require "open-uri" unless defined?(OpenURI)
|
|
19
19
|
require "tmpdir" unless defined?(Dir.mktmpdir)
|
20
20
|
require "digest" unless defined?(Digest)
|
21
21
|
require "socket" unless defined?(Socket) # Defines `SocketError`
|
22
|
+
require "timeout" unless defined?(Timeout)
|
22
23
|
|
23
24
|
require "license_scout/exceptions"
|
24
25
|
|
@@ -84,7 +85,7 @@ module LicenseScout
|
|
84
85
|
read_timeout: 300,
|
85
86
|
}
|
86
87
|
|
87
|
-
open(from_url, options) do |f|
|
88
|
+
URI.open(from_url, **options) do |f|
|
88
89
|
save_to_cache(f)
|
89
90
|
end
|
90
91
|
rescue SocketError,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: license_scout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serdar Sutay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi-yajl
|
@@ -144,30 +144,30 @@ dependencies:
|
|
144
144
|
name: berkshelf
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- - "
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: '
|
149
|
+
version: '0'
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
|
-
- - "
|
154
|
+
- - ">="
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: '
|
156
|
+
version: '0'
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: chef-config
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|
160
160
|
requirements:
|
161
|
-
- - "
|
161
|
+
- - ">="
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
163
|
+
version: '0'
|
164
164
|
type: :development
|
165
165
|
prerelease: false
|
166
166
|
version_requirements: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
|
-
- - "
|
168
|
+
- - ">="
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version:
|
170
|
+
version: '0'
|
171
171
|
description: Discovers license files of a project's dependencies.
|
172
172
|
email:
|
173
173
|
- serdar@chef.io
|
@@ -249,7 +249,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
249
249
|
requirements:
|
250
250
|
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
|
-
version: '2.
|
252
|
+
version: '2.7'
|
253
253
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - ">="
|