bibliothecary 5.1.0 → 5.2.0

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: e3d8c00df772bfce34e75fbaf2f7a51ad1050820
4
- data.tar.gz: 86bd9b0167acbc493691712de9dcef25b479ee53
3
+ metadata.gz: 63862e85e3869ed89e0fd67e3c880fdf6e11710a
4
+ data.tar.gz: e63a382ed34ef91da60d964567baa14b62ea4305
5
5
  SHA512:
6
- metadata.gz: f70bbee146587d06fa83638ffb23c14c45f7c3b449de96658a5643382f9ee53af4b1531cea8ee64d8006baf26fba120d737b75b7677b329e0a3b99d04d2f5091
7
- data.tar.gz: 2df0457e89255a357a78bc761f4eedf4a1a4b1ada021ae70f46f19769f1e53b5a194b36fbf56d3d7a4674815ccc319bfda4916ef28c4ec7b580fcfdfb1db9340
6
+ metadata.gz: 12dc273cb5db780d643a33655bc9f712599b6bba7e8ff2c5532d8d2e38b23b4092e85d7a5c26a588afd513fd6aec7b8351ccd7fd5c9ca911ac8ed3d6673cb368
7
+ data.tar.gz: 621afd3937fdce67f3b78972e7e5ac16ddc9b10891b4fac2eadb99299787e9730e8f7d3323929bf6742a6b718aafabeb3d35901a83cebada9f3672c265b9f864
@@ -33,7 +33,7 @@ module Bibliothecary
33
33
  end
34
34
 
35
35
  def self.map_dependencies(manifest, path)
36
- response = Typhoeus.post("https://carthageparser.herokuapp.com/#{path}", params: {body: manifest})
36
+ response = Typhoeus.post("https://carthage.libraries.io/#{path}", params: {body: manifest})
37
37
  json = JSON.parse(response.body)
38
38
 
39
39
  json.map do |dependency|
@@ -16,7 +16,7 @@ module Bibliothecary
16
16
  end
17
17
 
18
18
  def self.parse_manifest(manifest)
19
- response = Typhoeus.post("https://clojars-json.herokuapp.com/project.clj", body: manifest)
19
+ response = Typhoeus.post("https://clojars.libraries.io/project.clj", body: manifest)
20
20
  json = JSON.parse response.body
21
21
  index = json.index("dependencies")
22
22
 
@@ -19,7 +19,7 @@ module Bibliothecary
19
19
  end
20
20
 
21
21
  def self.parse_mix(manifest)
22
- response = Typhoeus.post("https://mix-deps-json.herokuapp.com/", body: manifest)
22
+ response = Typhoeus.post("https://mix.libraries.io/", body: manifest)
23
23
  json = JSON.parse response.body
24
24
 
25
25
  json.map do |name, version|
@@ -32,7 +32,7 @@ module Bibliothecary
32
32
  end
33
33
 
34
34
  def self.parse_mix_lock(manifest)
35
- response = Typhoeus.post("https://mix-deps-json.herokuapp.com/lock", body: manifest)
35
+ response = Typhoeus.post("https://mix.libraries.io/lock", body: manifest)
36
36
  json = JSON.parse response.body
37
37
 
38
38
  json.map do |name, info|
@@ -52,7 +52,7 @@ module Bibliothecary
52
52
  end
53
53
 
54
54
  def self.parse_gradle(manifest)
55
- response = Typhoeus.post("https://gradle-parser.herokuapp.com/parse", body: manifest)
55
+ response = Typhoeus.post("https://gradle-parser.libraries.io/parse", body: manifest)
56
56
  json = JSON.parse(response.body)
57
57
 
58
58
  return [] unless json['dependencies'] && json['dependencies']['compile'] && json['dependencies']['compile'].is_a?(Array)
@@ -40,7 +40,7 @@ module Bibliothecary
40
40
  end
41
41
 
42
42
  def self.parse_yarn_lock(file_contents)
43
- response = Typhoeus.post("https://yarn-parser.herokuapp.com/parse", body: file_contents)
43
+ response = Typhoeus.post("https://yarn-parser.libraries.io/parse", body: file_contents)
44
44
  return [] unless response.response_code == 200
45
45
  JSON.parse(response.body)
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "5.1.0"
2
+ VERSION = "5.2.0"
3
3
  end
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: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2017-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toml-rb