occi-api 4.3.2 → 4.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/occi/api/client/http/party_wrappers.rb +4 -1
- data/lib/occi/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b31a4ef31f01497fb6bc37b720e2bc129dfb8e1c
|
4
|
+
data.tar.gz: 34839545df78237a7667522561c6c1dce2a201c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98b21d80f28f2dc681e61e466e9100cefc2ee23b5989ffd2c2f9acefdbc80538b81bc3555c4c6c0c02fb530cbdf21f51fb232e3852ae350b55baa6a14c327552
|
7
|
+
data.tar.gz: 88f422c97daed701da92242e1a311d9011ce868d6b58ec9a6db96d245a6957e0383d30e167550696407f1bd70fe9cece40d6324ad8ac6eb706ee9c23017f4517
|
@@ -3,6 +3,9 @@ module Occi::Api::Client
|
|
3
3
|
|
4
4
|
module PartyWrappers
|
5
5
|
|
6
|
+
# Acceptable responses indicating OK
|
7
|
+
OK_RANGE = [200, 201, 202, 204].freeze
|
8
|
+
|
6
9
|
# Performs GET request and parses the responses to collections.
|
7
10
|
#
|
8
11
|
# @example
|
@@ -174,7 +177,7 @@ module Occi::Api::Client
|
|
174
177
|
|
175
178
|
def report_failure(response)
|
176
179
|
# Is there something to report?
|
177
|
-
return if response.code
|
180
|
+
return if OK_RANGE.include? response.code
|
178
181
|
|
179
182
|
# get a human-readable response message
|
180
183
|
response_msg = response_message(response)
|
data/lib/occi/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: occi-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Feldhaus
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-11-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: occi-core
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
236
|
rubyforge_project:
|
237
|
-
rubygems_version: 2.4.
|
237
|
+
rubygems_version: 2.4.6
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: OCCI development library providing a high-level client API
|