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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cd8af2264d9aa18c6e1f74ca95f0a049437b2e1b8f5b62964161ba18ac9b8c6
|
4
|
+
data.tar.gz: a6744cca1c263d808e6c41e81b4d64ed4bd6b9837cfcec6765e928f649f16a54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)}")
|
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
|
+
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-
|
11
|
+
date: 2018-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|