license_scout 1.1.6 → 1.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/license_scout +1 -1
- 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 +2 -2
- data/lib/license_scout/net_fetcher.rb +4 -4
- data/lib/license_scout/overrides.rb +8 -3
- 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: 8cfb3a530de403a1da1a5390f89631ebce2d43f441af98f00fdb25c71d8124b2
|
4
|
+
data.tar.gz: 50183394657a91bcec78ede05b1071dedb305bf8fd8f1ea06605ea3334c2cbd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8bd13b6282f0c8277eaa92e679448cc537073866a8433dc2ea6d7eb0ec8c462784e73d03c38d8261a15cdb9589942dc6bf6200921d376713e8bdbf1ff3426bb
|
7
|
+
data.tar.gz: 30848958e7588638f4811623ec6726902174a10cbacc578cac90cd97f65c688ec0242b8560938fb5de727b910c7e4b4b5344d1bf72d3f6b42b0d2bd3e243cca7
|
data/bin/license_scout
CHANGED
@@ -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
|
@@ -22,14 +22,14 @@
|
|
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
|
|
29
29
|
module LicenseScout
|
30
30
|
module LicenseFileAnalyzer
|
31
31
|
class Template
|
32
|
-
TEMPLATE_PATH = Pathname.new(File.expand_path("
|
32
|
+
TEMPLATE_PATH = Pathname.new(File.expand_path("templates", __dir__))
|
33
33
|
|
34
34
|
def self.named(name)
|
35
35
|
new TEMPLATE_PATH.join("#{name}.txt").read
|
@@ -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
|
@@ -381,6 +381,7 @@ module LicenseScout
|
|
381
381
|
["minitest", nil, ["https://raw.githubusercontent.com/seattlerb/minitest/master/README.rdoc"]],
|
382
382
|
["mocha", "MIT", ["https://raw.githubusercontent.com/freerange/mocha/master/MIT-LICENSE.md"]],
|
383
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"]],
|
384
385
|
["omniauth-chef", nil, ["https://raw.githubusercontent.com/chef/omniauth-chef/master/README.md"]],
|
385
386
|
["os", "MIT", ["https://raw.githubusercontent.com/rdp/os/master/LICENSE"]],
|
386
387
|
["overcommit", nil, ["https://raw.githubusercontent.com/brigade/overcommit/master/MIT-LICENSE"]],
|
@@ -399,12 +400,15 @@ module LicenseScout
|
|
399
400
|
["sfl", "Ruby", ["https://raw.githubusercontent.com/ujihisa/spawn-for-legacy/master/LICENCE.md"]],
|
400
401
|
["slack-notifier", "MIT", ["https://raw.githubusercontent.com/stevenosloan/slack-notifier/master/LICENSE"]],
|
401
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"]],
|
404
|
+
["strscan", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/strscan/master/LICENSE.txt"]],
|
402
405
|
["structured_warnings", "MIT", ["https://raw.githubusercontent.com/schmidt/structured_warnings/master/LICENSE.txt"]],
|
403
406
|
["unicorn-rails", "MIT", ["https://raw.githubusercontent.com/samuelkadolph/unicorn-rails/master/LICENSE"]],
|
407
|
+
["uri_template", "MIT", ["https://raw.githubusercontent.com/hannesg/uri_template/master/uri_template.gemspec"]],
|
404
408
|
["url", "MIT", ["https://raw.githubusercontent.com/tal/URL/master/LICENSE"]],
|
405
409
|
["websocket-driver", nil, ["https://raw.githubusercontent.com/faye/websocket-driver-ruby/master/LICENSE.md"]],
|
406
410
|
["websocket-extensions", nil, ["https://raw.githubusercontent.com/faye/websocket-extensions-ruby/master/LICENSE.md"]],
|
407
|
-
["win32-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/win32-api/master/README"]],
|
411
|
+
["win32-api", "Artistic-2.0", ["https://raw.githubusercontent.com/cosmo0920/win32-api/master/README.md"]],
|
408
412
|
["win32-dir", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-dir/ffi/README.md"]],
|
409
413
|
["win32-event", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-event/ffi/README"]],
|
410
414
|
["win32-eventlog", "Artistic-2.0", ["https://raw.githubusercontent.com/chef/win32-eventlog/ffi/README"]],
|
@@ -419,6 +423,7 @@ module LicenseScout
|
|
419
423
|
["xml-simple", "Ruby", ["https://raw.githubusercontent.com/maik/xml-simple/master/README.md"]],
|
420
424
|
["zonefile", "MIT", ["https://raw.githubusercontent.com/boesemar/zonefile/master/LICENSE"]],
|
421
425
|
["sync", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/sync/master/LICENSE.txt"]],
|
426
|
+
["crack", "MIT", ["https://github.com/jnunemaker/crack/blob/master/LICENSE"]],
|
422
427
|
]
|
423
428
|
(aws_sdk_gems + other_gems).each do |override_data|
|
424
429
|
override_license "ruby_bundler", override_data[0] do |version|
|
@@ -434,7 +439,7 @@ module LicenseScout
|
|
434
439
|
["apt", nil, ["https://raw.githubusercontent.com/chef-cookbooks/apt/master/LICENSE"]],
|
435
440
|
["chef-ha-drbd", nil, ["https://raw.githubusercontent.com/chef/chef-server/master/LICENSE"]],
|
436
441
|
["private-chef", nil, ["https://raw.githubusercontent.com/chef/chef-server/master/LICENSE"]],
|
437
|
-
["chef-sugar", nil, ["https://raw.githubusercontent.com/
|
442
|
+
["chef-sugar", nil, ["https://raw.githubusercontent.com/chef/chef-sugar/master/LICENSE"]],
|
438
443
|
["openssl", nil, ["https://raw.githubusercontent.com/chef-cookbooks/openssl/master/LICENSE"]],
|
439
444
|
["runit", nil, ["https://raw.githubusercontent.com/chef-cookbooks/runit/master/LICENSE"]],
|
440
445
|
["yum", nil, ["https://raw.githubusercontent.com/chef-cookbooks/yum/master/LICENSE"]],
|
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.11
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi-yajl
|