amiba 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/amiba/site.rb +2 -0
  2. metadata +3 -3
data/lib/amiba/site.rb CHANGED
@@ -40,6 +40,8 @@ module Amiba
40
40
  class_option :credentials, :default => :default
41
41
 
42
42
  def init_s3
43
+ cf = File.expand_path(File.join(Dir.pwd, ".fog"))
44
+ Fog.credentials_path = cf if File.exists? cf
43
45
  Fog.credential = options[:credentials].to_sym
44
46
  @s3 ||= Fog::Storage.new(:provider=>'AWS')
45
47
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amiba
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steven Mohapi-Banks