iron_core 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iron_core/client.rb +1 -1
- data/lib/iron_core/version.rb +1 -1
- metadata +3 -5
- data/VERSION +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ee66b320883858a3815e75b2f1cfdb87372e5c8
|
4
|
+
data.tar.gz: 6734a6d61e7186f5fe75b31df817583c52034f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ece94313d6d089a726023774266c95f22ff77766e712db6b5b1c12b33fddb9f2126fcd80f8ee83e0c1a4025f33b580a1841f1673ec2410b6d06407b268a25bb
|
7
|
+
data.tar.gz: 06b69c6e7f7004e243faaa7bd1351ff1b50e377630193054218423a8ba70aaae1b40f1eb5bd35a6cb35d24e63f1e3b5bbc23b776a9c3324e8e796005257985c9
|
data/lib/iron_core/client.rb
CHANGED
@@ -225,7 +225,7 @@ module IronCore
|
|
225
225
|
def parse_response(response, parse_json = true)
|
226
226
|
IronCore::Logger.debug 'IronCore', "GOT #{response.code} with params='#{response.body}'"
|
227
227
|
|
228
|
-
raise IronCore::ResponseError.new(response) if response.code
|
228
|
+
raise IronCore::ResponseError.new(response) if (response.code < 200 || response.code >= 300)
|
229
229
|
|
230
230
|
body = String.new(response.body)
|
231
231
|
|
data/lib/iron_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kirilenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest
|
@@ -80,7 +80,6 @@ files:
|
|
80
80
|
- LICENSE
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
|
-
- VERSION
|
84
83
|
- iron_core.gemspec
|
85
84
|
- lib/iron_core.rb
|
86
85
|
- lib/iron_core/client.rb
|
@@ -107,9 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
106
|
version: 1.3.6
|
108
107
|
requirements: []
|
109
108
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.0.
|
109
|
+
rubygems_version: 2.0.3
|
111
110
|
signing_key:
|
112
111
|
specification_version: 4
|
113
112
|
summary: Core library for Iron products
|
114
113
|
test_files: []
|
115
|
-
has_rdoc:
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.3.5
|