bibliothecary 6.10.2 → 6.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bibliothecary/parsers/maven.rb +1 -0
- data/lib/bibliothecary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af1a007a1d21ef7ecfeffcbe97319185c31da96d252f27a58619e60afcc3faf8
|
4
|
+
data.tar.gz: 64fb93438b9f3af750b2d69206ec7601e52b77bb5236a2783ad724a064125f33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4816e56d6cea72b20deaa2f2832a27ce1c2d99ffe5ac224e7259bb3595b699083ec32dbd2b2b756ec0ea8c82aa411908f4ab83eed366e41726f5d634e241630
|
7
|
+
data.tar.gz: 1f5c52f3c4ad451a2c32e93bc129694580bb7f1c5af8769e859cfcc74ee928ea8a3ed0595c84c7a5ff13bad118ce4ff02bd519ee12bdd7c5f688dc2e98076e17
|
@@ -153,6 +153,7 @@ module Bibliothecary
|
|
153
153
|
.uniq
|
154
154
|
end
|
155
155
|
def self.parse_maven_tree(file_contents)
|
156
|
+
file_contents = file_contents.gsub(/\r\n?/, "\n")
|
156
157
|
captures = file_contents.scan(/^\[INFO\][\s|+-\\]+([[\w.-]+:]+)(?=$|\s\(optional\)$)/).flatten.uniq
|
157
158
|
captures.map do |item|
|
158
159
|
parts = item.split(":")
|