rehabilitate 0.3.14 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
data/bin/rehabilitate CHANGED
@@ -167,9 +167,10 @@ command :list do |c|
167
167
  c.option '--storage STRING', [:scp, :dir, :s3], 'Choices are [scp, dir, s3].'
168
168
  c.option '--location STRING', String, 'A location string which accompanies the type of backup e.g. "user:pass@ftp.example.com/dir".'
169
169
  c.action do |args, options|
170
- options.default :driver => 'postgresql',
171
- :_backup_files => [],
172
- :_failure => nil
170
+ options.default :driver => 'postgresql',
171
+ :_backup_files => [],
172
+ :_failure => nil,
173
+ :storage => 's3'
173
174
  options._backup_files = ["#{options.tmp}/#{options._base_backup_name}"]
174
175
  setup_logger(options.quiet)
175
176
  Rehabilitate.list(options)
data/lib/rehabilitate.rb CHANGED
@@ -2,7 +2,7 @@ require 'rehabilitate/plugin'
2
2
  require 'rehabilitate/plugins/splitter'
3
3
 
4
4
  class Rehabilitate
5
- VERSION = "0.3.14"
5
+ VERSION = "0.3.15"
6
6
 
7
7
  def self.backup(options)
8
8
  driver = Plugin::create( options.driver )
data/rehabilitate.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rehabilitate}
5
- s.version = "0.3.14"
5
+ s.version = "0.3.15"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jamie van Dyke"]
9
- s.date = %q{2011-01-24}
9
+ s.date = %q{2011-01-26}
10
10
  s.default_executable = %q{rehabilitate}
11
11
  s.description = %q{Backup stuff}
12
12
  s.email = %q{jamie@fearoffish.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rehabilitate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 14
10
- version: 0.3.14
9
+ - 15
10
+ version: 0.3.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamie van Dyke
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 +00:00
18
+ date: 2011-01-26 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency