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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1b2f1ef22c86e785f1ec2d70755035804e64b43
4
- data.tar.gz: 52feeb2d5388c08f8a0381274e4d9153e8879401
3
+ metadata.gz: 3ee66b320883858a3815e75b2f1cfdb87372e5c8
4
+ data.tar.gz: 6734a6d61e7186f5fe75b31df817583c52034f7c
5
5
  SHA512:
6
- metadata.gz: 13dbce9075229d0d28e6fa56613326babd7f452389550d5f0e1474e1c474bb7e26aa5e2a84e5fe29d9c46c65d9861ac6f0a8662b3c7714ac11116d3ba782c944
7
- data.tar.gz: 54d70264692962a99856c35da3a4010aa08af819dbc705980b7b4ffd0a6be5c602679bf584cbe508275e92569cd97567abc6b5313d0479d17fce39810d807b14
6
+ metadata.gz: 3ece94313d6d089a726023774266c95f22ff77766e712db6b5b1c12b33fddb9f2126fcd80f8ee83e0c1a4025f33b580a1841f1673ec2410b6d06407b268a25bb
7
+ data.tar.gz: 06b69c6e7f7004e243faaa7bd1351ff1b50e377630193054218423a8ba70aaae1b40f1eb5bd35a6cb35d24e63f1e3b5bbc23b776a9c3324e8e796005257985c9
@@ -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 != 200
228
+ raise IronCore::ResponseError.new(response) if (response.code < 200 || response.code >= 300)
229
229
 
230
230
  body = String.new(response.body)
231
231
 
@@ -1,5 +1,5 @@
1
1
  module IronCore
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
 
4
4
  def self.version
5
5
  VERSION
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.0
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 00:00:00.000000000 Z
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.2
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