license_scout 1.1.4 → 1.1.10

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: a24a5c11311f3f0ef0e07f77af5de11b6850c318c09ec8c10bcbcec04e95996f
4
- data.tar.gz: da8ddadfea3cbffd0ee51d082bd06153d54d7dc45dd17c8219c31fc6e71a9574
3
+ metadata.gz: d79460d42d870e97c1824e06e0d6803a6914b73fb5e7ae7bc0eeae44852c9cb9
4
+ data.tar.gz: d339668801c105451ee933cbb7e205105aaaae936ff02eb424fec625ad958dee
5
5
  SHA512:
6
- metadata.gz: 6395de10a361d0ca525d2d2ba484cc2204eeb6dc5d6646b65a6d2eb60db8204a339181ed9ce4aea159fdeebd3c5179418276c444529a5211c1a6b5343802dc3d
7
- data.tar.gz: 50baad2df7790a9f1b8789b1f9fae36fb97f5a1a65d4fa8946b19976868dfdd5fab3d83422fde85ca02f1a381ae8b2ca55185797ccbe290216fc3844c8b00708
6
+ metadata.gz: 6e92b2814d8d7aaad251edda89dbd742d944508c4a1059f92d9738126917860b52143eb204a772c88e21896b6035a401cac308f4f5a270599c59ec333e1d2ff8
7
+ data.tar.gz: ff12dc139a63473b066eebce15b667a27517c0613555366709b2fed75617d05b99852e93f6e48d4f75827773ef2266059e63db3b0bab4311163c1f013bbab682
@@ -19,7 +19,7 @@ require "license_scout/exceptions"
19
19
  require "license_scout/dependency_manager"
20
20
  require "license_scout/reporter"
21
21
 
22
- require "ffi_yajl"
22
+ require "ffi_yajl" unless defined?(FFI_Yajl)
23
23
 
24
24
  module LicenseScout
25
25
  class Collector
@@ -20,9 +20,9 @@ require "license_scout/net_fetcher"
20
20
  require "license_scout/exceptions"
21
21
 
22
22
  require "bundler"
23
- require "mixlib/shellout"
24
- require "ffi_yajl"
25
- require "pathname"
23
+ require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
24
+ require "ffi_yajl" unless defined?(FFI_Yajl)
25
+ require "pathname" unless defined?(Pathname)
26
26
 
27
27
  module LicenseScout
28
28
  module DependencyManager
@@ -30,7 +30,7 @@
30
30
  require "bundler/setup"
31
31
 
32
32
  # We're only using things that are in the stdlib.
33
- require "json"
33
+ require "json" unless defined?(JSON)
34
34
 
35
35
  dependencies = []
36
36
 
@@ -15,9 +15,9 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "ffi_yajl"
18
+ require "ffi_yajl" unless defined?(FFI_Yajl)
19
19
  require "psych"
20
- require "mixlib/shellout"
20
+ require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
21
21
 
22
22
  require "license_scout/dependency_manager/base"
23
23
  require "license_scout/exceptions"
@@ -15,8 +15,8 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "ffi_yajl"
19
- require "yaml"
18
+ require "ffi_yajl" unless defined?(FFI_Yajl)
19
+ require "yaml" unless defined?(YAML)
20
20
  require "toml-rb"
21
21
  require "license_scout/dependency_manager/base"
22
22
 
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "yaml"
18
+ require "yaml" unless defined?(YAML)
19
19
  require "license_scout/dependency_manager/base"
20
20
 
21
21
  module LicenseScout
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "ffi_yajl"
18
+ require "ffi_yajl" unless defined?(FFI_Yajl)
19
19
  require "license_scout/dependency_manager/base"
20
20
 
21
21
  module LicenseScout
@@ -15,8 +15,8 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "set"
19
- require "ffi_yajl"
18
+ require "set" unless defined?(Set)
19
+ require "ffi_yajl" unless defined?(FFI_Yajl)
20
20
  require "license_scout/dependency_manager/base"
21
21
 
22
22
  module LicenseScout
