bogo-ui 0.1.18 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/bogo-ui/ui.rb +2 -0
- data/lib/bogo-ui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 450798d1239966468b49f53478950973bece25fc
|
4
|
+
data.tar.gz: f2e46bd38978774ebf83097cf52a300aa8828d03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48181f0bfd7a15f52165045c82e251d4f1be705513f7fe10a2bc791196513845052f8f45890a46011781679623c6e4178577f08d22d940c104d372e1165cb9e7
|
7
|
+
data.tar.gz: cf95b92ec91e7b4b93fb7414ec734076e431744a40a8c538c90ed730a95df1385025e8c7e10a89024b0d693a1128e0ff44e3d83c8924ed355708f589b020d08e
|
data/CHANGELOG.md
CHANGED
data/lib/bogo-ui/ui.rb
CHANGED
@@ -153,9 +153,11 @@ module Bogo
|
|
153
153
|
result = opts[:no_echo] ?
|
154
154
|
$stdin.noecho(&:gets).strip :
|
155
155
|
$stdin.gets.strip
|
156
|
+
puts "\n" if opts[:no_echo]
|
156
157
|
if(result.to_s.empty? && default)
|
157
158
|
result = default
|
158
159
|
end
|
160
|
+
|
159
161
|
if(valid)
|
160
162
|
case valid
|
161
163
|
when Array
|
data/lib/bogo-ui/version.rb
CHANGED