license_scout 2.6.3 → 2.6.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/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: 6cf1ea4315d9b106ac77b0e360d4221586107a83f6447be2706bb72fc6c63e41
|
4
|
+
data.tar.gz: de4ec5eac1067e07212fe48450698110e8254c2ce2d8c38c68504761b65c1d49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae2fdc4882eed3fe339ad966aa7f842971bd21eef4dd78a7a04392b8588643e9eda6dd40de1af54d3359e0c63fb43ddbc06f9146c1e12a834a219fafbb9de1ab
|
7
|
+
data.tar.gz: 56f586b5244c5dc97884b32719c859d358d6090c89e8228e8a408afcfd7c3429072a7238f181382cbf47afa013e05927162bcef53499aa6cc1d5b0dedc95c629
|
@@ -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.10
|
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: 2023-01-27 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
|