@@ -20,8 +20,8 @@ require "license_scout/net_fetcher"
20
20
  require "license_scout/exceptions"
21
21
  require "license_scout/license_file_analyzer"
22
22
 
23
- require "mixlib/shellout"
24
- require "ffi_yajl"
23
+ require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
24
+ require "ffi_yajl" unless defined?(FFI_Yajl)
25
25
 
26
26
  module LicenseScout
27
27
  module DependencyManager
@@ -22,7 +22,7 @@
22
22
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
23
  # THE SOFTWARE.
24
24
 
25
- require "pathname"
25
+ require "pathname" unless defined?(Pathname)
26
26
 
27
27
  require "license_scout/license_file_analyzer/text"
28
28
 
@@ -15,10 +15,10 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "open-uri"
19
- require "tmpdir"
20
- require "digest"
21
- require "socket" # Defines `SocketError`
18
+ require "open-uri" unless defined?(OpenURI)
19
+ require "tmpdir" unless defined?(Dir.mktmpdir)
20
+ require "digest" unless defined?(Digest)
21
+ require "socket" unless defined?(Socket) # Defines `SocketError`
22
22
 
23
23
  require "license_scout/exceptions"
24
24
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  require "license_scout/net_fetcher"
19
19
 
20
- require "pathname"
20
+ require "pathname" unless defined?(Pathname)
21
21
 
22
22
  module LicenseScout
23
23
  class Overrides
@@ -297,6 +297,7 @@ module LicenseScout
297
297
  ["em-http-request", "MIT", nil],
298
298
  ["equatable", "MIT", ["LICENSE.txt"]],
299
299
  ["erubis", "MIT", nil],
300
+ ["hana", "MIT", ["README.md"]],
300
301
  ["highline", "Ruby", ["LICENSE"]],
301
302
  ["httpclient", "Ruby", ["README.md"]],
302
303
  ["inifile", "MIT", ["README.md"]],
@@ -380,6 +381,7 @@ module LicenseScout
380
381
  ["minitest", nil, ["https://raw.githubusercontent.com/seattlerb/minitest/master/README.rdoc"]],
381
382
  ["mocha", "MIT", ["https://raw.githubusercontent.com/freerange/mocha/master/MIT-LICENSE.md"]],
382
383
  ["net-http-spy", "Public-Domain", ["https://raw.githubusercontent.com/martinbtt/net-http-spy/master/readme.markdown"]],
384
+ ["nio4r", "MIT", ["https://raw.githubusercontent.com/socketry/nio4r/master/README.md"]],
383
385
  ["omniauth-chef", nil, ["https://raw.githubusercontent.com/chef/omniauth-chef/master/README.md"]],
384
386
  ["os", "MIT", ["https://raw.githubusercontent.com/rdp/os/master/LICENSE"]],
385
387
  ["overcommit", nil, ["https://raw.githubusercontent.com/brigade/overcommit/master/MIT-LICENSE"]],
@@ -398,12 +400,14 @@ module LicenseScout
398
400
  ["sfl", "Ruby", ["https://raw.githubusercontent.com/ujihisa/spawn-for-legacy/master/LICENCE.md"]],
399
401
  ["slack-notifier", "MIT", ["https://raw.githubusercontent.com/stevenosloan/slack-notifier/master/LICENSE"]],
400
402
  ["sslshake", "MPL-2.0", ["https://raw.githubusercontent.com/arlimus/sslshake/master/README.md"]],
403
+ ["sprockets", "MIT", ["https://raw.githubusercontent.com/rails/sprockets/master/MIT-LICENSE"]],
401
404
  ["structured_warnings", "MIT", ["https://raw.githubusercontent.com/schmidt/structured_warnings/master/LICENSE.txt"]],
402
405
  ["unicorn-rails", "MIT", ["https://raw.githubusercontent.com/samuelkadolph/unicorn-rails/master/LICENSE"]],
406
+ ["uri_template", "MIT", ["https://raw.githubusercontent.com/hannesg/uri_template/master/uri_template.gemspec"]],
403
407
  ["url", "MIT", ["https://raw.githubusercontent.com/tal/URL/master/LICENSE"]],
