license_finder 7.2.0 → 7.2.1

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: ea2f57657f8f3dba53174ad258ba5110faea56db4bc43053d0534758dae68cf6
4
- data.tar.gz: b4f8e8a5a1f079f0a0d72cf204136c90146d5e769e39a892b7400ad5df1b5fbd
3
+ metadata.gz: 6753425b30d14b5409622dce5ce465cabec8431e9a2b1f7eedcc039cabac98b4
4
+ data.tar.gz: 7581c236bf05854f1972e3ae1b85f24842dbfb41560a25481e19153a8173b493
5
5
  SHA512:
6
- metadata.gz: c22e4175e51437d7be9b3a0fda548fe71df5f7620e78ffbfe855eb26c81b6f6add55a9358e845f3d312b51ba077804f951c830339c7364b33426b5aa7658b06d
7
- data.tar.gz: 74189994406c098243463a2d2da803453f6ad8550eb0b77df294158add2cd1694051b2e26f224eceb2a6719f6e66d0e7c9b90cf8d5a502404c035fe8677279bf
6
+ metadata.gz: 91a8359b666caf7d9648397f833293729beea3a26cd61ec257f8587b45337244b2236c93c8484bbdddc454f0bc2b1a64befe6b78ce2031c847030dd78f8a8a04
7
+ data.tar.gz: b883240ffb86286ab2e8a76f12250bbd0f6f0c412a3ddb9f7fd415a777ca949b285523ed11804dfba69566a0ed4108390a15025414d0b8aeb710f029e811f297
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
+ # [7.2.1] / 2024-05-08
2
+
1
3
  # [7.2.0] / 2024-05-07
2
4
 
3
5
  ### Added
