shoryuken 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08068a4a26c1f914715b25a27e463fac07e31b57
4
- data.tar.gz: ac4fc670aac9fb76dec2c8c369f021ace729f0cd
3
+ metadata.gz: c8c88a264b5df0c11cbcc440790224279c70176e
4
+ data.tar.gz: 57f9b92ee36f20d9cb385ea3b5a538f0bfd42f0d
5
5
  SHA512:
6
- metadata.gz: fdf1a335919582abb26bd34583de36da01b117b2e952b5d4874d40f4ee28b5d86cdca65fe9d4d52a807347569d2c9cb50bb20e82f8f6801ebf49aa2638219856
7
- data.tar.gz: c9d462d292894b91ffe066af240ee5e7c6b8232542f19ba9d849a05bb9d7a0b6b732d6f96dbe6096610bbd9e4857f4540eed53bd5fd60b19c888dc8b88692e6b
6
+ metadata.gz: e8105e79af153637fb922ee9768aee12ddd69a9bb251229975f0aa54e19f277b9b06c3cbb1ee54d3ff2f865aef6adeeab0389a6e2c40225ceaa6714ae63ee527
7
+ data.tar.gz: 10e3cb7ffdab9d525bb2db06021e319ef56b18bdb81ce795d548f3a3f17959887df69cb9e642046f579d2040870ef1d8fdcc1e28a6256b4fbc5331eebc966b88
@@ -58,11 +58,13 @@ module Shoryuken
58
58
  shoryuken_keys.include?(k)
59
59
  end
60
60
 
61
+ # assume credentials based authentication
61
62
  credentials = Aws::Credentials.new(
62
63
  aws_options.delete(:access_key_id),
63
64
  aws_options.delete(:secret_access_key))
64
65
 
65
- aws_options = aws_options.merge(credentials: credentials)
66
+ # but only if the configuration options have valid values
67
+ aws_options = aws_options.merge(credentials: credentials) if credentials.set?
66
68
 
67
69
  if (callback = Shoryuken.aws_initialization_callback)
68
70
  Shoryuken.logger.info 'Calling Shoryuken.on_aws_initialization block'
@@ -1,3 +1,3 @@
1
1
  module Shoryuken
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoryuken
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Cantero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-31 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler