s3snapshot 0.0.7 → 0.0.9
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/lib/s3snapshot/dir_download.rb +3 -0
- data/lib/s3snapshot/version.rb +1 -1
- data/s3snapshot.gemspec +1 -1
- metadata +9 -9
|
@@ -48,6 +48,9 @@ module S3snapshot
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
files.each do |file|
|
|
51
|
+
#We have to reload state from s3. Otherwise we can't download when the restore process takes a while
|
|
52
|
+
file.reload()
|
|
53
|
+
|
|
51
54
|
destination_path = "#{@local_dir}/#{file.key[prefix_path.length+1..-1]}"
|
|
52
55
|
|
|
53
56
|
directory = destination_path[0..-File.basename(destination_path).length-1]
|
data/lib/s3snapshot/version.rb
CHANGED
data/s3snapshot.gemspec
CHANGED
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
20
20
|
s.require_paths = ["lib"]
|
|
21
|
-
s.add_dependency "fog", "~>0.
|
|
21
|
+
s.add_dependency "fog", "~>1.0.0"
|
|
22
22
|
s.add_dependency "thor", "~>0.14.6"
|
|
23
23
|
s.add_dependency "dictionary", "~>1.0.0"
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: s3snapshot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 9
|
|
10
|
+
version: 0.0.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Todd
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-09-
|
|
18
|
+
date: 2011-09-30 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: fog
|
|
@@ -25,12 +25,12 @@ dependencies:
|
|
|
25
25
|
requirements:
|
|
26
26
|
- - ~>
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
hash:
|
|
28
|
+
hash: 23
|
|
29
29
|
segments:
|
|
30
|
-
- 0
|
|
31
|
-
- 8
|
|
32
30
|
- 1
|
|
33
|
-
|
|
31
|
+
- 0
|
|
32
|
+
- 0
|
|
33
|
+
version: 1.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
version_requirements: *id001
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
123
|
requirements: []
|
|
124
124
|
|
|
125
125
|
rubyforge_project: s3snapshot
|
|
126
|
-
rubygems_version: 1.8.
|
|
126
|
+
rubygems_version: 1.8.3
|
|
127
127
|
signing_key:
|
|
128
128
|
specification_version: 3
|
|
129
129
|
summary: Uploads to s3
|