elastic_beans 0.11.0.alpha3 → 0.11.0.alpha4

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: 447c3a015ec047c6869fb9cb7f0aed2f705f8478
4
- data.tar.gz: 6bb14f4d01a75b033ce771359bb2749b9826f15c
3
+ metadata.gz: 451527599c0f9b9e8ae45814b4bfd0ead0790186
4
+ data.tar.gz: 96fb1b400aecb0916f3c3e1ac160f8109f483ce4
5
5
  SHA512:
6
- metadata.gz: 90923ac6059ab4623182556cb7b07917edc075ff71e7fe213df7826d7c4e61362f4bdab240dc57c58939e53554daa4794b6e7d2216c47207e248e6cbed448d3c
7
- data.tar.gz: 37d5e729599034467b376668822b5ee45494650da65d58b282225686116612332f29b045b586a27f72b6f8d72039269b0000b83ebab3d1e0b7bb874bb069fcf8
6
+ metadata.gz: b9eea2b765ad0026e8e28ae599c3c0376ec7e80acfe51d379bc2803720e70dd6d7470b235717a7d8666cd78be9935837117a279e666cf1d7de0c539d39ea4406
7
+ data.tar.gz: 747e509d8c8b9f5a384d690427432e0bd284579c2c5d132016f31a9ddf47baf044db1f44a419a7d4c227305e457653d76e590469576c968d95722585093eb731
data/exe/beans CHANGED
@@ -1,5 +1,15 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ Signal.trap("INT") do
4
+ puts "\nInterrupting beans -- if an operation was in progress, it will still be running."
5
+ exit 130
6
+ end
7
+
8
+ Signal.trap("TERM") do
9
+ puts "Terminating beans -- if an operation was in progress, it will still be running."
10
+ exit 143
11
+ end
12
+
3
13
  require "elastic_beans/cli"
4
14
 
5
15
  ElasticBeans::CLI.start(ARGV)
@@ -109,7 +109,7 @@ Requires AWS credentials to be set in the environment, i.e. AWS_ACCESS_KEY_ID an
109
109
  rescue ElasticBeans::SSH::BastionAuthenticationError => e
110
110
  raise BastionAuthenticationError.new(cause: e)
111
111
  ensure
112
- ui.info("\nCleaning up, please do not interrupt!")
112
+ ui.info("Cleaning up, please do not interrupt!")
113
113
  application.kill_command(freeze_command)
114
114
  application.deregister_command(command)
115
115
  end
@@ -1,3 +1,3 @@
1
1
  module ElasticBeans
2
- VERSION = "0.11.0.alpha3"
2
+ VERSION = "0.11.0.alpha4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_beans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0.alpha3
4
+ version: 0.11.0.alpha4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stegman