license_scout 1.2.16 → 1.3.2

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: 931923ee6588a3ba0e761c667c6d55666db7443f5274ea121ebd6975eafdf52e
4
- data.tar.gz: 841743ab542a791c853c68395028614ff2a37189ad89a73edc4d6c1711fe8f75
3
+ metadata.gz: 6c061ee9bfa78e8640ae5640cdb70b43cbd2b13c166c72d95e177b185628371c
4
+ data.tar.gz: 60c73c60c6988a7400856a4015d0327443efd457c7312a0d389f83e017604ffd
5
5
  SHA512:
6
- metadata.gz: f6f60074eb1e4fd667a3fb1aa3e7b6930d297d51707fda414927ff11257a27bf9b9c02739b3dd5059fcd6b6404fb1b74ef4cf00c3331f6ad54fd162dd84c40f4
7
- data.tar.gz: 8dd8c27092876ccbb7b9583c09ccbe64f75eebe54671a21bfb351abb41ae74da97dcf4149796b6d78cf5de6d8f9d4fad2fd427d6f603547aff06c93de43138ed
6
+ metadata.gz: 2dfc525cc1765d62ac7ae542d7a1c0e3bd365d812ba6cb925d39c0db3ab3be8cfeb9db199c30ea4aa131879d0a709c50fb5daa3b4357a9569f43ab5cde16d6e9
7
+ data.tar.gz: 5b65c5ba58ea1d67e8d9ffb11f9acdeb1a0221d5ea8faa0a33364503f7b9bbe68b4614bfb68f67010a0d94ae8a81f2946d473d11919b4f9081e9856ece969caf
@@ -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,13 +309,13 @@ 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"]],
315
316
  ["mixlib-log", "Apache-2.0", ["LICENSE"]],
316
317
  ["mixlib-shellout", "Apache-2.0", ["LICENSE"]],
317
318
  ["moneta", "MIT", nil],
318
- ["multipart-post", "MIT", ["README.md"]],
319
319
  ["mustermann", "MIT", ["LICENSE"]],
320
320
  ["mustermann-grape", "MIT", nil],
321
321
  ["net-http-persistent", "MIT", ["README.rdoc"]],
