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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12546f70b9afac3b276e1cddfec8c3b542a0935f284d32662e5835310b7af58e
4
- data.tar.gz: 4097ca31ec4632da0b3951c054fb026909551c16824f98eae8636da2f2ca2e36
3
+ metadata.gz: 6cf1ea4315d9b106ac77b0e360d4221586107a83f6447be2706bb72fc6c63e41
4
+ data.tar.gz: de4ec5eac1067e07212fe48450698110e8254c2ce2d8c38c68504761b65c1d49
5
5
  SHA512:
6
- metadata.gz: 7e69e0a750cbbd2eb17fcbd31246bb04d7582b37ec739eb864f1e007833c849575f5ab2fce2d97f33e89cc4093e0979642cb6a386223c17e63a41140590f26a1
7
- data.tar.gz: 9db2e984ec8290cf4128dd69051de1d3c4e6140972052cfc084e35d10000d82f69d4a1e0f750067890bcd4590a61f12f61ce10e6e8de8557c5321f70803579c6
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
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require "mixlib/config" unless defined?(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
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module LicenseScout
19
- VERSION = "2.6.3".freeze
19
+ VERSION = "2.6.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: 2.6.3
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: 2021-07-27 00:00:00.000000000 Z
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: '2.2'
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: '2.2'
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