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 +4 -4
- data/CHANGELOG.md +14 -1
- data/VERSION +1 -1
- data/lib/license_finder/package_manager.rb +2 -2
- data/lib/license_finder/package_managers/rebar.rb +1 -1
- data/lib/license_finder/package_utils/maven_dependency_finder.rb +1 -1
- data/lib/license_finder/packages/go_package.rb +0 -2
- data/lib/license_finder/packages/npm_package.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6753425b30d14b5409622dce5ce465cabec8431e9a2b1f7eedcc039cabac98b4
|
4
|
+
data.tar.gz: 7581c236bf05854f1972e3ae1b85f24842dbfb41560a25481e19153a8173b493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
*
|
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.
|
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
|
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
|
|
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.
|
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-
|
30
|
+
date: 2024-05-09 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|