aion-s3 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 0e2a5f113d1729577f5f289cd6d96acd4d530833fd6deffd840f0c54eae00ce7
4
- data.tar.gz: 29fbc5075544c42f8269533ec46fcac2e38358bd3e524e11813d1ea59a96f5b1
3
+ metadata.gz: d15f4112c664569f558f3cb5739bb35a815edd52da0806cc1e0bad1d9d4e8bd8
4
+ data.tar.gz: 61a6e62b1b1a9933ad738a38fcbb63556b4fc0c1016e216152fd4ae69d0b75ec
5
5
  SHA512:
6
- metadata.gz: 00cd42ac47c8339fcc2f4d1b640c42f055dc19ee95f30191cda8333843cc62797f82662600cbe2e65021e54b4cc201b6f69350e04b4ed709da97a0518843158a
7
- data.tar.gz: dab3192475cc6c6e8cff389953b613ee0e2c2b03c06e7d1bd7f429cd6887325e99988e9d93a99f6f110a421672a7408e32c556b9281370662890a8fc22c01a3b
6
+ metadata.gz: 6b4512d9936f91bc670d97c7748477ded43c398c67a4b2a92af401f5c03abc07d9277e212b766da3818939de746d021d6341066c008b25b56e512aa3179f3ae1
7
+ data.tar.gz: 0ea07d33a625a1bc687d52cedfe91986416e13935bf102f097a06acfb0a459fbb2ab3f5164cdcfbcf9797b0abc05f0cc5f9625e912e23e5aa95beebacf4b16e0
@@ -51,10 +51,10 @@ module AionS3
51
51
  }
52
52
 
53
53
  if @lock_seconds > 0
54
- options.reverse_merge!(
54
+ options = {
55
55
  object_lock_mode: 'COMPLIANCE',
56
56
  object_lock_retain_until_date: Time.now + @lock_seconds
57
- )
57
+ }.merge(options)
58
58
  end
59
59
 
60
60
  @client.put_object(options)
@@ -1,3 +1,3 @@
1
1
  module AionS3
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aion-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Andersen