gemfiler 0.1.5 → 0.1.6

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: 9c54c8a27e30b91e51c20149679039f0d41cf0a7
4
- data.tar.gz: 4ab579230f9e1fd465d1e36e6db4ccc3a1629b22
3
+ metadata.gz: 7b6d0cc519a8753750b526a54cb3d4ce89978117
4
+ data.tar.gz: 9290fa7c9d7c1101f2c9f1047c17404927e6d399
5
5
  SHA512:
6
- metadata.gz: 61877f3f0447009561a64aa9c9f2ae0df1e43ad75eaa8cffed64b56981ba248d7410213b6491af1593dd9eb186411325f934b31e4d291fb6c9180f5efada877e
7
- data.tar.gz: 6b2dfedf8668a8cf4138873e7c35ccc79d9833c1c8755dfb19a022d7d2fcd09279ea01dca8ae98b8b74d62fff5bd43ef8f762d9af98fd1c5819075110e465ff1
6
+ metadata.gz: 6c2558ddc2783461e81e4aa93daf0ae67644a2233c8160c6acc9bffab45614c082d820c29213c9dd1b279f04923535c61fcc1ecdc3f334ac1a4c71deb08fc2e0
7
+ data.tar.gz: b810c3ff509dc038e8bd83afbcaba18b1ea82ad580418047a1f621b0b009dcf891e91811512612c14982c156970e653ce0e8f6dce1831532bb0b3ef2a338f1e1
data/Gemfile CHANGED
@@ -1,2 +1,2 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+ gemspec
data/lib/gemfiler/cli.rb CHANGED
@@ -1,5 +1,3 @@
1
- require "awesome_print"
2
-
3
1
  module Gemfiler
4
2
  class CLI < Thor
5
3
 
@@ -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.kind_of?(Net::HTTPFound)
113
+ if response.code == "200"
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.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Ross