elastic-beanstalk 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elastic/beanstalk/tasks/eb.rake +2 -3
- data/lib/elastic/beanstalk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6114495eb435a05271c8a09e3d87e1cb2536929a
|
4
|
+
data.tar.gz: b8e14351242af8b0b7aa1f53f5ac288c3c2ac2d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f1e02e3b49cc521882b05fb828ce4432a949a5f360a8dc89a57046b070f369bcbe2cf89a879a3711a2324c7648b4e16cea6fb4e8670f3abcfa0236c0ec715df
|
7
|
+
data.tar.gz: 7a0e6a30be0cd603bb78937076e8688daf2188a5d2adfb4181031bf60332dde0486faea69d878481d8663198e8a89d7ee1283249298902b50e8b1e2523aa8114
|
@@ -340,12 +340,12 @@ namespace :eb do
|
|
340
340
|
#
|
341
341
|
#
|
342
342
|
desc '** Warning: Destroy Elastic Beanstalk application and *all* environments.'
|
343
|
-
task :destroy, [:force] do |t, args|
|
343
|
+
task :destroy, [:environment, :force] => [:config] do |t, args|
|
344
344
|
|
345
345
|
if args[:force].eql? 'y'
|
346
346
|
destroy()
|
347
347
|
else
|
348
|
-
puts
|
348
|
+
puts "Are you sure you wish to destroy #{EbConfig.app}-#{EbConfig.environment}? (y/n)"
|
349
349
|
input = STDIN.gets.strip
|
350
350
|
if input == 'y'
|
351
351
|
destroy()
|
@@ -385,7 +385,6 @@ namespace :eb do
|
|
385
385
|
def destroy
|
386
386
|
Rake::Task['eb:config'].invoke
|
387
387
|
EbDeployer.destroy(application: EbConfig.app, environment: EbConfig.environment)
|
388
|
-
puts "Destroy issued to AWS."
|
389
388
|
end
|
390
389
|
|
391
390
|
# validate file exists
|