license_finder 5.6.0 → 5.6.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 +23 -0
- data/Dockerfile +7 -6
- data/lib/license_finder/package_manager.rb +4 -2
- data/lib/license_finder/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '078b591b0ec1c7a83b37dc75d11a220cd14f90c52ee88bab7b2a553bc1e7e758'
|
4
|
+
data.tar.gz: 9d52c8c1af6e880fef3f1b1270e8a25f11d084afa37a1b1371439fe5fd365064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40e2ba700c3174189679046022240bf343deeafbc6e1f98a9d6e16c2c3a6832e79606480c0c24a815d4fb0452d8b4a8b3a557c86d55dbd2b3954b2615854954e
|
7
|
+
data.tar.gz: 7cf738da571dc185940fc2cedb50588c44cdfdab3c688c64595bdef83984de1d9f0449ef7af783760391d7fe75cee2b09f39fe82130d178efd6d9f2cf9b1b0d6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
# [5.6.1] / 2019-01-25
|
2
|
+
|
3
|
+
# [5.6.0] / 2018-12-19
|
4
|
+
|
5
|
+
### Added
|
6
|
+
* Add support for JSON reports [#161595251] - [5a1f735](https://github.com/pivotal-legacy/LicenseFinder/commit/5a1f73515c83cbf8ce17275c4c9d1af43d0db772)
|
7
|
+
* Removed the removal of nested projects - [6e1941c](https://github.com/pivotal-legacy/LicenseFinder/commit/6e1941c4d06676988ff8bdad81bd83a4bb5c17e9)
|
8
|
+
* Show verbose errors from prepare commands [#161462746] - [2b14299](https://github.com/pivotal-legacy/LicenseFinder/commit/2b142995d06572f772104c39437d0b64f9569f79)
|
9
|
+
|
10
|
+
* Support to find gradle.kts files [#161629958] - [f7cb587](https://github.com/pivotal-legacy/LicenseFinder/commit/f7cb587787f4de282c34afe66c0a2d0c1c72a84f)
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
* Go modules reports incorrect install paths - [9ab5aa9](https://github.com/pivotal-legacy/LicenseFinder/commit/9ab5aa9aadc9432c5359ed2af2cb32e28fac277a)
|
14
|
+
Revert "* Go modules reports incorrect install paths" - [fcead98](https://github.com/pivotal-legacy/LicenseFinder/commit/fcead980ae2cc24f7193a1f38944f4df60a8c3fc)
|
15
|
+
|
16
|
+
* Fix install_paths for go mod now accurately report dependency installation directories [#161943322 finish] - [ea28c06](https://github.com/pivotal-legacy/LicenseFinder/commit/ea28c06898964043f5849b64b4043bde81a2d7cd)
|
17
|
+
* Handle log file names created with whitespaces and slashes - [7d6f9da](https://github.com/pivotal-legacy/LicenseFinder/commit/7d6f9da5006e1e7bbb71f594188ab87ee76ddfbb)
|
18
|
+
|
19
|
+
### Changed
|
20
|
+
* Updated go-lang to 1.11.2 in the Docker - [d720f9c](https://github.com/pivotal-legacy/LicenseFinder/commit/d720f9c16f82044b5024213bec41b8e9f34cf306)
|
21
|
+
|
1
22
|
# [5.5.2] / 2018-10-17
|
2
23
|
|
3
24
|
### Fixed
|
@@ -659,3 +680,5 @@ Bugfixes:
|
|
659
680
|
[5.5.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.4.1...v5.5.0
|
660
681
|
[5.5.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.5.0...v5.5.1
|
661
682
|
[5.5.2]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.5.1...v5.5.2
|
683
|
+
[5.6.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.5.2...v5.6.0
|
684
|
+
[5.6.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.6.0...v5.6.1
|
data/Dockerfile
CHANGED
@@ -2,12 +2,13 @@ FROM ubuntu:xenial
|
|
2
2
|
|
3
3
|
# Versioning
|
4
4
|
ENV PIP_INSTALL_VERSION 10.0.1
|
5
|
-
ENV GO_LANG_VERSION 1.11.
|
5
|
+
ENV GO_LANG_VERSION 1.11.4
|
6
6
|
ENV MAVEN_VERSION 3.5.3
|
7
7
|
ENV SBT_VERSION 1.1.1
|
8
8
|
ENV GRADLE_VERSION 4.10
|
9
9
|
ENV RUBY_VERSION 2.5.1
|
10
10
|
ENV MIX_VERSION 1.0
|
11
|
+
ENV BUNDLER_VERSION 1.17.2
|
11
12
|
|
12
13
|
# programs needed for building
|
13
14
|
RUN apt-get update && apt-get install -y \
|
@@ -35,10 +36,10 @@ RUN npm install -g bower && \
|
|
35
36
|
#install java 8
|
36
37
|
#http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04
|
37
38
|
RUN cd /tmp && \
|
38
|
-
wget --quiet --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie"
|
39
|
+
wget --quiet --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz -O jdk-8.tgz && \
|
39
40
|
tar xf /tmp/jdk-8.tgz && \
|
40
41
|
mkdir -p /usr/lib/jvm && \
|
41
|
-
mv jdk1.8.
|
42
|
+
mv jdk1.8.0_201 /usr/lib/jvm/oracle_jdk8 && \
|
42
43
|
rm /tmp/jdk-8.tgz
|
43
44
|
|
44
45
|
ENV J2SDKDIR=/usr/lib/jvm/oracle_jdk8
|
@@ -120,7 +121,7 @@ RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_a
|
|
120
121
|
sudo apt-get install -y elixir
|
121
122
|
|
122
123
|
# install bundler
|
123
|
-
RUN bash -lc "gem update --system && gem install bundler"
|
124
|
+
RUN bash -lc "gem update --system && gem install bundler -v ${BUNDLER_VERSION}"
|
124
125
|
|
125
126
|
# install conan
|
126
127
|
RUN apt-get install -y python-dev && \
|
@@ -128,13 +129,13 @@ RUN apt-get install -y python-dev && \
|
|
128
129
|
pip install conan
|
129
130
|
|
130
131
|
# install Cargo
|
131
|
-
RUN curl
|
132
|
+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
132
133
|
|
133
134
|
# install NuGet (w. mono)
|
134
135
|
# https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools#macoslinux
|
135
136
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF &&\
|
136
137
|
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list &&\
|
137
|
-
apt-get update &&\
|
138
|
+
apt-get update &&\
|
138
139
|
apt-get install -y mono-complete &&\
|
139
140
|
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe &&\
|
140
141
|
echo "alias nuget=\"mono /usr/local/bin/nuget.exe\"" >> ~/.bash_aliases
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# frozen_string_literal:
|
1
|
+
# frozen_string_literal: false
|
2
2
|
|
3
3
|
module LicenseFinder
|
4
4
|
# Super-class for the different package managers
|
@@ -77,12 +77,14 @@ module LicenseFinder
|
|
77
77
|
|
78
78
|
def prepare
|
79
79
|
if self.class.prepare_command
|
80
|
-
|
80
|
+
stdout, stderr, status = Dir.chdir(project_path) { Cmd.run(self.class.prepare_command) }
|
81
81
|
unless status.success?
|
82
82
|
log_errors stderr
|
83
83
|
|
84
84
|
error_message = "Prepare command '#{self.class.prepare_command}' failed\n#{stderr}"
|
85
85
|
|
86
|
+
error_message == error_message.concat("\n#{stdout}\n") if !stdout.nil? && !stdout.empty?
|
87
|
+
|
86
88
|
raise error_message unless @prepare_no_fail
|
87
89
|
end
|
88
90
|
else
|
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.6.
|
4
|
+
version: 5.6.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:
|
30
|
+
date: 2019-01-25 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|
@@ -464,7 +464,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
464
464
|
- !ruby/object:Gem::Version
|
465
465
|
version: '0'
|
466
466
|
requirements: []
|
467
|
-
rubygems_version: 3.0.
|
467
|
+
rubygems_version: 3.0.2
|
468
468
|
signing_key:
|
469
469
|
specification_version: 4
|
470
470
|
summary: Audit the OSS licenses of your application's dependencies.
|