infopark_opsworks_helpers 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e66f202d032e55f6505bcc1bb35d139eae7d65db
|
|
4
|
+
data.tar.gz: e8e72d80f478e0d247af007b8bb166bd0e4aa60f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cf0c17b31f1ec3c132523289becd17f40fc02935ed44bd6df00419181f435414097d2e1984ed068695bbaf9f7c28b749ab2ccea014795b7f07926e91452e2c9
|
|
7
|
+
data.tar.gz: f2addc764fad4826c918499a65a8b3343e2e7c147be725ca3b443245dac3fb265ba9b4211e8cb5ab0b84780db8572d9e6d99ac908a47e2889f33bcbe26015464
|
|
@@ -7,8 +7,6 @@ end
|
|
|
7
7
|
module OpsworksHelpers
|
|
8
8
|
class Deployment < OpsworksResource
|
|
9
9
|
|
|
10
|
-
attr_accessor :command
|
|
11
|
-
|
|
12
10
|
def id
|
|
13
11
|
opsworks_resource.deployment_id
|
|
14
12
|
end
|
|
@@ -51,5 +49,9 @@ module OpsworksHelpers
|
|
|
51
49
|
end
|
|
52
50
|
end
|
|
53
51
|
|
|
52
|
+
private
|
|
53
|
+
|
|
54
|
+
attr_accessor :command
|
|
55
|
+
|
|
54
56
|
end
|
|
55
57
|
end
|
|
@@ -6,7 +6,7 @@ module OpsworksHelpers
|
|
|
6
6
|
private
|
|
7
7
|
|
|
8
8
|
def opsworks
|
|
9
|
-
@opsworks ||= Aws::OpsWorks::Client.new(region:
|
|
9
|
+
@opsworks ||= Aws::OpsWorks::Client.new(region: aws_region)
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def stack_id
|
|
@@ -19,5 +19,9 @@ module OpsworksHelpers
|
|
|
19
19
|
fail('Please provide AWS_OPSWORKS_APP_ID in env.')
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
def aws_region
|
|
23
|
+
ENV.fetch('AWS_REGION', 'us-east-1')
|
|
24
|
+
end
|
|
25
|
+
|
|
22
26
|
end
|
|
23
27
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infopark_opsworks_helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infopark AG
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-12-
|
|
12
|
+
date: 2016-12-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|