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.
- checksums.yaml +4 -4
- data/lib/owssh.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2600ec936d3e41370f8ba06d3d4c36a015ab0d09
|
|
4
|
+
data.tar.gz: 0dcb0cac4b1da8d81938fa5fe430e63c0b09891f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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-
|
|
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
|