license_finder 6.10.1 → 6.11.0

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: 73b9ecbd4718f26feaf025ecfe39dc87d3a68538fb5a63118cc7970940930fa2
4
- data.tar.gz: 4b7544aef7f9c5a312c2bc58fb277217109f4cc6095a65d252e738a3705a54f0
3
+ metadata.gz: f7f4b1f6bb760975dc3d08674ea695ee52f788f3d5fe8f32bf6c22ef4308e6ff
4
+ data.tar.gz: b095c0577eb83de3f4620b586042a95c7874fe521899df58db6b8d48b900842c
5
5
  SHA512:
6
- metadata.gz: b51e18d0be7d5b25e62b52fbd4a046ab0a7cdba9ea865210172a4026b63e4c2b566446de40bccf45b331580f9de25ed05f620e1b2ccbb6c182162347f0f8b653
7
- data.tar.gz: 58ab33ffa3395bf495fd5b392a89a2fa40d6f1c36228241df10b28534357f76d6cc6ab663a2e0c859684c75a69d4464f6dcd4dc5d8f69e30e84add4589506d0f
6
+ metadata.gz: 06bb9f32417581b6479c3a4bc3372d6dbf6af2c0133d8f7601216472b5308ae1bc1c168660b775b9eb0790a299dd9d8116b6be7139580d31a44b572880946e92
7
+ data.tar.gz: eb295649cdedef74dffc95efdc9ac025edcd29d851a7f8d35e5a514ce3739dc8bc246df502f36d789e3af95cc0078d08925d48b4d47cf29d34b56f3a0fd34dcf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # [6.11.0] / 2021-03-04
2
+
3
+ ### Added
4
+ * Add homepage for go_modules package manager - [912394a8](https://github.com/pivotal/LicenseFinder/commit/912394a8a6ab4c31b6918a21da9f37d5b368ed6b)
5
+
1
6
  # [6.10.1] / 2021-01-08
2
7
 
3
8
  # [6.10.0] / 2020-11-27
@@ -927,3 +932,4 @@ Bugfixes:
927
932
  [6.9.0]: https://github.com/pivotal/LicenseFinder/compare/v6.8.2...v6.9.0
928
933
  [6.10.0]: https://github.com/pivotal/LicenseFinder/compare/v6.9.0...v6.10.0
929
934
  [6.10.1]: https://github.com/pivotal/LicenseFinder/compare/v6.10.0...v6.10.1
935
+ [6.11.0]: https://github.com/pivotal/LicenseFinder/compare/v6.10.1...v6.11.0
data/Dockerfile CHANGED
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y \
25
25
  RUN add-apt-repository ppa:git-core/ppa && apt-get update && apt-get install -y git
26
26
 
27
27
  # nodejs seems to be required for the one of the gems
28
- RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
28
+ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
29
29
  apt-get -y install nodejs
30
30
 
31
31
  # install yarn
data/Rakefile CHANGED
@@ -54,7 +54,7 @@ task :update_pipeline, [:slack_url, :slack_channel] do |_, args|
54
54
  puts 'Warning: You should provide slack channel and url to receive slack notifications on build failures'
55
55
  end
56
56
 
57
- ruby_versions = %w[2.7.1 2.6.5 2.5.7 2.4.9 2.3.8]
57
+ ruby_versions = %w[2.7.1 2.6.5 2.5.7 2.4.9 2.3.8 jruby-9.2.14.0]
58
58
 
59
59
  params = []
60
60
  params << "ruby_versions=#{ruby_versions.join(',')}"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.10.1
1
+ 6.11.0
@@ -156,7 +156,7 @@ jobs:
156
156
  plan:
157
157
  - get: lf-git
158
158
  tags: ["private-worker"]
159
- passed: [<%= "#{ruby_versions.map{ |version| "ruby-#{version}"}.join(', ')}, rubocop" %>]
159
+ passed: [<%= "#{ruby_versions.map{ |version| "ruby-#{version}" unless version == "jruby-9.2.14.0" }.compact.join(', ') }, rubocop" %>]
160
160
  - get: semver-version
161
161
  tags: ["private-worker"]
162
162
  trigger: true
@@ -281,6 +281,13 @@ module LicenseFinder
281
281
  return result unless persisted
282
282
 
283
283
  actions = YAML.load(persisted)
284
+
285
+ list_of_actions = (actions || []).map(&:first)
286
+
287
+ if (list_of_actions & %i[whitelist blacklist]).any?
288
+ raise 'The decisions file seems to have whitelist/blacklist keys which are deprecated. Please replace them with permit/restrict respectively and try again! More info - https://github.com/pivotal/LicenseFinder/commit/a40b22fda11b3a0efbb3c0a021381534bc998dd9'
289
+ end
290
+
284
291
  (actions || []).each do |action, *args|
285
292
  result.send(action, *args)
286
293
  end
@@ -76,10 +76,15 @@ module LicenseFinder
76
76
  info = {
77
77
  'ImportPath' => name,
78
78
  'InstallPath' => install_path,
79
- 'Rev' => version
79
+ 'Rev' => version,
80
+ 'Homepage' => repo_name(name)
80
81
  }
81
82
 
82
83
  GoPackage.from_dependency(info, nil, true)
83
84
  end
85
+
86
+ def repo_name(name)
87
+ name.split('/')[0..2].join('/')
88
+ end
84
89
  end
85
90
  end
@@ -55,7 +55,7 @@ Gem::Specification.new do |s|
55
55
  s.add_development_dependency 'cocoapods', '>= 1.0.0' if RUBY_PLATFORM =~ /darwin/
56
56
  s.add_development_dependency 'fakefs', '~> 1.2.0'
57
57
  s.add_development_dependency 'mime-types', '3.3.1'
58
- s.add_development_dependency 'pry', '~> 0.13.0'
58
+ s.add_development_dependency 'pry', '~> 0.14.0'
59
59
  s.add_development_dependency 'rake', '~> 13.0.1'
60
60
  s.add_development_dependency 'rspec', '~> 3'
61
61
  s.add_development_dependency 'rspec-its', '~> 1.3.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: license_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.10.1
4
+ version: 6.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Collins
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2021-01-08 00:00:00.000000000 Z
30
+ date: 2021-03-04 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: bundler
@@ -187,14 +187,14 @@ dependencies:
187
187
  requirements:
188
188
  - - "~>"
189
189
  - !ruby/object:Gem::Version
190
- version: 0.13.0
190
+ version: 0.14.0
191
191
  type: :development
192
192
  prerelease: false
193
193
  version_requirements: !ruby/object:Gem::Requirement
194
194
  requirements:
195
195
  - - "~>"
196
196
  - !ruby/object:Gem::Version
197
- version: 0.13.0
197
+ version: 0.14.0
198
198
  - !ruby/object:Gem::Dependency
199
199
  name: rake
200
200
  requirement: !ruby/object:Gem::Requirement
@@ -533,7 +533,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
533
533
  - !ruby/object:Gem::Version
534
534
  version: '0'
535
535
  requirements: []
536
- rubygems_version: 3.2.4
536
+ rubygems_version: 3.2.13
537
537
  signing_key:
538
538
  specification_version: 4
539
539
  summary: Audit the OSS licenses of your application's dependencies.