bibliothecary 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f67f5d779f4e9cffeca2c02a0ec6dd4546b511db
4
- data.tar.gz: 30cceac90607ef0532fd6c0396be44639bc338ee
3
+ metadata.gz: 8f8a50e840d707f085b11ff12f9033303546f4d6
4
+ data.tar.gz: 6b0f613937fd994c4d90eceaa16e30fba3d2a9ec
5
5
  SHA512:
6
- metadata.gz: 0faa511796bb6f2ce2dd4c1bf646de7e97d9721a8bc7b994a998e330b48375b8d4cf70a854d8d5c38b57d2539ed84c1fc1e44e2a8f61478ada4732ff795270f2
7
- data.tar.gz: 9c6aae89744bd18a4c56a9664f92a51c9f8bea75a956f7a2d8ef2109d2c49825ec1ef240f898152383bc4aaab86f24c5df5b289cd6231ed42efc84a01650d763
6
+ metadata.gz: 9276e5d2594eedc7ad89f972f870efdbf096ad2c7a36840f4fa3a43d249ad8fc8d66792d0fcaf047276210b7babf51a393576e12b24d12e22e32d34640425e70
7
+ data.tar.gz: 8f3db5617d6ef3e3344404f88af15d2838873b193a7e434e881119c173969a56decde5145b6063b2929334bb283bf4cf103f590a5940038777d701500589254a
@@ -95,6 +95,7 @@ module Bibliothecary
95
95
  else
96
96
  xml = manifest
97
97
  end
98
+ return [] unless xml.respond_to?('dependencies')
98
99
  xml.dependencies.locate('dependency').map do |dependency|
99
100
  {
100
101
  name: "#{extract_pom_dep_info(xml, dependency, 'groupId')}:#{extract_pom_dep_info(xml, dependency, 'artifactId')}",
@@ -31,7 +31,7 @@ module Bibliothecary
31
31
  end
32
32
 
33
33
  def self.parse_package_swift(manifest)
34
- response = Typhoeus.post("http://46.101.24.4:8080/to-json", body: manifest)
34
+ response = Typhoeus.post("http://192.241.154.173/to-json", body: manifest)
35
35
  json = JSON.parse(response.body)
36
36
  json["dependencies"].map do |dependency|
37
37
  name = dependency['url'].gsub(/^https?:\/\//, '').gsub(/\.git$/,'')
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliothecary
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt