mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Version bump to 0.0.2
This commit is contained in:
parent
4302b27b25
commit
952367caf4
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.0.1
|
||||
0.0.2
|
||||
|
|
|
@ -35,7 +35,7 @@ module Fog
|
|||
end
|
||||
|
||||
def copy(target_bucket_name, target_object_key)
|
||||
data = connection.copy_object(bucket, key, target_bucket_name, target_object_key).body
|
||||
data = connection.copy_object(bucket.name, key, target_bucket_name, target_object_key).body
|
||||
copy = self.dup
|
||||
copy_data = {}
|
||||
for key, value in data
|
||||
|
@ -60,7 +60,7 @@ module Fog
|
|||
end
|
||||
|
||||
def save(options = {})
|
||||
data = connection.put_object(bucket, key, body, options)
|
||||
data = connection.put_object(bucket.name, key, body, options)
|
||||
@etag = data.headers['ETag']
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue