license_scout 1.2.14 → 1.3.0

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: 93edcca5d8519d2e703315f6c0a340c9c0c43b10fefa4cd20592c8a358c51d69
4
- data.tar.gz: 657631bc0074cd284bd297d34a446db3170bbdf95ad08ae317d480f0fe79cc4a
3
+ metadata.gz: 692d3d250f7d7b1c2a4cefec235264a3890b8f55d48b6f2282a1598c37302a4a
4
+ data.tar.gz: c6e9cf1ecb75d6fe790d07a6f91eefdb5b87442513390243dfd2a793654fda49
5
5
  SHA512:
6
- metadata.gz: e4ee7c3a80b5ff89f7604618e61bb5ac86b32360f6e62318f9a69ee1b9a90ff43a5405cf4151d79297839db2b7b67d7a7d3831b75f962a079c2d9d9bcf216f9e
7
- data.tar.gz: 7d46903c36fff2e994758a38b8a18f5058785bee668d55c26bcf5ab3f5886134276f95576445e6d35cef860df13d0df507ee6744b012b7916fccfe3e2b05121a
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.load(File.read(glide_yaml_locked))
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,
@@ -362,6 +362,7 @@ module LicenseScout
362
362
  ["coffee-script-source", nil, ["https://raw.githubusercontent.com/jessedoyle/coffee-script-source/master/LICENSE"]],
363
363
  ["compass", "MIT", ["https://raw.githubusercontent.com/Compass/compass/stable/LICENSE.markdown"]],
364
364
  ["cucumber-wire", nil, ["https://raw.githubusercontent.com/cucumber/cucumber-ruby-wire/master/LICENSE"]],
365
+ ["date", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/date/master/README.md"]],
365
366
  ["dep_selector", nil, ["https://raw.githubusercontent.com/chef/dep-selector/master/LICENSE"]],
366
367
  ["enumerable-lazy", "MIT", ["https://raw.githubusercontent.com/yhara/enumerable-lazy/master/README.md"]],
367
368
  ["fast_xs", "MIT", ["https://raw.githubusercontent.com/brianmario/fast_xs/master/LICENSE"]],
@@ -381,6 +382,7 @@ module LicenseScout
381
382
  ["inspec-msccm", nil, [canonical("Chef-MLSA")]],
382
383
  ["inspec-scap", nil, [canonical("Chef-MLSA")]],
383
384
  ["interception", "MIT", ["https://raw.githubusercontent.com/ConradIrwin/interception/master/LICENSE.MIT"]],
385
+ ["io-wait", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/io-wait/master/COPYING"]],
384
386
  ["jaro_winkler", "MIT", ["https://raw.githubusercontent.com/tonytonyjan/jaro_winkler/master/LICENSE.txt"]],
385
387
  ["json_pure", nil, ["https://raw.githubusercontent.com/flori/json/master/README.md"]],
386
388
  ["jwt", nil, ["https://raw.githubusercontent.com/jwt/ruby-jwt/master/LICENSE"]],
@@ -389,6 +391,7 @@ module LicenseScout
389
391
  ["minitest", nil, ["https://raw.githubusercontent.com/seattlerb/minitest/master/README.rdoc"]],
390
392
  ["mocha", "MIT", ["https://raw.githubusercontent.com/freerange/mocha/master/MIT-LICENSE.md"]],
391
393
  ["net-http-spy", "Public-Domain", ["https://raw.githubusercontent.com/martinbtt/net-http-spy/master/readme.markdown"]],
394
+ ["net-protocol", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/net-protocol/master/LICENSE.txt"]],
392
395
  ["nio4r", "MIT", ["https://raw.githubusercontent.com/socketry/nio4r/master/README.md"]],
393
396
  ["omniauth-chef", nil, ["https://raw.githubusercontent.com/chef/omniauth-chef/master/README.md"]],
394
397
  ["os", "MIT", ["https://raw.githubusercontent.com/rdp/os/master/LICENSE"]],
@@ -406,6 +409,7 @@ module LicenseScout
406
409
  ["rest-client", "MIT", ["https://raw.githubusercontent.com/rest-client/rest-client/master/LICENSE"]],
407
410
  ["rly", "MIT", ["https://raw.githubusercontent.com/farcaller/rly/master/LICENSE.txt"]],
408
411
  ["rspec-rerun", nil, ["https://raw.githubusercontent.com/dblock/rspec-rerun/master/LICENSE.md"]],
412
+ ["ruby2_keywords", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/ruby2_keywords/master/LICENSE"]],
409
413
  ["rubyzip", nil, ["https://raw.githubusercontent.com/rubyzip/rubyzip/master/README.md"]],
410
414
  ["simplecov_json_formatter", "MIT", ["https://raw.githubusercontent.com/codeclimate-community/simplecov_json_formatter/master/LICENSE"]],
411
415
  ["sfl", "Ruby", ["https://raw.githubusercontent.com/ujihisa/spawn-for-legacy/master/LICENCE.md"]],
@@ -417,6 +421,8 @@ module LicenseScout
417
421
  ["structured_warnings", "MIT", ["https://raw.githubusercontent.com/schmidt/structured_warnings/master/LICENSE.txt"]],
418
422
  ["therubyracer", "MIT", ["https://raw.githubusercontent.com/rubyjs/therubyracer/master/README.md"]],
419
423
  ["thin", "BSD-2-Clause", ["https://raw.githubusercontent.com/macournoyer/thin/master/README.md"]],
424
+ ["time", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/time/master/LICENSE.txt"]],
425
+ ["timeout", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/timeout/master/LICENSE.txt"]],
420
426
  ["unicorn-rails", "MIT", ["https://raw.githubusercontent.com/samuelkadolph/unicorn-rails/master/LICENSE"]],
421
427
  ["uri_template", "MIT", ["https://raw.githubusercontent.com/hannesg/uri_template/master/uri_template.gemspec"]],
422
428
  ["url", "MIT", ["https://raw.githubusercontent.com/tal/URL/master/LICENSE"]],
@@ -472,6 +478,7 @@ module LicenseScout
472
478
  # inside the modules we download to inspect for licensing information.
473
479
  [
474
480
  ["sqitch", "MIT", ["https://raw.githubusercontent.com/sqitchers/sqitch/develop/LICENSE.md"]],
481
+ ["sqitch", "MIT", ["https://raw.githubusercontent.com/theory/sqitch/master/README.md"]],
475
482
  ["Scalar-List-Utils", nil, ["README"]],
476
483
  ["perl", nil, ["README"]],
477
484
  ["IO", nil, ["README"]],
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module LicenseScout
19
- VERSION = "1.2.14".freeze
19
+ VERSION = "1.3.0".freeze
20
20
  end
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.2.14
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-01-13 00:00:00.000000000 Z
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: '4.3'
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: '4.3'
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: 16.5.77
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: 16.5.77
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.3'
252
+ version: '2.7'
253
253
  required_rubygems_version: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - ">="