s3snapshot 0.0.10b → 0.0.10d
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/s3snapshot/dir_download.rb +2 -3
- data/lib/s3snapshot/version.rb +1 -1
- metadata +3 -3
@@ -6,7 +6,7 @@ require 'fileutils'
|
|
6
6
|
|
7
7
|
module S3snapshot
|
8
8
|
class DirDownload < SyncOp
|
9
|
-
|
9
|
+
|
10
10
|
@time = nil
|
11
11
|
@local_dir = nil
|
12
12
|
@prefix = nil
|
@@ -63,8 +63,7 @@ module S3snapshot
|
|
63
63
|
File.open(destination_path, File::RDWR|File::CREAT) do |file|
|
64
64
|
bucket.files.get(remotefile.key) do |chunk, remaining_bytes, total_bytes|
|
65
65
|
file.write(chunk)
|
66
|
-
|
67
|
-
puts "#{percent}% complete"
|
66
|
+
puts "#{remaining_bytes}b of #{total_bytes}b remaining"
|
68
67
|
end
|
69
68
|
end
|
70
69
|
|
data/lib/s3snapshot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3snapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 10
|
10
|
-
-
|
11
|
-
version: 0.0.
|
10
|
+
- d
|
11
|
+
version: 0.0.10d
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Todd
|