rehabilitate 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/.bundle/config CHANGED
@@ -1,2 +1,2 @@
1
- ---
2
- BUNDLE_DISABLE_SHARED_GEMS: "1"
1
+ --- {}
2
+
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rehabilitate (0.4.5)
4
+ rehabilitate (0.4.6)
5
5
  commander
6
6
  fog
7
7
  log4r
@@ -15,7 +15,7 @@ GEM
15
15
  builder (3.0.0)
16
16
  commander (4.0.3)
17
17
  highline (>= 1.5.0)
18
- excon (0.5.6)
18
+ excon (0.6.0)
19
19
  fog (0.6.0)
20
20
  builder
21
21
  excon (>= 0.5.5)
@@ -25,7 +25,7 @@ GEM
25
25
  net-ssh (>= 2.0.23)
26
26
  nokogiri (>= 1.4.4)
27
27
  ruby-hmac
28
- formatador (0.0.16)
28
+ formatador (0.1.3)
29
29
  highline (1.6.1)
30
30
  json (1.5.1)
31
31
  log4r (1.1.8)
@@ -96,8 +96,9 @@ private
96
96
  def sorted_backups(backups)
97
97
  backups.collect do |f|
98
98
  key = f.key
99
- key.split("/")[0..-2].join("/")
100
- end.sort.uniq
99
+ id = key.split("/")[0..-2].join("/")
100
+ id == "" ? nil : id
101
+ end.compact.sort.uniq
101
102
  end
102
103
 
103
104
  def prettify(backup_name)
@@ -1,3 +1,3 @@
1
1
  module Rehabilitate
2
- VERSION = "0.4.6" unless const_defined?("VERSION")
2
+ VERSION = "0.4.7" unless const_defined?("VERSION")
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rehabilitate
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.6
5
+ version: 0.4.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jamie van Dyke
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-16 00:00:00 +00:00
14
- default_executable:
13
+ date: 2011-06-13 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: commander
@@ -106,7 +105,6 @@ files:
106
105
  - lib/rehabilitate/plugins/splitter.rb
107
106
  - lib/rehabilitate/version.rb
108
107
  - rehabilitate.gemspec
109
- has_rdoc: true
110
108
  homepage: ""
111
109
  licenses: []
112
110
 
@@ -130,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
128
  requirements: []
131
129
 
132
130
  rubyforge_project: rehabilitate
133
- rubygems_version: 1.5.0
131
+ rubygems_version: 1.8.2
134
132
  signing_key:
135
133
  specification_version: 3
136
134
  summary: Handle backups with a plugin based architecture