Skip to content

Commit

Permalink
Merge pull request #38 from duracloud/hotfix-0.7.2
Browse files Browse the repository at this point in the history
Hotfix v0.7.2
  • Loading branch information
dchandekstark authored Jul 25, 2017
2 parents 2a21bc6 + a35d025 commit 94cd33e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/duracloud/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def execute(request_class, http_method, url, **options, &block)
private

def handle_response(response)
logger.debug([self.class.to_s, response.request_method, response.url,
logger.debug([self.class.to_s, response.request_method, response.url, response.request_query,
response.status, response.reason].join(' '))
if response.error?
ErrorHandler.call(response)
Expand Down
1 change: 1 addition & 0 deletions lib/duracloud/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Response

def_delegator :header, :request_uri, :url
def_delegator :header, :request_method
def_delegator :header, :request_query

def initialize(original_response)
@original_response = original_response
Expand Down
2 changes: 1 addition & 1 deletion lib/duracloud/space.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def content_ids(prefix: nil, start_after: nil)
Enumerator.new do |yielder|
num = 0
marker = start_after
while num < count
while num < count || count == 1000
q = query.merge(prefix: prefix, maxResults: MAX_RESULTS, marker: marker)
response = Client.get_space(space_id, **q)
xml = Nokogiri::XML(response.body)
Expand Down
2 changes: 1 addition & 1 deletion lib/duracloud/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Duracloud
VERSION = "0.7.1"
VERSION = "0.7.2"
end
1 change: 0 additions & 1 deletion spec/unit/content_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ module Duracloud
end
specify {
content = Content.find(space_id: "foo", content_id: "bar")
puts content.properties.to_h
expect(content.properties["x-dura-meta-creator"]).to eq('testuser')
}
end
Expand Down

0 comments on commit 94cd33e

Please sign in to comment.