fog-openstack 1.0.4 → 1.0.5

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: ffc2802770e40d637228d8256fcc4920f2be1d9082c4afcf8a2496df977c2da6
4
- data.tar.gz: 46ecf9ab40374c917f2f91de332b009fc115ee2a894ff7655c68f35f3b19ac02
3
+ metadata.gz: 1cd8af2264d9aa18c6e1f74ca95f0a049437b2e1b8f5b62964161ba18ac9b8c6
4
+ data.tar.gz: a6744cca1c263d808e6c41e81b4d64ed4bd6b9837cfcec6765e928f649f16a54
5
5
  SHA512:
6
- metadata.gz: b7ddae4e8cec62c0b40689c777e906289f71431b72a802b3e9976d2487bcf55ab76709b2dbbd232626680ae7ed3c30a8dffecf06c22bf4d4bdff762330f0860f
7
- data.tar.gz: d4fb6894587e32a9bceaa17056bcd865b84da9dcc49d325e610c857277801f56cc7fee8221908021fdd128317555ecdf6ff34c9f4bd8d24dc1ef04d24b3d8b94
6
+ metadata.gz: f589107074030e8d7a6d024180d46d201b1d5bcefd631ffa8977327840fb18a59daad8071ce2773914ffe3b40996d2b0a5aa7869135dd9bc2ebc361c2cbc5966
7
+ data.tar.gz: 232bcf5494c494ce9bc22e9a84f1f56724ba9acab4f5ed81bf8f1121bca8b413c2d004bf2e571589ad918c94ddddeb3a7d60223bf80da90785fb11bf704794b5
@@ -12,7 +12,7 @@ module Fog
12
12
  # * options<~Hash> - Additional headers
13
13
  def copy_object(source_container_name, source_object_name, target_container_name, target_object_name, options = {})
14
14
  headers = {'X-Copy-From' => "/#{source_container_name}/#{source_object_name}"}.merge(options)
15
- request(:expects => 201,
15
+ request(:expects => [201, 202],
16
16
  :headers => headers,
17
17
  :method => 'PUT',
18
18
  :path => "#{Fog::OpenStack.escape(target_container_name)}/#{Fog::OpenStack.escape(target_object_name)}")
@@ -26,7 +26,7 @@ module Fog
26
26
  end
27
27
 
28
28
  params.merge!(
29
- :expects => 201,
29
+ :expects => [201, 202],
30
30
  :idempotent => !params[:request_block],
31
31
  :headers => headers,
32
32
  :method => 'PUT',
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module OpenStack
3
- VERSION = '1.0.4'.freeze
3
+ VERSION = '1.0.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Darby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-19 00:00:00.000000000 Z
11
+ date: 2018-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core