s3cp 1.1.33 → 1.1.34

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.1.34 (2013-08-26)
2
+ * Fixed: "custom_require [TypeError] can't convert nil into String" introduced
3
+ in v1.1.32.
4
+
1
5
  === 1.1.33 (2013-08-26)
2
6
 
3
7
  * Added: New --mkdir option on s3cp allowing to recreate the source directory
data/lib/s3cp/s3cp.rb CHANGED
@@ -572,7 +572,9 @@ def copy(from, to, options)
572
572
  FileUtils.mkdir_p dir unless File.exist? dir
573
573
  dest
574
574
  else
575
- File.join(File.expand_path(to), File.basename(key_from)) if File.directory?(dest)
575
+ dest = File.expand_path(to)
576
+ File.join(dest, File.basename(key_from)) if File.directory?(dest)
577
+ dest
576
578
  end
577
579
  if !options[:overwrite] && File.exist?(dest)
578
580
  $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.33"
19
+ VERSION = "1.1.34"
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: 81
4
+ hash: 87
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 33
10
- version: 1.1.33
9
+ - 34
10
+ version: 1.1.34
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Boisvert