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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3ba010913ed7e47bfc6c87c0e4d45f1ff8a4b51
4
- data.tar.gz: 9e95f96b39976a8135442f82666bc72e2db6162c
3
+ metadata.gz: 9c54c8a27e30b91e51c20149679039f0d41cf0a7
4
+ data.tar.gz: 4ab579230f9e1fd465d1e36e6db4ccc3a1629b22
5
5
  SHA512:
6
- metadata.gz: 03346cd6a5c317fe6f831dc846b9912954721476b0c38677002988f3e018790c1f5133406765e5b0d5b0a809d77eab300808adde7380ce3513b1b7ba77fa9e5e
7
- data.tar.gz: 5b9fd4c038d644af00f611fcdf2145de7235207de21a4ee3b2ce6c007f66a1d449f2b00139aea0257e7c08553af311c7ea76085794c919a50c163e73c807a772
6
+ metadata.gz: 61877f3f0447009561a64aa9c9f2ae0df1e43ad75eaa8cffed64b56981ba248d7410213b6491af1593dd9eb186411325f934b31e4d291fb6c9180f5efada877e
7
+ data.tar.gz: 6b2dfedf8668a8cf4138873e7c35ccc79d9833c1c8755dfb19a022d7d2fcd09279ea01dca8ae98b8b74d62fff5bd43ef8f762d9af98fd1c5819075110e465ff1
@@ -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 === Net::HTTPNotFound
113
+ if response.kind_of?(Net::HTTPFound)
114
114
  parsed = JSON.load(response.body)
115
115
  info = parsed['info']
116
116
 
@@ -1,3 +1,3 @@
1
1
  module Gemfiler
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemfiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Ross