- Add support to Keystone v3 (issue #34)
- Remove "Thread.exclusive is deprecated, use Mutex" warning
- Exclude
Expires
header when max-age used - Add
Expires
header as an independent option
- Added support for custom headers
- Added support for content-encoding option
- CLI also supports --content-encoding option
- Ensure connected on url getters
catalog, admin_url, upload_url, public_url, internal_url
(pull request #28)
- Added support for ssl_version configuration
- Command for object metadata. Available for cli (closes #16, #17)
- CLI now supports
--no-cache
which ignores the cached connection and removes the cache file if it exists (issue #12) - Bugfix: invalidate nswift_cache when the connection fail (issue #27)
- Bugfix: OpenStruct in Ruby 1.9.x doesn't have the method [], using 'send' instead
- Bugfix: OpenStruct and nil doesn't have the method to_h in Ruby 1.9.x
- Upload command allows a custom max-age (issue #23)
- List command allows the following parameters:
limit
,marker
,end_marker
,prefix
,format
,delimiter
andpath
(issue #22) - Download command uses the internal_url by default (issue #25)
- CLI now supports a
--max-age
to override the default max_age - Included
Expires
header to upload command based on max_age configuration (issue #9) - The password option can be defined by the env variable
NSWIFT_PASSWORD
(issue #21) - Support for SSL Client Certificates through the options:
ssl_client_cert
,ssl_client_key
andssl_ca_file
- Configurable
internal_url
- CLI now supports
-b/--bucket
to override the default bucket/container (issue #10) - CLI command for printing the public url of a given path (issue #18)
- CLI better treatment for errors and invalid commands
- Bugfix: CLI when receives a invalid command doesn't shows that it is an invalid command (issue #20)
- Configurable
admin_url
andpublic_url
(issue #14) - Included "public" directive in
Cache-Control
header - Each request will retry X times before failing, the number of retries and the max waiting time can be configured through options
- Better catalog selection
- Treatment for no catalogs returned
- Splited asset_sync task in two other tasks:
sync
andasset_sync
- Configurable
verify_ssl
andtimeout
- Automatic connect/reconnect of commands
- Bugfix: download command was not using the bucket/container name
- Bugfix: the etag header must not be quoted
- CLI with basic commands (list, download, upload and delete)
- Included
Cache-Control
header to upload command through max_age configuration parameter - Sending etag when uploading assets
- Bugfix: rake task now returns exit code 1 when error
- Removed rest-client version due to compatibility issues
- Included
Content-Type
header to upload command
- Bugfix: sync was not connecting
- Better Rails integration
- Download command
- Bugfix: sync broken syntax
- Connection object
- Sync, upload, delete and list commands
- Rake task to sync Rails public dir