s3cp 1.1.34 → 1.1.35

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,6 @@
1
+ === 1.1.35 (2013-08-26)
2
+ * Fixed: Really fix bug introduced in v1.1.32.
3
+
1
4
  === 1.1.34 (2013-08-26)
2
5
  * Fixed: "custom_require [TypeError] can't convert nil into String" introduced
3
6
  in v1.1.32.
data/lib/s3cp/s3cp.rb CHANGED
@@ -573,8 +573,7 @@ def copy(from, to, options)
573
573
  dest
574
574
  else
575
575
  dest = File.expand_path(to)
576
- File.join(dest, File.basename(key_from)) if File.directory?(dest)
577
- dest
576
+ dest = File.join(dest, File.basename(from)) if File.directory?(dest)
578
577
  end
579
578
  if !options[:overwrite] && File.exist?(dest)
580
579
  $stderr.puts "Skipping #{dest} - already exists."
data/lib/s3cp/version.rb CHANGED
@@ -16,5 +16,5 @@
16
16
  # the License.
17
17
 
18
18
  module S3CP
19
- VERSION = "1.1.34"
19
+ VERSION = "1.1.35"
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: 87
4
+ hash: 85
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 34
10
- version: 1.1.34
9
+ - 35
10
+ version: 1.1.35
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Boisvert