gemfiler 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gemfiler/output.rb +1 -1
- data/lib/gemfiler/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: 9c54c8a27e30b91e51c20149679039f0d41cf0a7
|
4
|
+
data.tar.gz: 4ab579230f9e1fd465d1e36e6db4ccc3a1629b22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61877f3f0447009561a64aa9c9f2ae0df1e43ad75eaa8cffed64b56981ba248d7410213b6491af1593dd9eb186411325f934b31e4d291fb6c9180f5efada877e
|
7
|
+
data.tar.gz: 6b2dfedf8668a8cf4138873e7c35ccc79d9833c1c8755dfb19a022d7d2fcd09279ea01dca8ae98b8b74d62fff5bd43ef8f762d9af98fd1c5819075110e465ff1
|
data/lib/gemfiler/output.rb
CHANGED
@@ -110,7 +110,7 @@ module Gemfiler
|
|
110
110
|
uri = URI.parse("https://rubygems.org/api/v1/gems/#{gem_name}.json")
|
111
111
|
response = Net::HTTP.get_response(uri)
|
112
112
|
|
113
|
-
if response
|
113
|
+
if response.kind_of?(Net::HTTPFound)
|
114
114
|
parsed = JSON.load(response.body)
|
115
115
|
info = parsed['info']
|
116
116
|
|
data/lib/gemfiler/version.rb
CHANGED