license_scout 1.1.10 → 1.2.5

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: d79460d42d870e97c1824e06e0d6803a6914b73fb5e7ae7bc0eeae44852c9cb9
4
- data.tar.gz: d339668801c105451ee933cbb7e205105aaaae936ff02eb424fec625ad958dee
3
+ metadata.gz: fc5ec63d8a41595b2a12030ff9d4de100181611b25c84d5ef47ebbad5a6baaa5
4
+ data.tar.gz: ef7c9ff4e3164c9c19362b1c24951eed77efbc916dc83aaad22451be1df8fc06
5
5
  SHA512:
6
- metadata.gz: 6e92b2814d8d7aaad251edda89dbd742d944508c4a1059f92d9738126917860b52143eb204a772c88e21896b6035a401cac308f4f5a270599c59ec333e1d2ff8
7
- data.tar.gz: ff12dc139a63473b066eebce15b667a27517c0613555366709b2fed75617d05b99852e93f6e48d4f75827773ef2266059e63db3b0bab4311163c1f013bbab682
6
+ metadata.gz: 2181a26301e90cc2eb025c541cab9f1723a81a2a5e439795258639e1081f1c4b5f1d63f4cdd7fd4ba3737ab74044678f44a2f50e6c41909ffede05243ec4c36f
7
+ data.tar.gz: aa78a4df65984d07f17e883983a83d86fe6212e99b459d1c5791f618010a72e19862e97e65e8488eff30eb46f9e1702b2fbb8c226885a03ebd351dd2cad5ba4d
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- $:.unshift File.expand_path("../../lib", __FILE__)
19
+ $:.unshift File.expand_path("../lib", __dir__)
20
20
 
21
21
  require "license_scout/collector"
22
22
  require "license_scout/overrides"
@@ -29,7 +29,7 @@ require "license_scout/license_file_analyzer/text"
29
29
  module LicenseScout
30
30
  module LicenseFileAnalyzer
31
31
  class Template
32
- TEMPLATE_PATH = Pathname.new(File.expand_path("../templates", __FILE__))
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
@@ -351,6 +351,7 @@ module LicenseScout
351
351
  # Overrides that require file fetching from internet
352
352
  ["amqp", "Ruby", ["https://raw.githubusercontent.com/ruby-amqp/amqp/master/README.md"]],
353
353
  ["aws-sigv4", "MIT", ["https://raw.githubusercontent.com/cmdrkeene/aws4/master/readme.md"]],
354
+ ["bigdecimal", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/bigdecimal/v1.3.5/LICENSE.txt"]],
354
355
  ["blankslate", "MIT", ["https://raw.githubusercontent.com/masover/blankslate/master/MIT-LICENSE"]],
355
356
  ["codecov", "MIT", ["https://raw.githubusercontent.com/codecov/codecov-ruby/master/LICENSE.txt"]],
356
357
  ["coffee-script-source", nil, ["https://raw.githubusercontent.com/jessedoyle/coffee-script-source/master/LICENSE"]],
@@ -385,6 +386,7 @@ module LicenseScout
385
386
  ["omniauth-chef", nil, ["https://raw.githubusercontent.com/chef/omniauth-chef/master/README.md"]],
386
387
  ["os", "MIT", ["https://raw.githubusercontent.com/rdp/os/master/LICENSE"]],
387
388
  ["overcommit", nil, ["https://raw.githubusercontent.com/brigade/overcommit/master/MIT-LICENSE"]],
389
+ ["parser", "MIT", ["https://raw.githubusercontent.com/whitequark/parser/v2.7.2.0/LICENSE.txt"]],
388
390
  ["parslet", "MIT", ["https://raw.githubusercontent.com/kschiess/parslet/master/LICENSE"]],
389
391
  ["pbkdf2", "MIT", ["https://raw.githubusercontent.com/emerose/pbkdf2-ruby/master/LICENSE.TXT"]],
390
392
  ["rack-accept", "MIT", ["https://raw.githubusercontent.com/mjackson/rack-accept/master/README.md"]],
@@ -397,11 +399,14 @@ module LicenseScout
397
399
  ["rly", "MIT", ["https://raw.githubusercontent.com/farcaller/rly/master/LICENSE.txt"]],
398
400
  ["rspec-rerun", nil, ["https://raw.githubusercontent.com/dblock/rspec-rerun/master/LICENSE.md"]],
399
401
  ["rubyzip", nil, ["https://raw.githubusercontent.com/rubyzip/rubyzip/master/README.md"]],
402
+ ["simplecov-json", "MIT", ["https://raw.githubusercontent.com/vicentllongo/simplecov-json/master/LICENSE"]],
400
403
  ["sfl", "Ruby", ["https://raw.githubusercontent.com/ujihisa/spawn-for-legacy/master/LICENCE.md"]],
401
404
  ["slack-notifier", "MIT", ["https://raw.githubusercontent.com/stevenosloan/slack-notifier/master/LICENSE"]],
402
405
  ["sslshake", "MPL-2.0", ["https://raw.githubusercontent.com/arlimus/sslshake/master/README.md"]],
403
406
  ["sprockets", "MIT", ["https://raw.githubusercontent.com/rails/sprockets/master/MIT-LICENSE"]],
407
+ ["strscan", "BSD-2-Clause", ["https://raw.githubusercontent.com/ruby/strscan/master/LICENSE.txt"]],
404
408
  ["structured_warnings", "MIT", ["https://raw.githubusercontent.com/schmidt/structured_warnings/master/LICENSE.txt"]],
409
+ ["therubyracer", "MIT", ["https://raw.githubusercontent.com/rubyjs/therubyracer/master/README.md"]],
405
410
  ["unicorn-rails", "MIT", ["https://raw.githubusercontent.com/samuelkadolph/unicorn-rails/master/LICENSE"]],
406
411
  ["uri_template", "MIT", ["https://raw.githubusercontent.com/hannesg/uri_template/master/uri_template.gemspec"]],
407
412
  ["url", "MIT", ["https://raw.githubusercontent.com/tal/URL/master/LICENSE"]],
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module LicenseScout
19
- VERSION = "1.1.10".freeze
19
+ VERSION = "1.2.5".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: 1.1.10
4
+ version: 1.2.5
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-09-17 00:00:00.000000000 Z
11
+ date: 2020-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-yajl
@@ -154,6 +154,20 @@ dependencies:
154
154
  - - "~>"
155
155
  - !ruby/object:Gem::Version
156
156
  version: '4.3'
157
+ - !ruby/object:Gem::Dependency
158
+ name: chef-config
159
+ requirement: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - "<"
162
+ - !ruby/object:Gem::Version
163
+ version: 16.5.77
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - "<"
169
+ - !ruby/object:Gem::Version
170
+ version: 16.5.77
157
171
  description: Discovers license files of a project's dependencies.
158
172
  email:
159
173
  - serdar@chef.io