lib/bibliothecary/parsers/swift.rb in bibliothecary-1.4.1 vs lib/bibliothecary/parsers/swift.rb in bibliothecary-1.4.2
- old
+ new
@@ -29,10 +29,10 @@
rescue
[]
end
def self.parse_package_swift(manifest)
- response = Typhoeus.post("http://46.101.24.4:8080/to-json", body: manifest)
+ response = Typhoeus.post("http://192.241.154.173/to-json", body: manifest)
json = JSON.parse(response.body)
json["dependencies"].map do |dependency|
name = dependency['url'].gsub(/^https?:\/\//, '').gsub(/\.git$/,'')
version = "#{dependency['version']['lowerBound']} - #{dependency['version']['upperBound']}"
{