license_scout 1.2.15 → 1.3.1

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: d579a9838deb5d3acd1d8c3d7fe5840f8051106aaa65b684b01c5b2f0227a024
4
- data.tar.gz: 1f24c0e66d4f34b4d78ad4e3e0ffb58ff64fc6aa41b7f7fff63760f414a9f147
3
+ metadata.gz: fecdb752f60517d3883b5107f043bde548915324a63f2c48182fd21d244ae46f
4
+ data.tar.gz: 0f2da3775a2781194e8fd125b7c75dcddeab57a6e87790df9774697f3937c345
5
5
  SHA512:
6
- metadata.gz: dae51b3a77ac122b840e97b286b4e10d55d292d06d456d4dc5402e567e28dbbe12c6aa246a0341b657a9122693e3f47632377f08bd80a005f14959886c6ff843
7
- data.tar.gz: e8af5ca1450a0b16048060043cd5412060a85f6ba9f67fab856086b9e46aa1a1141db065e1b5fc47df05c00ff6a6a5a0a5a3d8451a438df468e4c2030d0fdc74
6
+ metadata.gz: 0d5535a48b4b12f00037b243eeb36b2e9fe668af153d6e501c70a576a69c17b17469b8b8e7a1c749fbe5e9af0ed9d8c720f14fab24d8caf736919c8ebae0cb32
7
+ data.tar.gz: 37239121d5b872c193e1c73dd9a67191064035b94ad29b970dbad2b7d243e6d9cec15934d81b25a75a2f3f85185a8f4b3c6f87054ff46fb9d3ccc4ed9514b7b0
@@ -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,
@@ -309,6 +309,7 @@ module LicenseScout
309
309
  ["little-plugger", "MIT", ["README.rdoc"]],
310
310
  ["logging", "MIT", ["README.md"]],
311
311
  ["lumberjack", "MIT", ["MIT_LICENSE.txt"]],
312
+ ["m", "MIT", ["LICENSE"]],
312
313
  ["method_source", "MIT", nil],
313
314
  ["mixlib-authentication", "Apache-2.0", ["LICENSE"]],
314
315
  ["mixlib-cli", "Apache-2.0", ["LICENSE"]],
@@ -359,6 +360,7 @@ module LicenseScout
359
360
  ["bigdecimal", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/bigdecimal/v1.3.5/LICENSE.txt"]],
360
361
  ["blankslate", "MIT", ["https://raw.githubusercontent.com/masover/blankslate/master/MIT-LICENSE"]],
361
362
  ["codecov", "MIT", ["https://raw.githubusercontent.com/codecov/codecov-ruby/master/LICENSE.txt"]],
363
+ ["citrus", "MIT", ["https://raw.githubusercontent.com/mjackson/citrus/master/README.md"]],
362
364
  ["coffee-script-source", nil, ["https://raw.githubusercontent.com/jessedoyle/coffee-script-source/master/LICENSE"]],
363
365
  ["compass", "MIT", ["https://raw.githubusercontent.com/Compass/compass/stable/LICENSE.markdown"]],
364
366
  ["cucumber-wire", nil, ["https://raw.githubusercontent.com/cucumber/cucumber-ruby-wire/master/LICENSE"]],
@@ -377,36 +379,45 @@ module LicenseScout
377
379
  ["grpc", "Apache-2.0", ["https://raw.githubusercontent.com/grpc/grpc/master/LICENSE"]],
378
380
  ["get_process_mem", "MIT", ["https://raw.githubusercontent.com/schneems/get_process_mem/master/README.md"]],
379
381
  ["hoe", "MIT", ["https://raw.githubusercontent.com/seattlerb/hoe/master/README.rdoc"]],
382
+ ["html-proofer", "MIT", ["https://raw.githubusercontent.com/gjtorikian/html-proofer/main/LICENSE.txt"]],
380
383
  ["http-accept", "MIT", ["https://raw.githubusercontent.com/socketry/http-accept/master/README.md"]],
381
384
  ["http_parser.rb", nil, ["https://raw.githubusercontent.com/tmm1/http_parser.rb/master/LICENSE-MIT"]],
382
385
  ["inspec-msccm", nil, [canonical("Chef-MLSA")]],
383
386
  ["inspec-scap", nil, [canonical("Chef-MLSA")]],
384
387
  ["interception", "MIT", ["https://raw.githubusercontent.com/ConradIrwin/interception/master/LICENSE.MIT"]],
388
+ ["io-wait", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/io-wait/master/COPYING"]],
385
389
  ["jaro_winkler", "MIT", ["https://raw.githubusercontent.com/tonytonyjan/jaro_winkler/master/LICENSE.txt"]],
386
390
  ["json_pure", nil, ["https://raw.githubusercontent.com/flori/json/master/README.md"]],
387
391
  ["jwt", nil, ["https://raw.githubusercontent.com/jwt/ruby-jwt/master/LICENSE"]],
388
392
  ["libv8", "MIT", ["https://raw.githubusercontent.com/rubyjs/libv8/master/README.md"]],
393
+ ["lockfile", "Ruby", ["https://rubygems.org/gems/lockfile"]],
389
394
  ["minitar", "Ruby", ["https://raw.githubusercontent.com/atoulme/minitar/master/README"]],
390
395
  ["minitest", nil, ["https://raw.githubusercontent.com/seattlerb/minitest/master/README.rdoc"]],
396
+ ["minitest-sprint", "MIT", ["https://raw.githubusercontent.com/seattlerb/minitest-sprint/master/README.rdoc"]],
391
397
  ["mocha", "MIT", ["https://raw.githubusercontent.com/freerange/mocha/master/MIT-LICENSE.md"]],
392
398
  ["net-http-spy", "Public-Domain", ["https://raw.githubusercontent.com/martinbtt/net-http-spy/master/readme.markdown"]],
399
+ ["net-protocol", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/net-protocol/master/LICENSE.txt"]],
393
400
  ["nio4r", "MIT", ["https://raw.githubusercontent.com/socketry/nio4r/master/README.md"]],
394
401
  ["omniauth-chef", nil, ["https://raw.githubusercontent.com/chef/omniauth-chef/master/README.md"]],
402
+ ["options", "Ruby", ["https://rubygems.org/gems/options"]],
395
403
  ["os", "MIT", ["https://raw.githubusercontent.com/rdp/os/master/LICENSE"]],
396
404
  ["overcommit", nil, ["https://raw.githubusercontent.com/brigade/overcommit/master/MIT-LICENSE"]],
397
405
  ["parser", "MIT", ["https://raw.githubusercontent.com/whitequark/parser/v2.7.2.0/LICENSE.txt"]],
398
406
  ["parslet", "MIT", ["https://raw.githubusercontent.com/kschiess/parslet/master/LICENSE"]],
407
+ ["path_expander", "MIT", ["https://raw.githubusercontent.com/seattlerb/path_expander/master/README.rdoc"]],
399
408
  ["pbkdf2", "MIT", ["https://raw.githubusercontent.com/emerose/pbkdf2-ruby/master/LICENSE.TXT"]],
400
409
  ["rack-accept", "MIT", ["https://raw.githubusercontent.com/mjackson/rack-accept/master/README.md"]],
401
410
  ["rails-deprecated_sanitizer", nil, ["https://raw.githubusercontent.com/rails/rails-deprecated_sanitizer/master/LICENSE"]],
402
411
  ["rails-html-sanitizer", nil, ["https://raw.githubusercontent.com/rails/rails-html-sanitizer/master/MIT-LICENSE"]],
403
412
  ["rails", nil, ["https://raw.githubusercontent.com/rails/rails/master/README.md"]],
404
413
  ["railties", nil, ["https://raw.githubusercontent.com/rails/rails/master/railties/MIT-LICENSE"]],
414
+ ["rchardet", "LGPL", ["https://raw.githubusercontent.com/jmhodges/rchardet/master/LGPL-LICENSE.txt"]],
405
415
  ["ref", "MIT", ["https://raw.githubusercontent.com/ruby-concurrency/ref/master/MIT_LICENSE"]],
406
416
  ["rdoc", "Ruby", ["https://raw.githubusercontent.com/ruby/rdoc/master/LICENSE.rdoc"]],
407
417
  ["rest-client", "MIT", ["https://raw.githubusercontent.com/rest-client/rest-client/master/LICENSE"]],
408
418
  ["rly", "MIT", ["https://raw.githubusercontent.com/farcaller/rly/master/LICENSE.txt"]],
409
419
  ["rspec-rerun", nil, ["https://raw.githubusercontent.com/dblock/rspec-rerun/master/LICENSE.md"]],
420
+ ["ruby2_keywords", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/ruby2_keywords/master/LICENSE"]],
410
421
  ["rubyzip", nil, ["https://raw.githubusercontent.com/rubyzip/rubyzip/master/README.md"]],
411
422
  ["simplecov_json_formatter", "MIT", ["https://raw.githubusercontent.com/codeclimate-community/simplecov_json_formatter/master/LICENSE"]],
412
423
  ["sfl", "Ruby", ["https://raw.githubusercontent.com/ujihisa/spawn-for-legacy/master/LICENCE.md"]],
@@ -418,6 +429,8 @@ module LicenseScout
418
429
  ["structured_warnings", "MIT", ["https://raw.githubusercontent.com/schmidt/structured_warnings/master/LICENSE.txt"]],
419
430
  ["therubyracer", "MIT", ["https://raw.githubusercontent.com/rubyjs/therubyracer/master/README.md"]],
420
431
  ["thin", "BSD-2-Clause", ["https://raw.githubusercontent.com/macournoyer/thin/master/README.md"]],
432
+ ["time", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/time/master/LICENSE.txt"]],
433
+ ["timeout", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/timeout/master/LICENSE.txt"]],
421
434
  ["unicorn-rails", "MIT", ["https://raw.githubusercontent.com/samuelkadolph/unicorn-rails/master/LICENSE"]],
422
435
  ["uri_template", "MIT", ["https://raw.githubusercontent.com/hannesg/uri_template/master/uri_template.gemspec"]],
423
436
  ["url", "MIT", ["https://raw.githubusercontent.com/tal/URL/master/LICENSE"]],
@@ -435,7 +448,7 @@ module LicenseScout
435
448
  ["win32-taskscheduler", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-taskscheduler/ole/README.md"]],
436
449
  ["windows-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/windows-api/master/README"]],
437
450
  ["word-salad", "MIT", ["https://raw.githubusercontent.com/alexvollmer/word_salad/master/README.txt"]],
438
- ["xml-simple", "Ruby", ["https://raw.githubusercontent.com/maik/xml-simple/master/README.md"]],
451
+ ["xml-simple", "MIT", ["https://raw.githubusercontent.com/maik/xml-simple/master/LICENSE"]],
439
452
  ["zonefile", "MIT", ["https://raw.githubusercontent.com/boesemar/zonefile/master/LICENSE"]],
440
453
  ["sync", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/sync/master/LICENSE.txt"]],
441
454
  ["crack", "MIT", ["https://github.com/jnunemaker/crack/blob/master/LICENSE"]],
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module LicenseScout
19
- VERSION = "1.2.15".freeze
19
+ VERSION = "1.3.1".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.15
4
+ version: 1.3.1
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-02-14 00:00:00.000000000 Z
11
+ date: 2022-05-27 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
  - - ">="