license_scout 1.1.9 → 1.1.10
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/collector.rb +1 -1
- data/lib/license_scout/dependency_manager/bundler.rb +3 -3
- data/lib/license_scout/dependency_manager/bundler/_bundler_script.rb +1 -1
- data/lib/license_scout/dependency_manager/cpanm.rb +2 -2
- data/lib/license_scout/dependency_manager/dep.rb +2 -2
- data/lib/license_scout/dependency_manager/glide.rb +1 -1
- data/lib/license_scout/dependency_manager/godep.rb +1 -1
- data/lib/license_scout/dependency_manager/npm.rb +2 -2
- data/lib/license_scout/dependency_manager/rebar.rb +2 -2
- data/lib/license_scout/license_file_analyzer/template.rb +1 -1
- data/lib/license_scout/net_fetcher.rb +4 -4
- data/lib/license_scout/overrides.rb +2 -1
- data/lib/license_scout/reporter.rb +1 -1
- data/lib/license_scout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d79460d42d870e97c1824e06e0d6803a6914b73fb5e7ae7bc0eeae44852c9cb9
|
4
|
+
data.tar.gz: d339668801c105451ee933cbb7e205105aaaae936ff02eb424fec625ad958dee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e92b2814d8d7aaad251edda89dbd742d944508c4a1059f92d9738126917860b52143eb204a772c88e21896b6035a401cac308f4f5a270599c59ec333e1d2ff8
|
7
|
+
data.tar.gz: ff12dc139a63473b066eebce15b667a27517c0613555366709b2fed75617d05b99852e93f6e48d4f75827773ef2266059e63db3b0bab4311163c1f013bbab682
|
@@ -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
|
@@ -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"
|
@@ -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
|
@@ -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
|
@@ -422,6 +422,7 @@ module LicenseScout
|
|
422
422
|
["xml-simple", "Ruby", ["https://raw.githubusercontent.com/maik/xml-simple/master/README.md"]],
|
423
423
|
["zonefile", "MIT", ["https://raw.githubusercontent.com/boesemar/zonefile/master/LICENSE"]],
|
424
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"]],
|
425
426
|
]
|
426
427
|
(aws_sdk_gems + other_gems).each do |override_data|
|
427
428
|
override_license "ruby_bundler", override_data[0] do |version|
|
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
|
+
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-
|
11
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi-yajl
|