bibliothecary 0.16.0 → 0.16.1
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 -1
- data/lib/bibliothecary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de1940656b44b6c53f74eb08e5f160d833b11753
|
4
|
+
data.tar.gz: f4b22eed1d035067ecc66b41695af2f4e4ae539b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f7ca90566c5af1e53c1f6ca6b9001d67f33a92ebb805fa4379e82c6f4fa3021a4afca0a8337a44d6c2be9323e3e379324b9f2a1df9edfd97a40eb8852e11fe
|
7
|
+
data.tar.gz: 6781c0d7e096b1db79cc1b1f6a3e7555feb8cc97535eb5835076ababf496551ebea1bf4e2f49d59f1d10ded6752ef702b5a371e729864a40a9a1a1b6dfdd3c21
|
@@ -93,7 +93,7 @@ module Bibliothecary
|
|
93
93
|
|
94
94
|
return [] unless json['dependencies'] && json['dependencies']['compile']
|
95
95
|
json['dependencies']['compile'].map do |dependency|
|
96
|
-
next unless dependency
|
96
|
+
next unless dependency =~ (/[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+(\.[A-Za-z0-9_-])?\:[A-Za-z0-9_-]+\:/)
|
97
97
|
version = dependency.split(':').last
|
98
98
|
name = dependency.split(':')[0..-2].join(':')
|
99
99
|
{
|