danarchy_sys 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danarchy_sys/cli/instance_manager.rb +1 -1
- data/lib/danarchy_sys/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6ae658bd010bf47a8943c0c0a2990a5e066373f97995b9d2db776595aac9fda
|
4
|
+
data.tar.gz: 4dfddb1cfdafbf98aa22624f410001e01c86add6488f734f6a296eaefa6cfeff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b6fec76e79ba94b31b3f1a16304b0897e525e58dbbe8f3fcb48edd98a78d45c76cdda69ae8e4f1781b4c090c0ee90b25bf41879921e34911a50951516b41f25
|
7
|
+
data.tar.gz: 3294ea1ef14b9d724a341a81a5096405eade825e040931f74e8dd3b0867929d587614c953c6bcdb5ea754ab13ed9e74111da462ad74c2af41679c04b3532831d
|
@@ -121,13 +121,13 @@ class InstanceManager
|
|
121
121
|
|
122
122
|
until instances_numhash.values.collect{|i| i[:name]}.include?(instance_name)
|
123
123
|
instance_name = gets
|
124
|
+
instance_name = instance_name ? instance_name.chomp : abort('Exiting!')
|
124
125
|
|
125
126
|
until instance_name.empty? == false
|
126
127
|
print 'Input was blank! Enter an instance or Id from above: '
|
127
128
|
instance_name = gets.chomp
|
128
129
|
end
|
129
130
|
|
130
|
-
instance_name = instance_name ? instance_name.chomp : abort('Exiting!')
|
131
131
|
abort('Exiting') if instance_name == 'exit'
|
132
132
|
return 'main' if instance_name == 'main'
|
133
133
|
|
data/lib/danarchy_sys/version.rb
CHANGED