rehabilitate 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rehabilitate/plugins/s3.rb +1 -1
- data/lib/rehabilitate.rb +1 -1
- data/rehabilitate.gemspec +1 -1
- metadata +3 -3
@@ -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.
|
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
data/rehabilitate.gemspec
CHANGED
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:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 11
|
10
|
+
version: 0.3.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jamie van Dyke
|