rehabilitate 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,7 @@ private
75
75
  location[:dir] = remaining.split("/")[1..-1].join("/")
76
76
  else
77
77
  # use a ~/.fog file
78
- fog_config = YAML.load(File.read(File.expand_path(ENV['FOG_RC'] || "~/.fog")))
78
+ fog_config = YAML.load(File.read(File.expand_path(ENV['FOG_RC'] || "~/.fog" if File.exist("~/.fog") || "/etc/fog")))
79
79
  location[:access_key] = fog_config[:default][:aws_access_key_id]
80
80
  location[:secret_id] = fog_config[:default][:aws_secret_access_key]
81
81
  location[:bucket] = fog_config[:default][:bucket]
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.8"
5
+ VERSION = "0.3.9"
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.8"
5
+ s.version = "0.3.9"
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-12}
9
+ s.date = %q{2011-01-13}
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 8
10
- version: 0.3.8
9
+ - 9
10
+ version: 0.3.9
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-12 00:00:00 +00:00
18
+ date: 2011-01-13 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency