Releases: duracloud/duracloud-ruby-client
Releases · duracloud/duracloud-ruby-client
v0.10.2
v0.10.0
- 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 onDuracloud
module. See README.
v0.9.1
Fixes issue with API requests for a content item having non-ASCII characters in the content ID.
v0.7.0
- 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
- Added support for Generate Manifest API (#29) --
https://wiki.duraspace.org/display/DURACLOUDDOC/DuraCloud+REST+API#DuraCloudRESTAPI-GenerateManifest.
v0.4.0
- 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 (defaultfalse
) indicating whether to replace existing content (if found) at the target location. If:force
is false and content exists at target, operation raisesDuracloud::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
).
- Now accept same keywords as
- 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.