license_finder 5.11.0 → 5.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb820e05deb4a720f7156019cc7e9fb9fceb7a2be5d67e4c9ce456e098962529
4
- data.tar.gz: 472d05dd81be8433c61bce7efbb115896db08b53f3faeaed1fe4af62522142c5
3
+ metadata.gz: 229ff47f8f3f1ff07709af3ef3ada8de6ab922721a2cb776edd2bc06536e0541
4
+ data.tar.gz: e2cc27c79ec7d0b2f26d088ef52f72508ffe62993dd02fe37ab0c0ef21767cc0
5
5
  SHA512:
6
- metadata.gz: f89dfc7f1260cd7df3eb88259a2446ce43c020ab37faed49849cc21c5ddbb9927280b01c06519949b3c892a74c2303e584268dc00a491e864b1fb775cf7728c1
7
- data.tar.gz: 06daad53e224d5a5d021d7f877ef3f5ff0c74cb7cfead1f99f4d26e3e8a9aa472f58a1e0d35cfd5b8a21fdc5d645eac476c8e5ca2b05cec9ac0065fee1e14a2b
6
+ metadata.gz: a686bb665dcbe6fb7d5381da2e93f510a9818ef3e17794a7a4b8342ef0d576c3f0225487c5222e529d81c1f3e37eeb44dbc2ebf0fbe0269a9fd7538ae6f71cb3
7
+ data.tar.gz: 6d705dd6c77f0a5289aa38cb218d4cd4b4c2854dcd336ec142272c190a6f33fad30cb53391750876ea89ae9d117959234b80791c9f6cab8696ca066d8ee365da
@@ -1,3 +1,12 @@
1
+ # [5.11.1] / 2019-11-05
2
+
3
+ ### Fixed
4
+ * Crash when gradle runs with project roots recursive [#169465210] - [08e0df85](https://github.com/pivotal/LicenseFinder/commit/08e0df857c7fa4273eb6e2e4a7c01bb46550a91f)
5
+
6
+ ### Changed
7
+ * Bump docker ruby version to 2.6.5 [#169539985] - [26b6d4b2](https://github.com/pivotal/LicenseFinder/commit/26b6d4b25133fa50dbf92265a20bed2350305245)
8
+ * Gradle version updated to 5.6.4 - [9e32228f](https://github.com/pivotal/LicenseFinder/commit/9e32228fae3dacae38e7827946a0e0412a20ccb0)
9
+
1
10
  # [5.11.0] / 2019-10-24
2
11
 
3
12
  ### Fixed
@@ -762,3 +771,4 @@ Bugfixes:
762
771
  [5.10.1]: https://github.com/pivotal/LicenseFinder/compare/v5.10.0...v5.10.1
763
772
  [5.10.2]: https://github.com/pivotal/LicenseFinder/compare/v5.10.1...v5.10.2
764
773
  [5.11.0]: https://github.com/pivotal/LicenseFinder/compare/v5.10.2...v5.11.0
774
+ [5.11.1]: https://github.com/pivotal/LicenseFinder/compare/v5.11.0...v5.11.1
data/Dockerfile CHANGED
@@ -6,8 +6,8 @@ ENV PIP3_INSTALL_VERSION 8.1.1
6
6
  ENV GO_LANG_VERSION 1.11.5
7
7
  ENV MAVEN_VERSION 3.6.0
8
8
  ENV SBT_VERSION 1.1.1
9
- ENV GRADLE_VERSION 4.10.3
10
- ENV RUBY_VERSION 2.6.3
9
+ ENV GRADLE_VERSION 5.6.4
10
+ ENV RUBY_VERSION 2.6.5
11
11
  ENV MIX_VERSION 1.0
12
12
  ENV JDK_VERISON 8u211
13
13
  ENV COMPOSER_ALLOW_SUPERUSER 1
data/README.md CHANGED
@@ -6,7 +6,7 @@ Build status
6
6
  * Ruby 2.3.8 [![Ruby 2.3.8 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.3.8/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
7
7
  * Ruby 2.4.5 [![Ruby 2.4.5 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.4.5/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
8
8
  * Ruby 2.5.3 [![Ruby 2.5.3 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.5.3/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
9
- * Ruby 2.6.3 [![Ruby 2.6.3 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.6.3/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
9
+ * Ruby 2.6.5 [![Ruby 2.6.5 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.6.5/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
10
10
  * JRuby 9.1.17.0 [![JRuby 9.1.17.0 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-jruby-9.1.17.0/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
11
11
  * JRuby 9.2.6.0 [![JRuby 9.2.6.0 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-jruby-9.2.6.0/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
12
12
 
data/Rakefile CHANGED
@@ -63,7 +63,7 @@ task :update_pipeline, [:slack_url, :slack_channel] do |_, args|
63
63
  puts 'Warning: You should provide slack channel and url to receive slack notifications on build failures'
64
64
  end
65
65
 
66
- ruby_versions = %w[2.6.3 2.5.3 2.4.5 2.3.8 jruby-9.1.17.0 jruby-9.2.6.0]
66
+ ruby_versions = %w[2.6.5 2.5.3 2.4.5 2.3.8 jruby-9.1.17.0 jruby-9.2.6.0]
67
67
 
68
68
  params = []
69
69
  params << "ruby_versions=#{ruby_versions.join(',')}"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.11.0
1
+ 5.11.1
@@ -4,7 +4,7 @@ image_resource:
4
4
  type: registry-image
5
5
  source:
6
6
  repository: ruby
7
- tag: 2.6.3
7
+ tag: 2.6.5
8
8
 
9
9
  inputs:
10
10
  - name: LicenseFinder
@@ -49,8 +49,19 @@ module LicenseFinder
49
49
  private
50
50
 
51
51
  def root_module?
52
- command = "#{package_management_command} properties | grep 'parent: '"
52
+ return false if project_path.to_s.include?('buildSrc')
53
+
54
+ command = "#{package_management_command} -Dorg.gradle.jvmargs=-Xmx6144m properties | grep 'parent: '"
53
55
  stdout, stderr, status = Dir.chdir(project_path) { Cmd.run(command) }
56
+
57
+ if stderr&.include?('not part of the build defined by settings file')
58
+ Dir.chdir(project_path) do
59
+ Cmd.run('touch settings.gradle')
60
+ stdout, stderr, status = Cmd.run(command)
61
+ Cmd.run('rm settings.gradle')
62
+ end
63
+ end
64
+
54
65
  raise "Command '#{command}' failed to execute: #{stderr}" unless status.success?
55
66
 
56
67
  root_project_name = stdout.gsub(/\s|parent:|\n/, '')
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
59
59
  s.add_development_dependency 'rake'
60
60
  s.add_development_dependency 'rspec', '~> 3'
61
61
  s.add_development_dependency 'rspec-its'
62
- s.add_development_dependency 'rubocop', '~> 0.75.0'
62
+ s.add_development_dependency 'rubocop', '~> 0.76.0'
63
63
  s.add_development_dependency 'rubocop-performance', '~> 1.5.0'
64
64
  s.add_development_dependency 'webmock', '~> 3.5'
65
65
 
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: 5.11.0
4
+ version: 5.11.1
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: 2019-10-24 00:00:00.000000000 Z
30
+ date: 2019-11-05 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: bundler
@@ -237,14 +237,14 @@ dependencies:
237
237
  requirements:
238
238
  - - "~>"
239
239
  - !ruby/object:Gem::Version
240
- version: 0.75.0
240
+ version: 0.76.0
241
241
  type: :development
242
242
  prerelease: false
243
243
  version_requirements: !ruby/object:Gem::Requirement
244
244
  requirements:
245
245
  - - "~>"
246
246
  - !ruby/object:Gem::Version
247
- version: 0.75.0
247
+ version: 0.76.0
248
248
  - !ruby/object:Gem::Dependency
249
249
  name: rubocop-performance
250
250
  requirement: !ruby/object:Gem::Requirement