license_scout 2.6.3 → 2.6.7
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/config.rb +2 -1
- data/lib/license_scout/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4e08ba012a7d50d0031bce489b2862560541ec4ffcf00a643fd5575a47d0d27
|
4
|
+
data.tar.gz: 43fdcfc23877f95d3950256cf9b73837a9c1657c4d1bb8f3a4b96d8bbfc25f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4678cf04268ea4ece2ac89265a1a28b13ddf58ee5b69d882e55b0e12fb7696c14204b726d4a1e4bfd65363ae122ad55be62319d2529eaeb0751707407e5e0214
|
7
|
+
data.tar.gz: a6f0214ee457b455a011e743e2c00324239ccf46e9036492854058a0c34db18ee16f7a9bbf880715551ecb2b208081538edc64935b4ce81cdc28ecc72eae3f65
|
@@ -60,7 +60,7 @@ module LicenseScout
|
|
60
60
|
@dependency_managers ||= LicenseScout::Config.all_directories.map do |dir|
|
61
61
|
LicenseScout::DependencyManager.implementations.map do |implementation|
|
62
62
|
dep_mgr = implementation.new(File.expand_path(dir))
|
63
|
-
if dep_mgr.detected?
|
63
|
+
if dep_mgr.detected? && !(LicenseScout::Config.exclude_collectors.include? dep_mgr.name)
|
64
64
|
LicenseScout::Log.info("[collector] Found #{dep_mgr.signature} in #{dir}")
|
65
65
|
dep_mgr
|
66
66
|
else
|
data/lib/license_scout/config.rb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
# limitations under the License.
|
16
16
|
#
|
17
17
|
|
18
|
-
require "mixlib/config"
|
18
|
+
require "mixlib/config"
|
19
19
|
require "tmpdir" unless defined?(Dir.mktmpdir)
|
20
20
|
|
21
21
|
require "license_scout/exceptions"
|
@@ -31,6 +31,7 @@ module LicenseScout
|
|
31
31
|
default :include_subdirectories, false
|
32
32
|
default :name, File.basename(directories.first)
|
33
33
|
default :config_files, [File.join(File.expand_path(Dir.pwd), ".license_scout.yml")]
|
34
|
+
default :exclude_collectors, []
|
34
35
|
|
35
36
|
# Output
|
36
37
|
default :log_level, :info
|
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: 2.6.
|
4
|
+
version: 2.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Duffield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi-yajl
|
@@ -78,14 +78,20 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '3.0'
|
82
|
+
- - "<"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '4.0'
|
82
85
|
type: :runtime
|
83
86
|
prerelease: false
|
84
87
|
version_requirements: !ruby/object:Gem::Requirement
|
85
88
|
requirements:
|
86
89
|
- - "~>"
|
87
90
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
91
|
+
version: '3.0'
|
92
|
+
- - "<"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '4.0'
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: mixlib-cli
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|