license_finder 6.8.1 → 6.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Dockerfile +1 -1
- data/VERSION +1 -1
- data/lib/license_finder/license/text.rb +2 -2
- data/lib/license_finder/packages/erlangmk_package.rb +13 -6
- 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: 6280c04b3b05215777ec6e3db87cdff9766dfb6d53a699142710817c09b41335
|
4
|
+
data.tar.gz: 3643643ad824644d608e4e6015a34c0de2892c217efe603d7fa66ec937bdeff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5928a7331d5012b13a87d0fb218fe8141c561e63ba8230e453a65bd206339d9cb593724e810ecd46f7dce231ab16d466df44a119bae1a4d64f00c0518dddaa
|
7
|
+
data.tar.gz: 28fbde267804e39d141ad54cd71df26693b2857870be8a5d37a84a04202f25db6398e4e8f216f302e17ecf52daf5810f3db7682712c7a9a1249fb93544ff06a3
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# [6.8.2] / 2020-09-08
|
2
|
+
|
1
3
|
# [6.8.1] / 2020-08-13
|
2
4
|
|
3
5
|
# [6.8.0] / 2020-08-06
|
@@ -912,3 +914,4 @@ Bugfixes:
|
|
912
914
|
[6.7.0]: https://github.com/pivotal/LicenseFinder/compare/v6.6.2...v6.7.0
|
913
915
|
[6.8.0]: https://github.com/pivotal/LicenseFinder/compare/v6.7.0...v6.8.0
|
914
916
|
[6.8.1]: https://github.com/pivotal/LicenseFinder/compare/v6.8.0...v6.8.1
|
917
|
+
[6.8.2]: https://github.com/pivotal/LicenseFinder/compare/v6.8.1...v6.8.2
|
data/Dockerfile
CHANGED
@@ -159,7 +159,7 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4F4EA0AAE5
|
|
159
159
|
apt-get update &&\
|
160
160
|
apt-get install -y php7.4-cli &&\
|
161
161
|
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&\
|
162
|
-
php -r "if (hash_file('sha384', 'composer-setup.php') === '
|
162
|
+
php -r "if (hash_file('sha384', 'composer-setup.php') === '8a6138e2a05a8c28539c9f0fb361159823655d7ad2deecb371b04a83966c61223adc522b0189079e3e9e277cd72b8897') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" &&\
|
163
163
|
php composer-setup.php &&\
|
164
164
|
php -r "unlink('composer-setup.php');" &&\
|
165
165
|
mv composer.phar /usr/bin/composer
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.8.
|
1
|
+
6.8.2
|
@@ -10,8 +10,8 @@ module LicenseFinder
|
|
10
10
|
SPECIAL_DOUBLE_QUOTES = /[“”„«»]/.freeze
|
11
11
|
ALPHABET_ORDERED_LIST = /\\\([a-z]\\\)\\\s/.freeze
|
12
12
|
ALPHABET_ORDERED_LIST_OPTIONAL = '(\([a-z]\)\s)?'
|
13
|
-
LIST_BULLETS = /(\d{1,2}
|
14
|
-
LIST_BULLETS_OPTIONAL = '(\d{1,2}
|
13
|
+
LIST_BULLETS = /(\d{1,2}\\\.|\\\*|\\\-)\\\s/.freeze
|
14
|
+
LIST_BULLETS_OPTIONAL = '(\d{1,2}.|\*|\-)?\s*'
|
15
15
|
NEWLINE_CHARACTER = /\n+/.freeze
|
16
16
|
QUOTE_COMMENT_CHARACTER = /^\s*\>+/.freeze
|
17
17
|
ESCAPED_QUOTES = /\\\"/.freeze
|
@@ -38,7 +38,6 @@ module LicenseFinder
|
|
38
38
|
|
39
39
|
def dep_version
|
40
40
|
@dep_version ||= begin
|
41
|
-
version_prefix_re = Regexp.new('^v')
|
42
41
|
dep_version_unformatted.sub(version_prefix_re, '')
|
43
42
|
end
|
44
43
|
end
|
@@ -81,10 +80,6 @@ module LicenseFinder
|
|
81
80
|
dep =~ word_re
|
82
81
|
end
|
83
82
|
|
84
|
-
def word_re
|
85
|
-
@word_re ||= Regexp.new('^\w+$')
|
86
|
-
end
|
87
|
-
|
88
83
|
def dep_repo_valid?
|
89
84
|
set?(dep_repo_unformatted) &&
|
90
85
|
URI.parse(dep_repo)
|
@@ -96,12 +91,24 @@ module LicenseFinder
|
|
96
91
|
if dep_version =~ version_re
|
97
92
|
Gem::Version.correct?(dep_version)
|
98
93
|
else
|
99
|
-
dep_version =~
|
94
|
+
dep_version =~ word_dot_re
|
100
95
|
end
|
101
96
|
end
|
102
97
|
|
103
98
|
def version_re
|
104
99
|
@version_re ||= Regexp.new('\d+\.\d+\.\d+')
|
105
100
|
end
|
101
|
+
|
102
|
+
def version_prefix_re
|
103
|
+
@version_prefix_re ||= Regexp.new('^v')
|
104
|
+
end
|
105
|
+
|
106
|
+
def word_re
|
107
|
+
@word_re ||= Regexp.new('^\w+$')
|
108
|
+
end
|
109
|
+
|
110
|
+
def word_dot_re
|
111
|
+
@word_dot_re ||= Regexp.new('^[.\w]+$')
|
112
|
+
end
|
106
113
|
end
|
107
114
|
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: 6.8.
|
4
|
+
version: 6.8.2
|
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: 2020-08
|
30
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|