gemjar 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/gemjar/cli.rb CHANGED
@@ -99,6 +99,8 @@ module GemJar
99
99
 
100
100
  def with_rescue(&block)
101
101
  block.call
102
+ rescue RestClient::PaymentRequired
103
+ puts JSON.parse(e.response)['error_message'].yellow
102
104
  rescue RestClient::ServiceUnavailable
103
105
  puts "GemJar HQ is currently unavailable, please try again in a bit and follow us on twitter @gemjarhq for latest updates".yellow
104
106
  rescue RestClient::NotAcceptable => e
@@ -1,4 +1,4 @@
1
1
  module GemJar
2
- GEM_VERSION = '0.0.2'
2
+ GEM_VERSION = '0.0.3'
3
3
  API_VERSION = 'v1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemjar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-22 00:00:00.000000000 Z
12
+ date: 2013-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client