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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e127a8f69c5e52bb5a1f415b62584dcdd503ff42
4
- data.tar.gz: 82277fd18f38a035671fc5be8f2321021acf5470
3
+ metadata.gz: 434249b9d6736f7d391be4fc5189270a542f59e0
4
+ data.tar.gz: 4af488c84ba6a92a239c971577c6cd5384c5c5a7
5
5
  SHA512:
6
- metadata.gz: 25ba1e478886dfb3266e2b600e1d8f956830e76a3dfd4ade3aa0f03d2375c63d40fca4459bf6724281410a9a53dbc979ccd6fa4486798a266caf25680575d85e
7
- data.tar.gz: 3c0f307f2b77aac5afe1a7b7eddb64307bc1ff6554774455aa5b1c7d0cf938edb3a45b2b90eb76457236f4cd2ff182c89b677dc0e90c8485253e384f2398d518
6
+ metadata.gz: 3fb21e2fd338b9273b5afafb5cfe1394f4052232bc12619d6a98f549e383c576a9371e046a3a43212fa6d9596f7c9c36e52a8a5c8355dd3b4c1183970dc4184f
7
+ data.tar.gz: 79cd8060222f7a4e7fc2fd0b9485d05f690900d2e1afb28bf6159ec1fedca56a3089c99cd2d60c88832cb8361ea362d7027d6081ea4f682191cdc3807a79d02b
@@ -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)
@@ -13,6 +13,7 @@ module Duracloud
13
13
 
14
14
  def_delegator :header, :request_uri, :url
15
15
  def_delegator :header, :request_method
16
+ def_delegator :header, :request_query
16
17
 
17
18
  def initialize(original_response)
18
19
  @original_response = original_response
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Duracloud
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
@@ -216,7 +216,6 @@ module Duracloud
216
216
  end
217
217
  specify {
218
218
  content = Content.find(space_id: "foo", content_id: "bar")
219
- puts content.properties.to_h
220
219
  expect(content.properties["x-dura-meta-creator"]).to eq('testuser')
221
220
  }
222
221
  end
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.1
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-12 00:00:00.000000000 Z
11
+ date: 2017-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie