duracloud-client 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/duracloud/client.rb +1 -1
- data/lib/duracloud/response.rb +1 -0
- data/lib/duracloud/space.rb +1 -1
- data/lib/duracloud/version.rb +1 -1
- data/spec/unit/content_spec.rb +0 -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: 434249b9d6736f7d391be4fc5189270a542f59e0
|
4
|
+
data.tar.gz: 4af488c84ba6a92a239c971577c6cd5384c5c5a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb21e2fd338b9273b5afafb5cfe1394f4052232bc12619d6a98f549e383c576a9371e046a3a43212fa6d9596f7c9c36e52a8a5c8355dd3b4c1183970dc4184f
|
7
|
+
data.tar.gz: 79cd8060222f7a4e7fc2fd0b9485d05f690900d2e1afb28bf6159ec1fedca56a3089c99cd2d60c88832cb8361ea362d7027d6081ea4f682191cdc3807a79d02b
|
data/lib/duracloud/client.rb
CHANGED
@@ -32,7 +32,7 @@ module Duracloud
|
|
32
32
|
private
|
33
33
|
|
34
34
|
def handle_response(response)
|
35
|
-
logger.debug([self.class.to_s, response.request_method, response.url,
|
35
|
+
logger.debug([self.class.to_s, response.request_method, response.url, response.request_query,
|
36
36
|
response.status, response.reason].join(' '))
|
37
37
|
if response.error?
|
38
38
|
ErrorHandler.call(response)
|
data/lib/duracloud/response.rb
CHANGED
data/lib/duracloud/space.rb
CHANGED
@@ -196,7 +196,7 @@ module Duracloud
|
|
196
196
|
Enumerator.new do |yielder|
|
197
197
|
num = 0
|
198
198
|
marker = start_after
|
199
|
-
while num < count
|
199
|
+
while num < count || count == 1000
|
200
200
|
q = query.merge(prefix: prefix, maxResults: MAX_RESULTS, marker: marker)
|
201
201
|
response = Client.get_space(space_id, **q)
|
202
202
|
xml = Nokogiri::XML(response.body)
|
data/lib/duracloud/version.rb
CHANGED
data/spec/unit/content_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duracloud-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|