wes-cloudkit 4.1.0 → 4.2.0

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: a20dd55d3f73adc27f15cc6b29a9d51ea1b710ad
4
- data.tar.gz: 86cf14f864255a5e2855462ee42ac1f5698f5ecd
3
+ metadata.gz: b478d0d8b6e465e5eddd3132c6ad5529cfbdecda
4
+ data.tar.gz: d97912058affe89d2460375ca80748d4f51bdd17
5
5
  SHA512:
6
- metadata.gz: 76517a24b56d63dffdab13c9f00525adae3882f20d488b624449712224d1c5f7216df3d09b0532819fa32c8fe41389760466133615ab4685db3e045ec5d271e2
7
- data.tar.gz: 5c69098aca3603129022a35216de63f6173cec95f78fe63f92db6ce03f5788ea20df7a9c477c5dc3206992f7cb4d7b372441dce505f1811f4b95297ef42a2a88
6
+ metadata.gz: 40092daccd320887c32bfa5b4c6e31d524f88dd696ec29508513558cc41f870991042f801ae37f74a0b9c4f234138744925e1dd8c39bd03eea8b07234e896892
7
+ data.tar.gz: e2c3ab1a4303e00b8a0e65923e2cc620bb673c7aba763f0f244cbf6a7175e72d3f5f5e67793a144a5e2b360d7a49a7300cb1097c2be46b5fa980b2ba724bc2fd
@@ -10,7 +10,11 @@ module Wes
10
10
 
11
11
  def get
12
12
  if env == "production"
13
- ::Aws::InstanceProfileCredentials.new
13
+ if ENV.has_key?("AWS_CONTAINER_CREDENTIALS_RELATIVE_URI")
14
+ ::Aws::ECSCredentials.new
15
+ else
16
+ ::Aws::InstanceProfileCredentials.new
17
+ end
14
18
  else
15
19
  ::Aws::Credentials.new("access_key", "secret_key")
16
20
  end
@@ -1,5 +1,5 @@
1
1
  module Wes
2
2
  module Cloudkit
3
- VERSION = "4.1.0".freeze
3
+ VERSION = "4.2.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wes-cloudkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-26 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.5.1
131
+ rubygems_version: 2.5.2
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: ''