404
408
  ["websocket-driver", nil, ["https://raw.githubusercontent.com/faye/websocket-driver-ruby/master/LICENSE.md"]],
405
409
  ["websocket-extensions", nil, ["https://raw.githubusercontent.com/faye/websocket-extensions-ruby/master/LICENSE.md"]],
406
- ["win32-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/win32-api/master/README"]],
410
+ ["win32-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/win32-api/master/README.md"]],
407
411
  ["win32-dir", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-dir/ffi/README.md"]],
408
412
  ["win32-event", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-event/ffi/README"]],
409
413
  ["win32-eventlog", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-eventlog/ffi/README"]],
@@ -418,6 +422,7 @@ module LicenseScout
418
422
  ["xml-simple", "Ruby", ["https://raw.githubusercontent.com/maik/xml-simple/master/README.md"]],
419
423
  ["zonefile", "MIT", ["https://raw.githubusercontent.com/boesemar/zonefile/master/LICENSE"]],
420
424
  ["sync", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/sync/master/LICENSE.txt"]],
425
+ ["crack", "MIT", ["https://github.com/jnunemaker/crack/blob/master/LICENSE"]],
421
426
  ]
422
427
  (aws_sdk_gems + other_gems).each do |override_data|
423
428
  override_license "ruby_bundler", override_data[0] do |version|
@@ -433,7 +438,7 @@ module LicenseScout
433
438
  ["apt", nil, ["https://raw.githubusercontent.com/chef-cookbooks/apt/master/LICENSE"]],
434
439
  ["chef-ha-drbd", nil, ["https://raw.githubusercontent.com/chef/chef-server/master/LICENSE"]],
435
440
  ["private-chef", nil, ["https://raw.githubusercontent.com/chef/chef-server/master/LICENSE"]],
436
- ["chef-sugar", nil, ["https://raw.githubusercontent.com/sethvargo/chef-sugar/master/LICENSE"]],
441
+ ["chef-sugar", nil, ["https://raw.githubusercontent.com/chef/chef-sugar/master/LICENSE"]],
437
442
  ["openssl", nil, ["https://raw.githubusercontent.com/chef-cookbooks/openssl/master/LICENSE"]],
438
443
  ["runit", nil, ["https://raw.githubusercontent.com/chef-cookbooks/runit/master/LICENSE"]],
439
444
  ["yum", nil, ["https://raw.githubusercontent.com/chef-cookbooks/yum/master/LICENSE"]],
@@ -550,7 +555,7 @@ module LicenseScout
550
555
  ["eunit_formatters", "Apache-2.0", ["https://raw.githubusercontent.com/seancribbs/eunit_formatters/master/README.md"]],
551
556
  ["erlware_commons", "MIT", ["https://raw.githubusercontent.com/erlware/erlware_commons/master/COPYING"]],
552
557
  ["erlcloud", "BSD-2-Clause", ["https://raw.githubusercontent.com/erlcloud/erlcloud/master/COPYRIGHT"]],
553
- ["lhttpc", "BSD-2-Clause", ["https://raw.githubusercontent.com/erlcloud/lhttpc/master/LICENCE"]],
558
+ ["lhttpc", "BSD-3-Clause", ["https://raw.githubusercontent.com/erlcloud/lhttpc/master/LICENCE"]],
554
559
  ["getopt", "MIT", nil],
555
560
  ["relx", "Apache-2.0", ["https://raw.githubusercontent.com/erlware/relx/master/LICENSE.md"]],
556
561
  ].each do |override_data|
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "ffi_yajl"
18
+ require "ffi_yajl" unless defined?(FFI_Yajl)
19
19
 
20
20
  require "license_scout/exceptions"
21
21
 
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module LicenseScout
19
- VERSION = "1.1.4".freeze
19
+ VERSION = "1.1.10".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.1.4
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serdar Sutay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-13 00:00:00.000000000 Z
11
+ date: 2020-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-yajl