global_registry 1.0.1 → 1.0.2

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: 5e53a1db6348fa842678d214a309c0b146ce5fcf
4
- data.tar.gz: a457930852cb94dc0e798ab4241bb51b19cc3056
3
+ metadata.gz: bccd3cae799baf2b52025f031c42218b8a0179ef
4
+ data.tar.gz: c579227c80eb70fbfbdcca5b43a78e87cd48d1a6
5
5
  SHA512:
6
- metadata.gz: e419404102c90b1a539ceb2d714a339f56976fd0dc4e09468de60ee49dea558e9885ecaecf3a0aa25982dbef8d444937e3da388437d10e3fc548e920106e702c
7
- data.tar.gz: 40547d231ef3badb0282ef7d40530d4a11372a5d4159ac315df5d9777ef1d4f9b3e2ad61195a99bc31400e90c017361ac096dd3cce2c89a08e429610a7c13b55
6
+ metadata.gz: 78b5b9195f21212a5906028369f6f3e9454df9682e3db16621023089c796899ac2adbca4d55dd038e2754ccdee7bd19bd5ba12d8ae3e84c059f6a0fc1b9e7397
7
+ data.tar.gz: 57ab5131c918240b6811d4d501f77f279c949c077c16e7460272ad1c303ad154280c32750c05b5f3b7b522f06e3029419e5b77673a4a1c835ad1d46720f65e63
@@ -56,12 +56,14 @@ module GlobalRegistry
56
56
  Oj.load(response)
57
57
  when 400
58
58
  raise RestClient::BadRequest, response
59
+ when 404
60
+ raise RestClient::ResourceNotFound, response
59
61
  when 500
60
62
  raise RestClient::InternalServerError, response
61
63
  else
62
64
  puts response.inspect
63
65
  puts request.inspect
64
- raise result.inspect
66
+ raise result.to_s
65
67
  end
66
68
  end
67
69
 
@@ -1,4 +1,4 @@
1
1
  module GlobalRegistry
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global_registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-25 00:00:00.000000000 Z
11
+ date: 2014-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.0.6
109
+ rubygems_version: 2.1.11
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Push and pull data from the Global Registry