s3snapshot 0.0.10b → 0.0.10d

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.
@@ -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
- percent = ((1-remaining_bytes.to_f/total_bytes.to_f)*100).round
67
- puts "#{percent}% complete"
66
+ puts "#{remaining_bytes}b of #{total_bytes}b remaining"
68
67
  end
69
68
  end
70
69
 
@@ -1,3 +1,3 @@
1
1
  module S3snapshot
2
- VERSION = "0.0.10b"
2
+ VERSION = "0.0.10d"
3
3
  end
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: 3
4
+ hash: 1
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 10
10
- - b
11
- version: 0.0.10b
10
+ - d
11
+ version: 0.0.10d
12
12
  platform: ruby
13
13
  authors:
14
14
  - Todd