elastic_beans 0.13.0.alpha11 → 0.13.0
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: 505869ec19aba8fb70e2c8484f6a3cafae59aaab
|
|
4
|
+
data.tar.gz: 58200cac978bb7c3f477b89bc283387bddd8cfe6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa9c6f4d1796607931b642d13972e40ddc946bb8545b903f4590046c9851f3b32d5accbd1d784c22478a911c3758fac5ce84e197d6ee285e1ff5f1b37b17e57c
|
|
7
|
+
data.tar.gz: 89dd1e139cf8b22e12d0f779fb113a5f0baadd2c4a885bc47b6fb1c07a7573024985d62a76749d9aa9757a0f2f3cb76eda9d38747f43af74e54477d7db9eaa04
|
|
@@ -107,7 +107,11 @@ Requires AWS credentials to be set in the environment, i.e. AWS_ACCESS_KEY_ID an
|
|
|
107
107
|
outdated_versions.pop(APPLICATION_VERSION_MIN_COUNT - leftover_versions.size)
|
|
108
108
|
end
|
|
109
109
|
outdated_versions.each do |version|
|
|
110
|
-
|
|
110
|
+
begin
|
|
111
|
+
version.delete
|
|
112
|
+
rescue ::Aws::Errors::ServiceError => e
|
|
113
|
+
ui.error("Ignoring error while deleting version '#{version.version_label}': #{e.class.name}: #{e.message}")
|
|
114
|
+
end
|
|
111
115
|
end
|
|
112
116
|
end
|
|
113
117
|
end
|
|
@@ -166,10 +166,7 @@ module ElasticBeans
|
|
|
166
166
|
template_name: template_name,
|
|
167
167
|
).configuration_settings[0]
|
|
168
168
|
rescue ::Aws::ElasticBeanstalk::Errors::InvalidParameterValue => e
|
|
169
|
-
|
|
170
|
-
return nil
|
|
171
|
-
end
|
|
172
|
-
raise MissingConfigurationError.new(cause: e)
|
|
169
|
+
return nil
|
|
173
170
|
rescue ::Aws::ElasticBeanstalk::Errors::Throttling
|
|
174
171
|
sleep 5
|
|
175
172
|
retry
|
|
@@ -288,34 +285,6 @@ module ElasticBeans
|
|
|
288
285
|
end
|
|
289
286
|
end
|
|
290
287
|
|
|
291
|
-
# :nodoc: all
|
|
292
|
-
# @!visibility private
|
|
293
|
-
class MissingConfigurationError < ElasticBeans::Error
|
|
294
|
-
include Nesty::NestedError
|
|
295
|
-
|
|
296
|
-
def initialize(cause: nil)
|
|
297
|
-
@nested = cause
|
|
298
|
-
end
|
|
299
|
-
|
|
300
|
-
def message
|
|
301
|
-
require "elastic_beans/cli"
|
|
302
|
-
require "elastic_beans/cli/string_shell"
|
|
303
|
-
msg = <<-MESSAGE
|
|
304
|
-
Some configuration is missing and must be set before creating or updating an environment.
|
|
305
|
-
MESSAGE
|
|
306
|
-
if nested
|
|
307
|
-
msg << "The error from AWS was \"#{nested.message}\"\n#{msg}\n"
|
|
308
|
-
else
|
|
309
|
-
msg << <<-MESSAGE
|
|
310
|
-
Please re-run `#{command_as_string "configure"}`.
|
|
311
|
-
|
|
312
|
-
#{command_help "configure"}"
|
|
313
|
-
MESSAGE
|
|
314
|
-
end
|
|
315
|
-
msg
|
|
316
|
-
end
|
|
317
|
-
end
|
|
318
|
-
|
|
319
288
|
# :nodoc: all
|
|
320
289
|
# @!visibility private
|
|
321
290
|
class UnknownConfigurationType < ElasticBeans::Error
|
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
|
|
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-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -251,9 +251,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
251
251
|
version: '0'
|
|
252
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
requirements:
|
|
254
|
-
- - "
|
|
254
|
+
- - ">="
|
|
255
255
|
- !ruby/object:Gem::Version
|
|
256
|
-
version:
|
|
256
|
+
version: '0'
|
|
257
257
|
requirements: []
|
|
258
258
|
rubyforge_project:
|
|
259
259
|
rubygems_version: 2.6.11
|