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 +3 -0
- data/lib/s3cp/s3cp.rb +1 -2
- data/lib/s3cp/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
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(
|
|
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
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:
|
|
4
|
+
hash: 85
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 35
|
|
10
|
+
version: 1.1.35
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Alex Boisvert
|