global_registry 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f47b04456911696d365c5e378a26d337b8a4be3
4
- data.tar.gz: 29310a6692cce74a08212a73c3c9e10ed64475be
3
+ metadata.gz: 5e53a1db6348fa842678d214a309c0b146ce5fcf
4
+ data.tar.gz: a457930852cb94dc0e798ab4241bb51b19cc3056
5
5
  SHA512:
6
- metadata.gz: b8e6148787abd29eab9c52ed4e30905adb4a763699118813a099ec460a47350d7eb18e467738ca20017c7de9e2c50b3b00adb0d6cb15ac1a5012fe2ffb051440
7
- data.tar.gz: 563af1057ac365b8deafb0c382bf646a038deba8eec5953dae8f87a9600aaee40c439fea50c85c70f96d25e8a747e40d9cf68b52bc7957621ffb66b86fd95a68
6
+ metadata.gz: e419404102c90b1a539ceb2d714a339f56976fd0dc4e09468de60ee49dea558e9885ecaecf3a0aa25982dbef8d444937e3da388437d10e3fc548e920106e702c
7
+ data.tar.gz: 40547d231ef3badb0282ef7d40530d4a11372a5d4159ac315df5d9777ef1d4f9b3e2ad61195a99bc31400e90c017361ac096dd3cce2c89a08e429610a7c13b55
@@ -22,7 +22,7 @@ module GlobalRegistry
22
22
  end
23
23
 
24
24
  def self.delete(id)
25
- request(:put, {}, path_with_id(id))
25
+ request(:delete, {}, path_with_id(id))
26
26
  end
27
27
 
28
28
 
@@ -55,9 +55,9 @@ module GlobalRegistry
55
55
  when 200..299
56
56
  Oj.load(response)
57
57
  when 400
58
- raise RestClient::BadRequest, response.to_s
58
+ raise RestClient::BadRequest, response
59
59
  when 500
60
- raise RestClient::InternalServerError, response.to_s
60
+ raise RestClient::InternalServerError, response
61
61
  else
62
62
  puts response.inspect
63
63
  puts request.inspect
@@ -1,4 +1,4 @@
1
1
  module GlobalRegistry
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
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.0
4
+ version: 1.0.1
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-23 00:00:00.000000000 Z
11
+ date: 2013-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client