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 +4 -4
- data/lib/wes/cloudkit/aws_creds.rb +5 -1
- data/lib/wes/cloudkit/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b478d0d8b6e465e5eddd3132c6ad5529cfbdecda
|
4
|
+
data.tar.gz: d97912058affe89d2460375ca80748d4f51bdd17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/wes/cloudkit/version.rb
CHANGED
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.
|
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:
|
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.
|
131
|
+
rubygems_version: 2.5.2
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: ''
|