rehabilitate 0.3.10 → 0.3.11

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" if File.exist("~/.fog")) || "/etc/fog")))
78
+ fog_config = YAML.load(File.read(File.expand_path(ENV['FOG_RC'] || ("~/.fog" if File.exists("~/.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.10"
5
+ VERSION = "0.3.11"
6
6
 
7
7
  def self.backup(options)
8
8
  driver = Plugin::create( options.driver )
data/rehabilitate.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rehabilitate}
5
- s.version = "0.3.10"
5
+ s.version = "0.3.11"
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"]
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 10
10
- version: 0.3.10
9
+ - 11
10
+ version: 0.3.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamie van Dyke