bogo-ui 0.1.8 → 0.1.10
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 -2
- data/lib/bogo-ui/version.rb +1 -1
- 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: e9326b408b642815f695692875ea431eac925a2b
|
4
|
+
data.tar.gz: 6f781eb72cc706c8fad98c56e9b6ed88d45fbc70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c7a96833a0f404ba884d3dd1b3d5e6dfa400c1fa256b9d174d017a135466e602629413ad48e224d227c810f8496082bf532fbf72041f9766e507e381e20e255
|
7
|
+
data.tar.gz: ce391fcc1b23e8914de76e64ffd60c32ccfd3002b7baf8fd1ad8e7232bd29fa0b38eea6df9bc779211479c94714846103f3e0e43c30e3026e8317e88cd53e8d1
|
data/CHANGELOG.md
CHANGED
data/lib/bogo-ui/ui.rb
CHANGED
@@ -151,7 +151,7 @@ module Bogo
|
|
151
151
|
until(result)
|
152
152
|
info "#{string}: ", :nonewline
|
153
153
|
result = $stdin.gets.strip
|
154
|
-
if(result.empty? && default)
|
154
|
+
if(result.to_s.empty? && default)
|
155
155
|
result = default
|
156
156
|
end
|
157
157
|
if(valid)
|
@@ -162,7 +162,7 @@ module Bogo
|
|
162
162
|
result = nil unless result =~ valid
|
163
163
|
end
|
164
164
|
end
|
165
|
-
if(result.empty?)
|
165
|
+
if(result.to_s.empty?)
|
166
166
|
error 'Please provide a valid value'
|
167
167
|
result = nil
|
168
168
|
end
|
data/lib/bogo-ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bogo-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo
|