license_finder 5.4.0 → 5.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c2cf5774e9ffa407a6a70a8699c11867121389a3a774240ccc6e52442e25749
|
4
|
+
data.tar.gz: fd3942b4b46df758837e0d0cf70395291b8767f7c5de24a7e075d4d2214b1dd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54602cb06f66e48ca129c9ef1b48ecc859e244016ea5894eb47c4715aaa7e1fedb7e62c3a4d698c5951f2a7c9a41107f5e0d06c685b7098361d59484e63c0188
|
7
|
+
data.tar.gz: 984ae4ba04df15e38391ff0ba3dd651c8d19c7ee2293793892fcb25db7a3265a703f0dd42318f56f93a8dc295f722e91824f70214a2738471ca73f3eb6e49119
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
# [5.4.1] / 2018-09-18
|
2
|
+
|
3
|
+
### Fixed
|
4
|
+
* Extra dependencies showing up for some go projects [#160438065] - [dfb1367](https://github.com/pivotal-legacy/LicenseFinder/commit/dfb136724721843c1196e74a6b4c762538af62ba)
|
5
|
+
* remove workspace-aggregator as a yarn dependency [#159612717 finish] - [4e0afd0](https://github.com/pivotal-legacy/LicenseFinder/commit/4e0afd0ba79623f5bb4c055d42a76ba77ce1c785)
|
6
|
+
|
7
|
+
# [5.4.0] / 2018-08-20
|
8
|
+
|
9
|
+
### Added
|
10
|
+
* NuGet + mono installation to Dockerfile
|
11
|
+
* Add An all caps version of the 'LICENCE' spelling as a candidate file
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
* Upgrades Dockerfile base to Xenial
|
15
|
+
|
1
16
|
# [5.3.0] / 2018-06-05
|
2
17
|
|
3
18
|
### Added
|
@@ -608,3 +623,5 @@ Bugfixes:
|
|
608
623
|
[5.2.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.2.0...v5.2.1
|
609
624
|
[5.2.3]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.2.1...v5.2.3
|
610
625
|
[5.3.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.2.3...v5.3.0
|
626
|
+
[5.4.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.3.0...v5.4.0
|
627
|
+
[5.4.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.4.0...v5.4.1
|
@@ -66,11 +66,21 @@ module LicenseFinder
|
|
66
66
|
Hash[head.zip(json_package)]
|
67
67
|
end
|
68
68
|
|
69
|
-
|
70
|
-
|
69
|
+
valid_packages = filter_yarn_internal_package(packages)
|
70
|
+
|
71
|
+
valid_packages.map do |package_hash|
|
72
|
+
YarnPackage.new(package_hash['Name'], package_hash['Version'], spec_licenses: [package_hash['License']],
|
73
|
+
homepage: package_hash['VendorUrl'])
|
71
74
|
end
|
72
75
|
end
|
73
76
|
|
77
|
+
# remove fake package created by yarn [Yarn Bug]
|
78
|
+
def filter_yarn_internal_package(all_packages)
|
79
|
+
internal_package_pattern = /workspace-aggregator-[a-zA-z0-9]{8}-[a-zA-z0-9]{4}-[a-zA-z0-9]{4}-[a-zA-z0-9]{4}-[a-zA-z0-9]{12}/
|
80
|
+
yarn_internal_package = all_packages.find { |package| internal_package_pattern.match(package['Name']) }
|
81
|
+
all_packages - [yarn_internal_package]
|
82
|
+
end
|
83
|
+
|
74
84
|
def production_flag
|
75
85
|
return '' if @ignored_groups.nil?
|
76
86
|
@ignored_groups.include?('devDependencies') ? ' --production' : ''
|
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.4.
|
4
|
+
version: 5.4.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: 2018-
|
30
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|