6
+ * Support for Ruby 3.3.x - [3bbe12f7](https://github.com/pivotal/LicenseFinder/commit/3bbe12f76d5305879df89d856d90f0b9eaf967d4)
7
+ * Support of latest Conan v1.6 - [ef81af38](https://github.com/pivotal/LicenseFinder/commit/ef81af387fa8c6577d85387e354a491da93f5a47) - melter2m
8
+ * Support NPM 7 and up and include NodeJS 17 in the Docker image (NPM 8) - [420c5444](https://github.com/pivotal/LicenseFinder/commit/420c5444223443277e4301badd58ee0ba0a82ec4) - rhuitl
9
+ * Maven: extract LICENSE and NOTICE texts from JAR file and summary, description and URL from POM file - [0da6d30b](https://github.com/pivotal/LicenseFinder/commit/0da6d30b9a306cc8a7c88cc55f13acd0eb3f10b3) - rhuitl
4
10
  * Add more license detection - [b3dde46e](https://github.com/pivotal/LicenseFinder/commit/b3dde46e2018aef9b6436a04777ec33d40a134e4) - Simon Warren
5
11
  * Unlicense - [6fb571ca](https://github.com/pivotal/LicenseFinder/commit/6fb571cad9b5ee856c0984ca79aa7604afdd818b) - Jim Kane
6
12
 
@@ -11,8 +17,14 @@
11
17
  * Fix 'unknown' Yarn 2 licenses - [f57745be](https://github.com/pivotal/LicenseFinder/commit/f57745be34bb7774577ea577671ea7b5c3246576) - Simon Warren
12
18
  * Print subproject paths when logging - [add2f969](https://github.com/pivotal/LicenseFinder/commit/add2f9698a0f3c02d3148655a4b538e2f557d2be) - Simon Warren
13
19
 
20
+ ### Changed
21
+ * Use Ubuntu 22.04 (Jammy) for Docker image - [da637b83](https://github.com/pivotal/LicenseFinder/commit/da637b83877b4ec3f054d787d68b90c8fa7a8b41) - rhuitl
22
+ * Use Maven 3.6.3 instead of 3.6.0 which now throws an error. - [1d3326d3](https://github.com/pivotal/LicenseFinder/commit/1d3326d350bebdf575ef64af7436a9f043d88920) - rhuitl
23
+
24
+
14
25
  ### Deprecated
15
- * - Remove Dep package manager for jammy release - [42bed10d](https://github.com/pivotal/LicenseFinder/commit/42bed10d80e4b0e6fac1c62dd5eca2097ffc3517)
26
+ * Remove Ruby 2.6 tests- [c48ddb74](https://github.com/pivotal/LicenseFinder/commit/c48ddb745bb85971fc14e21d2c3c308c849ef2a3)
27
+ * Remove Dep package manager for jammy release - [42bed10d](https://github.com/pivotal/LicenseFinder/commit/42bed10d80e4b0e6fac1c62dd5eca2097ffc3517)
16
28
 
17
29
  # [7.1.0] / 2022-11-28
18
30
 
@@ -1051,3 +1063,4 @@ Bugfixes:
1051
1063
  [7.0.1]: https://github.com/pivotal/LicenseFinder/compare/v7.0.0...v7.0.1
1052
1064
  [7.1.0]: https://github.com/pivotal/LicenseFinder/compare/v7.0.1...v7.1.0
1053
1065
  [7.2.0]: https://github.com/pivotal/LicenseFinder/compare/v7.1.0...v7.2.0
1066
+ [7.2.1]: https://github.com/pivotal/LicenseFinder/compare/v7.2.0...v7.2.1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.2.0
1
+ 7.2.1
@@ -147,6 +147,8 @@ module LicenseFinder
147
147
  end
148
148
  end
149
149
 
150
+ require 'license_finder/package'
151
+
150
152
  require 'license_finder/package_managers/bower'
151
153
  require 'license_finder/package_managers/go_workspace'
152
154
  require 'license_finder/package_managers/go_15vendorexperiment'
@@ -179,5 +181,3 @@ require 'license_finder/package_managers/cargo'
179
181
  require 'license_finder/package_managers/composer'
180
182
  require 'license_finder/package_managers/conda'
181
183
  require 'license_finder/package_managers/pub'
182
-
183
- require 'license_finder/package'
@@ -41,7 +41,7 @@ module LicenseFinder
41
41
  .each_line
42
42
  .reject { |line| line.start_with?('=') || line.include?('project app') }
43
43
  .map do |line|
44
- matches = line.match(/(?<name>\w+)─(?<version>[\S.]+)\s*/)
44
+ matches = line.match(/(?<name>\w+)─(?<version>\S+)\s*/)
45
45
  [matches[:name], matches[:version]] if matches
46
46
  end.compact
47
47
  end
@@ -33,7 +33,7 @@ module LicenseFinder
33
33
  # Basic support for Maven classifiers. So far, only "jakarta" is supported. Unfortunately,
34
34
  # we do not have access to the "classifier" field here (licenses.xml does not have it).
35
35
  jar_file = m2_artifact_dir.join("#{artifact_basename}.jar")
36
- jar_file = m2_artifact_dir.join("#{artifact_basename}-jakarta.jar") unless File.exist?(jar_file)
36
+ jar_file = m2_artifact_dir.join("#{artifact_basename}-jakarta.jar") unless File.exist?(jar_file) || !File.exist?(m2_artifact_dir.join("#{artifact_basename}-jakarta.jar"))
37
37
 
38
38
  dep.store('jarFile', jar_file)
39
39
 
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'license_finder/package'
4
-
5
3
  module LicenseFinder
6
4
  class GoPackage < Package
7
5
  def package_manager
@@ -120,7 +120,7 @@ module LicenseFinder
120
120
  end
121
121
 
122
122
  def author_name_from_combined(author)
123
- matches = author.match /^(.*?)\s*(<.*?>)?\s*(\(.*?\))?\s*$/
123
+ matches = author.match(/^(.*?)\s*(<.*?>)?\s*(\(.*?\))?\s*$/)
124
124
  matches[1]
125
125
  end
126
126
 
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: 7.2.0
4
+ version: 7.2.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: 2024-05-07 00:00:00.000000000 Z
30
+ date: 2024-05-09 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: bundler