owssh 0.0.27 → 0.0.28

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/owssh.rb +5 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 027bc9e654a8e70857d76e4dea7870146221efe5
4
- data.tar.gz: 991831baa85550fa981d27a563058985de05bce1
3
+ metadata.gz: 2600ec936d3e41370f8ba06d3d4c36a015ab0d09
4
+ data.tar.gz: 0dcb0cac4b1da8d81938fa5fe430e63c0b09891f
5
5
  SHA512:
6
- metadata.gz: b701f16e18d54d2cc6607d838aebc538ffeaec5f2c9d7962b82a9d26456ff02b03466d9423eb550641be7a7da7650e8960bf87b72add0a944db5b85a13c1a3e5
7
- data.tar.gz: 4b261ec14871aa7541628dca8e8057663e4537109280e61165ad62267d436a77a3ff417a2a1a12aa79aed995058861bc5245c1fbc0c3dc1082edca8885ed896a
6
+ metadata.gz: a1c216a366aa2dc232caf771a403b20551a2db0ee295a843dbc7e7aede6d3ea2a98771ec70e694a5ee402d39d1c4533b376817dd20519f55135cf0226c8f3867
7
+ data.tar.gz: 7bf455c3640f4d429b7b8735d180eeb155ede2c564ff94d65dbccf866079a12b4e031c31c8c8f39494012014de55f8f1f909eed9e38eb374ee2c1b762de0b73e
data/lib/owssh.rb CHANGED
@@ -111,7 +111,7 @@ class Owssh
111
111
 
112
112
  if ARGV.empty?
113
113
  puts "Please supply some options. Try 'owssh help' for available commands"
114
- exit
114
+ abort
115
115
  end
116
116
 
117
117
  $stacks = {}
@@ -144,13 +144,13 @@ class Owssh
144
144
  print_instances($instances)
145
145
  elsif
146
146
  puts "Unable to find stack named '#{ARGV[1]}'"
147
- exit
147
+ abort
148
148
  end
149
149
  elsif $stacks.has_key?(ARGV[0].downcase.to_s) then
150
150
  # SSH to the host
151
151
  if ARGV[1].nil? then
152
152
  puts "Please enter an instance name. I.E. rails-app3"
153
- exit
153
+ abort
154
154
  end
155
155
 
156
156
  stack_name = ARGV[0].downcase.to_s
@@ -177,7 +177,7 @@ class Owssh
177
177
  end
178
178
  if $first_instance == "" then
179
179
  puts "Could not find valid host with name or type of '#{ARGV[1]}'"
180
- exit
180
+ abort
181
181
  else
182
182
  if ARGV[2].nil? then
183
183
  puts "Opening SSH connection to first of type '#{ARGV[1]}' which is '#{$first_instance}'..."
@@ -190,7 +190,7 @@ class Owssh
190
190
  else
191
191
  puts "I don't quite understand what you're asking me to do..."
192
192
  puts " Try running 'owssh help' for help!"
193
- exit
193
+ abort
194
194
  end
195
195
  end
196
196
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: owssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hutchins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-08 00:00:00.000000000 Z
11
+ date: 2014-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: command_line_reporter