opener-daemons 2.4.0 → 2.4.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
  SHA1:
3
- metadata.gz: 89d1233e17af0392f47e94b1e16ee794ba28209b
4
- data.tar.gz: d2b14b2c909e84581d72401faa728f0d8265bd0a
3
+ metadata.gz: be3027e3fd0a25a594aefe775141e9ff07afd75e
4
+ data.tar.gz: 380ab3d25467ae098e3eab10b5f59417b7ce9284
5
5
  SHA512:
6
- metadata.gz: 13c76deaeb2bb450570300a59dbed9071623af9d6d2929144f51188c7f27ce8b34048d5606631bf73b73ff0906e45d220b02e4cc06d5772aa2eae509e8c25860
7
- data.tar.gz: 55a6634e0d47651c3f78bf648c13bcef02ad6565cfc02500cb78e7577d587c758f61e41d390e2acd3613e3967db1a11d9ba45047fd0f495e2b1284ab102a86a5
6
+ metadata.gz: 56b37734033408a960f0d77d5d260287758fc186c52e768dc8a8d12db331516bc2bf26947d9a222f8ce5b0924f35e5344bcc04548f137c9ed94ddc98109e2073
7
+ data.tar.gz: bd367e63d41c9a49b62d2ae9b00e2c9dd3cca1c0945008c8f31befe4e07c35e9283257a616fb3deb9374d9e864abd507044d4d4be02ed3d9966e4f51cb833537
@@ -30,7 +30,13 @@ module Opener
30
30
  # @return [AWS::S3::S3Object]
31
31
  #
32
32
  def create(*args)
33
- return bucket.objects.create(*args)
33
+ object = bucket.objects.create(*args)
34
+
35
+ if object.is_a?(AWS::S3::ObjectVersion)
36
+ object = object.object
37
+ end
38
+
39
+ return object
34
40
  end
35
41
 
36
42
  ##
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  module Daemons
3
- VERSION = '2.4.0'
3
+ VERSION = '2.4.1'
4
4
  end # Daemons
5
5
  end # Opener
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-daemons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilco van Duinkerken