license_finder 5.2.0 → 5.2.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: e83c5628e135b370df265f0878986cebbfe132108f5dfdab56488e7d6e892bd6
4
- data.tar.gz: 6aa33792658ecfed8f4722d0e221dd9e1263c41d9c86fde0bb641f695d60d9fa
3
+ metadata.gz: 5f1ff7dd73914dbae0d6c2537623a1586df2741eb946747d6cd6c5e98fd4cb67
4
+ data.tar.gz: 773689e4c2f2b3cfb5c0bdabdddf04eba999fada676e894f7798f4d145f0fa6b
5
5
  SHA512:
6
- metadata.gz: 9169b9af952e7713fe628e4a4a54788c84c4f6574bb7f481ac7e4385db3a52f18522aff31c5ae55afe2d79356dd10e986e6c42cd87a202b23ce371bd609df8d1
7
- data.tar.gz: 8b5224d5a66d9b6603a975e00fbe85cef8194a5c1b529aa95f00672e4aef16c67f85f6fab3e0e3234e2d509a012b50239f6cf3e7d21c9de5ffeba18c3d4183f2
6
+ metadata.gz: 50f936f234b23501e24750a2fd73f2c036c2e013c222d0093263997830175d50cf0bf6c1e7a4ad2a7bca4b454bbf97b46b2d374de3e1cd96865fc78c7ea3ff43
7
+ data.tar.gz: a7e47a71954ee9605348fb71cb20f622dee8526336e8a3d3e7282b6a1efdd75502491f9c0c10af06515fabfc95a0cbd68d3da1dd04266e3f2dba3bf00a82bf9a
@@ -1,5 +1,18 @@
1
+ # [5.2.0] / 2018-05-09
2
+
3
+ ### Fixed
4
+ * Support for pip 10.0.1 - [286f679](https://github.com/pivotal-legacy/LicenseFinder/commit/286f6790dc71c97c0e93ecdfe0c6fddad75165cc)
5
+
1
6
  # [5.1.1] / 2018-05-08
2
7
 
8
+ ### Added
9
+ * CC License detection
10
+
11
+ ### Fixed
12
+ * Yarn package manager now handles non-ASCII characters
13
+ * in_umbrella: true dependencies for Mix
14
+ * Pivotal Repo Renamed to Pivotal-legacy
15
+
3
16
  # [5.1.0] / 2018-04-02
4
17
 
5
18
  ### Added
@@ -575,3 +588,4 @@ Bugfixes:
575
588
  [5.1.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.0.3...v5.1.0
576
589
  [5.1.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.1.0...v5.1.1
577
590
  [5.1.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.1.0...v5.1.1
591
+ [5.2.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.1.1...v5.2.0
data/Dockerfile CHANGED
@@ -1,6 +1,15 @@
1
1
  FROM ubuntu:trusty
2
2
  RUN apt-get update && apt-get install -y curl git-core build-essential wget unzip
3
3
 
4
+ # Versioning
5
+ ENV PIP_INSTALL_VERSION 10.0.1
6
+ ENV GO_LANG_VERSION 1.10.2
7
+ ENV MAVEN_VERSION 3.5.3
8
+ ENV SBT_VERSION 1.1.1
9
+ ENV GRADLE_VERSION 4.2
10
+ ENV RUBY_VERSION 2.5.1
11
+ ENV MIX_VERSION 1.0
12
+
4
13
  # nodejs seems to be required for the one of the gems
5
14
  RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
6
15
  apt-get -y install nodejs
@@ -37,16 +46,15 @@ RUN apt-get install -y python rebar
37
46
 
38
47
  # install and update python-pip
39
48
  RUN apt-get install -y python-pip && \
40
- pip install --upgrade pip==10.0.1
49
+ pip install --upgrade pip==$PIP_INSTALL_VERSION
41
50
 
42
51
  # install maven
43
- RUN curl -O http://www-us.apache.org/dist/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz && \
44
- tar -xf apache-maven-3.5.2-bin.tar.gz; rm -rf apache-maven-3.5.2-bin.tar.gz && \
45
- mv apache-maven-3.5.2 /usr/local/lib/maven && \
52
+ RUN curl -O http://www-us.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \
53
+ tar -xf apache-maven-$MAVEN_VERSION-bin.tar.gz; rm -rf apache-maven-$MAVEN_VERSION-bin.tar.gz && \
54
+ mv apache-maven-$MAVEN_VERSION /usr/local/lib/maven && \
46
55
  ln -s /usr/local/lib/maven/bin/mvn /usr/local/bin/mvn
47
56
 
48
57
  # install sbt
49
- ENV SBT_VERSION 1.1.1
50
58
  RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
51
59
  curl --progress \
52
60
  --retry 3 \
@@ -59,15 +67,15 @@ RUN mkdir -p /usr/local/share/sbt-launcher-packaging && \
59
67
 
60
68
  # install gradle
61
69
  WORKDIR /tmp
62
- RUN curl -L -o gradle.zip http://services.gradle.org/distributions/gradle-4.2-bin.zip && \
70
+ RUN curl -L -o gradle.zip http://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip && \
63
71
  unzip -q gradle.zip && \
64
72
  rm gradle.zip && \
65
- mv gradle-4.2 /root/gradle
73
+ mv gradle-$GRADLE_VERSION /root/gradle
66
74
  ENV PATH=/root/gradle/bin:$PATH
67
75
 
68
76
  #install go
69
77
  WORKDIR /go
70
- RUN wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz -O go.tar.gz && tar --strip-components=1 -xf go.tar.gz
78
+ RUN wget https://storage.googleapis.com/golang/go$GO_LANG_VERSION.linux-amd64.tar.gz -O go.tar.gz && tar --strip-components=1 -xf go.tar.gz
71
79
  ENV GOROOT /go
72
80
  ENV PATH=$PATH:/go/bin
73
81
 
@@ -90,12 +98,12 @@ ENV LC_ALL=en_US.UTF-8
90
98
 
91
99
  #install rvm
92
100
  RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import && \
93
- curl -sSL https://get.rvm.io | sudo bash -s stable --ruby=2.5.1
101
+ curl -sSL https://get.rvm.io | sudo bash -s stable --ruby=$RUBY_VERSION
94
102
  ENV PATH=/usr/local/rvm/bin:$PATH
95
103
 
96
104
  #install mix
97
- RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \
98
- sudo dpkg -i erlang-solutions_1.0_all.deb && \
105
+ RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_all.deb && \
106
+ sudo dpkg -i erlang-solutions_${MIX_VERSION}_all.deb && \
99
107
  sudo apt-get update && \
100
108
  sudo apt-get install -y esl-erlang && \
101
109
  sudo apt-get install -y elixir
@@ -2,8 +2,16 @@
2
2
 
3
3
  import json
4
4
  import sys
5
- from pip._internal.req import parse_requirements
6
- from pip._internal.download import PipSession
5
+
6
+ try:
7
+ from pip._internal.req import parse_requirements
8
+ except ImportError:
9
+ from pip.req import parse_requirements
10
+ try:
11
+ from pip._internal.download import PipSession
12
+ except ImportError:
13
+ from pip.download import PipSession
14
+
7
15
  from pip._vendor import pkg_resources
8
16
  from pip._vendor.six import print_
9
17
 
@@ -1,3 +1,3 @@
1
1
  module LicenseFinder
2
- VERSION = '5.2.0'.freeze
2
+ VERSION = '5.2.1'.freeze
3
3
  end
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.2.0
4
+ version: 5.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: 2018-05-09 00:00:00.000000000 Z
30
+ date: 2018-05-14 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: bundler