bcome 0.5.5 → 0.5.6

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: 63365c812a834e22a3b3ce7fe4294be4d133bed8
4
- data.tar.gz: efb50e2cd7c3ecc83214360d1ca19e2b5f1ff546
3
+ metadata.gz: cd98d90373d60001ec4a21251573bc95c9a0bf87
4
+ data.tar.gz: 3ef7ba76ffc2efdd1b7825645343c1307d95f55d
5
5
  SHA512:
6
- metadata.gz: e5ca5b76195ede2510cf46779862edacfc850e693e0492f67f7f901d3c00628c8d656d3d191bf400256d270790204628950890c4134b9569941cfbb476e492a8
7
- data.tar.gz: d568de08571eb4650b627308dc2738fc11c90935dd5699c671511ef2c0c72ff61df1c2101154f8f25555639a080027451501b84ec81de9e27fe03aaf72d54c46
6
+ metadata.gz: 54ac7e4ff18b8f8368311ec68c4eaa815414d3d581c67109d7e84315312d567010dd07d7eef54b37a7e39580f00eb5695d7639028c58f0a01559272ae8803aba
7
+ data.tar.gz: 56eaa6c9572bc6085b4ee2b857d1c35d8f650130a068650079247321f51a02704d42cf829cffdeefbdf591ad0e219b3753b5163552521b83a815fb1047d06ee6
data/lib/bcome/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bcome
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end
@@ -1,8 +1,12 @@
1
1
  module ::Bcome::CommandHelper
2
2
 
3
3
  def run_local(command, silent = false)
4
- puts "(local) > #{command}" if !silent && ::VERBOSE
5
- system(command)
4
+ begin
5
+ puts "(local) > #{command}" if !silent && ::VERBOSE
6
+ system(command)
7
+ rescue Interrupt
8
+ puts "Exiting gracefully from interrupt".warning
9
+ end
6
10
  end
7
11
  alias :local :run_local
8
12
 
@@ -67,7 +67,7 @@ module ::Bcome::InstanceSsh
67
67
  def non_bootstrapped_ssh_command
68
68
  command = is_jump_ssh? ? (
69
69
  is_ssh_jump_host? ? (
70
- "ssh -i #{bootstrap_settings[:key]} #{bootstrap_settings[:ssh_user]}@#{ip_address}"
70
+ "ssh -i #{bootstrap_settings[:key]} #{bootstrap_settings[:ssh_user]}@#{bastion_ip_address}"
71
71
  ) : (
72
72
  "ssh -i #{bootstrap_settings[:key]} -t #{bootstrap_settings[:ssh_user]}@#{bastion_ip_address} ssh -t #{ip_address}"
73
73
  )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Roderick (Webzakimbo)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk