elastic_beans 0.13.0.alpha10 → 0.13.0.alpha11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd56dfb16455f11991216cb72f3bd09ed7410584
|
4
|
+
data.tar.gz: b442fd670007cf5f3aafc80b45b41c0bfa26e11d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75f89a10b1dd6af7d08a0ff9e74d66fee3c35229b4cd4c981bb1b09bb94f6228f98d493df4b95c4af6b425cd23a3c8d75acd483afcaf15a93dec3ef09875e668
|
7
|
+
data.tar.gz: ce22fe5c5e2ccdf46516751e2487ee84f8252aac52fc6fbfe0d3eef9be62c804b5e04f6b37f06a015704c62df4891c46697506366107c0d9dfae8d99bb9f95ea
|
@@ -90,7 +90,7 @@ module ElasticBeans
|
|
90
90
|
def create_archive(working_directory:, sha:, path:)
|
91
91
|
FileUtils.mkdir_p(File.dirname(path))
|
92
92
|
Dir.chdir(working_directory) do
|
93
|
-
system("git archive --format=zip -o #{path} #{sha}")
|
93
|
+
system("git archive --format=zip -o '#{path}' #{sha}")
|
94
94
|
end
|
95
95
|
unless $?.success?
|
96
96
|
raise FailedArchiveError.new(sha: sha, path: path)
|
@@ -238,7 +238,7 @@ module ElasticBeans
|
|
238
238
|
end
|
239
239
|
|
240
240
|
def message
|
241
|
-
"Could not create git archive of sha `#{sha}' at path `#{path}'"
|
241
|
+
"Could not create git archive of sha `#{@sha}' at path `#{@path}'"
|
242
242
|
end
|
243
243
|
end
|
244
244
|
|
@@ -68,7 +68,7 @@ module ElasticBeans
|
|
68
68
|
keypair_setting,
|
69
69
|
]
|
70
70
|
if solution_stack
|
71
|
-
settings << template_option_setting(template: template, namespace: "aws:elasticbeanstalk:
|
71
|
+
settings << template_option_setting(template: template, namespace: "aws:elasticbeanstalk:application:environment", option_name: "ELASTIC_BEANS_SOLUTION_STACK", override: solution_stack, new_settings: option_settings)
|
72
72
|
end
|
73
73
|
super + settings
|
74
74
|
end
|
@@ -80,15 +80,14 @@ module ElasticBeans
|
|
80
80
|
private
|
81
81
|
|
82
82
|
# Finds the previously-configured solution stack when one was not specified.
|
83
|
-
# The solution stack name is stored in
|
83
|
+
# The solution stack name is stored in an environment variable named "ELASTIC_BEANS_SOLUTION_STACK",
|
84
84
|
# because updating the template's solution stack is not supported by Elastic Beanstalk.
|
85
|
-
#
|
86
|
-
# If the custom option is not set because the application was configured by an older version of beans, returns the template's configured solution stack.
|
85
|
+
# If the environment variable is not set because the application was configured by an older version of beans, returns the template's configured solution stack.
|
87
86
|
def configured_solution_stack
|
88
87
|
template = configuration_settings_description("base")
|
89
88
|
if template
|
90
89
|
setting = template.option_settings.find { |setting|
|
91
|
-
setting.namespace == "aws:elasticbeanstalk:
|
90
|
+
setting.namespace == "aws:elasticbeanstalk:application:environment" && setting.option_name == "ELASTIC_BEANS_SOLUTION_STACK"
|
92
91
|
}
|
93
92
|
if setting
|
94
93
|
return setting.value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic_beans
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.0.
|
4
|
+
version: 0.13.0.alpha11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Stegman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|