s3cp 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.1.3 (Pending)
2
+
3
+ * Fixed: s3-to-s3 copy command failed with error message:
4
+ `s3_to_s3': undefined local variable or method `s3_' for #<Object:0x7f333b239298> (NameError)
5
+
6
+
1
7
  === 1.1.2 / (2012-08-22)
2
8
 
3
9
  * Added: All commands now execute an init script ($HOME/.s3cp by default,
data/lib/s3cp/s3cp.rb CHANGED
@@ -255,7 +255,7 @@ def s3_to_s3(bucket_from, key, bucket_to, dest, options = {})
255
255
  s3_source = @s3.buckets[bucket_from].objects[key]
256
256
  s3_dest = @s3.buckets[bucket_to].objects[dest]
257
257
  s3_options = {}
258
- S3CP.set_header_options(s3_, @headers)
258
+ S3CP.set_header_options(s3_options, @headers)
259
259
  s3_options[:acl] = options[:acl]
260
260
  unless options[:move]
261
261
  s3_source.copy_to(s3_dest, s3_options)
data/lib/s3cp/version.rb CHANGED
@@ -16,5 +16,5 @@
16
16
  # the License.
17
17
 
18
18
  module S3CP
19
- VERSION = "1.1.2"
19
+ VERSION = "1.1.3"
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3cp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Boisvert
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-23 00:00:00 Z
18
+ date: 2012-09-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false