Skip to content

Releases: duracloud/duracloud-ruby-client

v0.10.2

07 Nov 16:17
3ca3b58
Compare
Choose a tag to compare
  • Bug fix: Adds escaping of pound sign in content ID so that is not transmitted
    as a URL fragment.

v0.10.0

01 Nov 18:57
Compare
Choose a tag to compare
  • Adds store command to CLI.
  • Adds Duracloud::Content.delete class method.
  • Removes dependency on activemodel
  • Various refactorings to remove cruft and simplify code
  • Removes Duracloud::Configuration class. Config attributes are now set directly on Duracloud module. See README.

v0.9.1

26 Oct 17:52
Compare
Choose a tag to compare

Fixes issue with API requests for a content item having non-ASCII characters in the content ID.

v0.7.0

12 Jul 20:05
Compare
Choose a tag to compare
  • Does not work with hashie 3.5 (at least 3.5.6). Upgrade to duracloud-client v0.7.1 to fix this issue, or pin hashie to < 3.5.

v0.5.0

07 Jun 01:13
Compare
Choose a tag to compare

v0.4.0

22 May 14:38
Compare
Choose a tag to compare
  • Changed API of Duracloud::Content methods #copy and #move:
    • Now accept same keywords as .find and .new -- :space_id, :content_id, :store_id -- plus :force.
    • The :force argument is a boolean (default false) indicating whether to replace existing content (if found) at the target location. If :force is false and content exists at target, operation raises Duracloud::Content::CopyError (for both #copy and #move).
    • Also, :space_id and :content_id arguments are not required, but default to the values of the current content object's attributes. An exception is raised if the source and destination locations are the same (regardless of the value of :force).
  • Added provisional support for handling content items that are "chunked" in DuraCloud. Retrieval of a chunked item is expected to work properly; however, updating previously a chunked item or creating a new content item that is chunked by DuraCloud (most likely if the file size > 1Gb). Additional tests and clarification of expected behavior from DuraCloud will be required to extend the current work. See https://jira.duraspace.org/browse/DURACLOUD-1111 and https://jira.duraspace.org/browse/DURACLOUD-1112.

v0.3.0

27 Jan 21:25
Compare
Choose a tag to compare
  • Implements Copy Content API (closes #16).
  • Supports a move operation on Duracloud::Content (closes #17)
  • Supports loading TSV file into report objects (closes #19).

v0.2.0

25 Jan 21:42
Compare
Choose a tag to compare
  • Changes Duracloud::Content initialization API to follow ActiveModel::Model. This changes also affects the .find and .exist? methods.
  • Provides support for validating provided MD5 digests in Duracloud::Content (#7, #10)
  • Removes support for Ruby 2.1
  • Removes support for ActiveModel < 4.2