@@ -359,6 +359,7 @@ module LicenseScout
359
359
  ["bigdecimal", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/bigdecimal/v1.3.5/LICENSE.txt"]],
360
360
  ["blankslate", "MIT", ["https://raw.githubusercontent.com/masover/blankslate/master/MIT-LICENSE"]],
361
361
  ["codecov", "MIT", ["https://raw.githubusercontent.com/codecov/codecov-ruby/master/LICENSE.txt"]],
362
+ ["citrus", "MIT", ["https://raw.githubusercontent.com/mjackson/citrus/master/README.md"]],
362
363
  ["coffee-script-source", nil, ["https://raw.githubusercontent.com/jessedoyle/coffee-script-source/master/LICENSE"]],
363
364
  ["compass", "MIT", ["https://raw.githubusercontent.com/Compass/compass/stable/LICENSE.markdown"]],
364
365
  ["cucumber-wire", nil, ["https://raw.githubusercontent.com/cucumber/cucumber-ruby-wire/master/LICENSE"]],
@@ -377,6 +378,7 @@ module LicenseScout
377
378
  ["grpc", "Apache-2.0", ["https://raw.githubusercontent.com/grpc/grpc/master/LICENSE"]],
378
379
  ["get_process_mem", "MIT", ["https://raw.githubusercontent.com/schneems/get_process_mem/master/README.md"]],
379
380
  ["hoe", "MIT", ["https://raw.githubusercontent.com/seattlerb/hoe/master/README.rdoc"]],
381
+ ["html-proofer", "MIT", ["https://raw.githubusercontent.com/gjtorikian/html-proofer/main/LICENSE.txt"]],
380
382
  ["http-accept", "MIT", ["https://raw.githubusercontent.com/socketry/http-accept/master/README.md"]],
381
383
  ["http_parser.rb", nil, ["https://raw.githubusercontent.com/tmm1/http_parser.rb/master/LICENSE-MIT"]],
382
384
  ["inspec-msccm", nil, [canonical("Chef-MLSA")]],
@@ -387,23 +389,29 @@ module LicenseScout
387
389
  ["json_pure", nil, ["https://raw.githubusercontent.com/flori/json/master/README.md"]],
388
390
  ["jwt", nil, ["https://raw.githubusercontent.com/jwt/ruby-jwt/master/LICENSE"]],
389
391
  ["libv8", "MIT", ["https://raw.githubusercontent.com/rubyjs/libv8/master/README.md"]],
392
+ ["lockfile", "Ruby", ["https://rubygems.org/gems/lockfile"]],
390
393
  ["minitar", "Ruby", ["https://raw.githubusercontent.com/atoulme/minitar/master/README"]],
391
394
  ["minitest", nil, ["https://raw.githubusercontent.com/seattlerb/minitest/master/README.rdoc"]],
395
+ ["minitest-sprint", "MIT", ["https://raw.githubusercontent.com/seattlerb/minitest-sprint/master/README.rdoc"]],
392
396
  ["mocha", "MIT", ["https://raw.githubusercontent.com/freerange/mocha/master/MIT-LICENSE.md"]],
397
+ ["multipart-post", "MIT", ["https://raw.githubusercontent.com/socketry/multipart-post/main/README.md"]],
393
398
  ["net-http-spy", "Public-Domain", ["https://raw.githubusercontent.com/martinbtt/net-http-spy/master/readme.markdown"]],
394
399
  ["net-protocol", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/net-protocol/master/LICENSE.txt"]],
395
400
  ["nio4r", "MIT", ["https://raw.githubusercontent.com/socketry/nio4r/master/README.md"]],
396
401
  ["omniauth-chef", nil, ["https://raw.githubusercontent.com/chef/omniauth-chef/master/README.md"]],
402
+ ["options", "Ruby", ["https://rubygems.org/gems/options"]],
397
403
  ["os", "MIT", ["https://raw.githubusercontent.com/rdp/os/master/LICENSE"]],
398
404
  ["overcommit", nil, ["https://raw.githubusercontent.com/brigade/overcommit/master/MIT-LICENSE"]],
399
405
  ["parser", "MIT", ["https://raw.githubusercontent.com/whitequark/parser/v2.7.2.0/LICENSE.txt"]],
400
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"]],
401
408
  ["pbkdf2", "MIT", ["https://raw.githubusercontent.com/emerose/pbkdf2-ruby/master/LICENSE.TXT"]],
402
409
  ["rack-accept", "MIT", ["https://raw.githubusercontent.com/mjackson/rack-accept/master/README.md"]],
403
410
  ["rails-deprecated_sanitizer", nil, ["https://raw.githubusercontent.com/rails/rails-deprecated_sanitizer/master/LICENSE"]],
404
411
  ["rails-html-sanitizer", nil, ["https://raw.githubusercontent.com/rails/rails-html-sanitizer/master/MIT-LICENSE"]],
405
412
  ["rails", nil, ["https://raw.githubusercontent.com/rails/rails/master/README.md"]],
406
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"]],
407
415
  ["ref", "MIT", ["https://raw.githubusercontent.com/ruby-concurrency/ref/master/MIT_LICENSE"]],
408
416
  ["rdoc", "Ruby", ["https://raw.githubusercontent.com/ruby/rdoc/master/LICENSE.rdoc"]],
409
417
  ["rest-client", "MIT", ["https://raw.githubusercontent.com/rest-client/rest-client/master/LICENSE"]],
@@ -440,7 +448,7 @@ module LicenseScout
440
448
  ["win32-taskscheduler", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-taskscheduler/ole/README.md"]],
441
449
  ["windows-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/windows-api/master/README"]],
442
450
  ["word-salad", "MIT", ["https://raw.githubusercontent.com/alexvollmer/word_salad/master/README.txt"]],
443
- ["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"]],
444
452
  ["zonefile", "MIT", ["https://raw.githubusercontent.com/boesemar/zonefile/master/LICENSE"]],
445
453
  ["sync", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/sync/master/LICENSE.txt"]],
446
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.16".freeze
19
+ VERSION = "1.3.2".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.16
4
+ version: 1.3.2
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-04-12 00:00:00.000000000 Z
11
+ date: 2022-06-08 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
  - - ">="