bibliothecary 1.2.0 → 1.2.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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5681e2de359446e1d31913bab36aee62e5dde24a
|
4
|
+
data.tar.gz: af190e2a8ca33e6856bde42e20b378fa1da05a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2821013c1a5fc12aa4c51b32ca94e3eca0f48110055d188577e2094699d872b8163c59243337d1becf026639d9af9c55074dfb6c739d99b748ddc8ca9bca4c63
|
7
|
+
data.tar.gz: f3437c6737812fe735a21935ba849e2c73e2969fda5e12b6fa74efd24e63bd3b9bdb8f0a18166f4548d4f3751b0af6c7a589a60e4597b4cbbbf51741286fdb07
|
@@ -98,7 +98,7 @@ module Bibliothecary
|
|
98
98
|
response = Typhoeus.post("https://gradle-parser.herokuapp.com/parse", body: manifest)
|
99
99
|
json = JSON.parse(response.body)
|
100
100
|
|
101
|
-
return [] unless json['dependencies'] && json['dependencies']['compile']
|
101
|
+
return [] unless json['dependencies'] && json['dependencies']['compile'] && json['dependencies']['compile'].is_a?(Array)
|
102
102
|
json['dependencies']['compile'].map do |dependency|
|
103
103
|
next unless dependency =~ (/[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+(\.[A-Za-z0-9_-])?\:[A-Za-z0-9_-]+\:/)
|
104
104
|
version = dependency.split(':').last
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibliothecary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: toml-rb
|