s3snapshot 0.0.2 → 0.0.3
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/README.rdoc +0 -0
- data/lib/s3snapshot/backup_manager.rb +1 -1
- data/lib/s3snapshot/version.rb +1 -1
- metadata +4 -3
data/README.rdoc
ADDED
|
File without changes
|
|
@@ -58,7 +58,7 @@ module S3snapshot
|
|
|
58
58
|
#Get the latest completed backup for the given prefix. Will return nil if one isn't available
|
|
59
59
|
##
|
|
60
60
|
def latest(prefix)
|
|
61
|
-
snapshots(prefix).each do |time, complete|
|
|
61
|
+
snapshots(prefix).reverse.each do |time, complete|
|
|
62
62
|
if complete
|
|
63
63
|
return time
|
|
64
64
|
end
|
data/lib/s3snapshot/version.rb
CHANGED
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: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Todd
|
|
@@ -80,6 +80,7 @@ files:
|
|
|
80
80
|
- .project
|
|
81
81
|
- Gemfile
|
|
82
82
|
- Gemfile.lock.bak
|
|
83
|
+
- README.rdoc
|
|
83
84
|
- Rakefile
|
|
84
85
|
- Readme.markdown
|
|
85
86
|
- bin/s3snapshot
|