global_registry 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/global_registry/base.rb +3 -3
- data/lib/global_registry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e53a1db6348fa842678d214a309c0b146ce5fcf
|
4
|
+
data.tar.gz: a457930852cb94dc0e798ab4241bb51b19cc3056
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e419404102c90b1a539ceb2d714a339f56976fd0dc4e09468de60ee49dea558e9885ecaecf3a0aa25982dbef8d444937e3da388437d10e3fc548e920106e702c
|
7
|
+
data.tar.gz: 40547d231ef3badb0282ef7d40530d4a11372a5d4159ac315df5d9777ef1d4f9b3e2ad61195a99bc31400e90c017361ac096dd3cce2c89a08e429610a7c13b55
|
data/lib/global_registry/base.rb
CHANGED
@@ -22,7 +22,7 @@ module GlobalRegistry
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def self.delete(id)
|
25
|
-
request(:
|
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
|
58
|
+
raise RestClient::BadRequest, response
|
59
59
|
when 500
|
60
|
-
raise RestClient::InternalServerError, response
|
60
|
+
raise RestClient::InternalServerError, response
|
61
61
|
else
|
62
62
|
puts response.inspect
|
63
63
|
puts request.inspect
|
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.
|
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-
|
11
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|