guignol 0.3.6 → 0.3.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- guignol (0.3.6)
4
+ guignol (0.3.6.1)
5
5
  activesupport
6
6
  fog (~> 1.9.0)
7
7
  parallel (~> 0.6.2)
@@ -14,10 +14,10 @@ GEM
14
14
  activesupport (3.2.12)
15
15
  i18n (~> 0.6)
16
16
  multi_json (~> 1.0)
17
- builder (3.1.4)
17
+ builder (3.2.0)
18
18
  coderay (1.0.7)
19
19
  diff-lcs (1.1.3)
20
- excon (0.17.0)
20
+ excon (0.18.5)
21
21
  fog (1.9.0)
22
22
  builder
23
23
  excon (~> 0.14)
@@ -9,7 +9,7 @@ module Guignol
9
9
  module Connection
10
10
  def self.get(options)
11
11
  @connections ||= {}
12
- @connections[options] ||= Fog::Compute.new(options)
12
+ @connections[options] ||= Fog::Compute.new(credentials.merge options)
13
13
  end
14
14
 
15
15
 
@@ -17,7 +17,7 @@ module Guignol
17
17
 
18
18
 
19
19
  # Find and return credentials
20
- def credentials
20
+ def self.credentials
21
21
  if ENV['AWS_SECRET_KEY_ID'] && ENV['AWS_SECRET_ACCESS_KEY']
22
22
  {
23
23
  :aws_access_key_id => ENV['AWS_SECRET_KEY_ID'],
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Guignol
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.6.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guignol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
234
  version: '0'
235
235
  segments:
236
236
  - 0
237
- hash: 3742329953402264220
237
+ hash: -3530690434933013061
238
238
  required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  none: false
240
240
  requirements: