rdialog-ng 0.1.3 → 0.1.4
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 +5 -5
- data/VERSION +1 -1
- data/lib/rdialog-ng/rdialog-ng.rb +4 -9
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 7f64da3348cb6cb58217ae0ddd378feef9ba9bf54d0e080487b150312b4b3097
|
|
4
|
+
data.tar.gz: e229afffca843048ee37ffce7735fcf9435a8666965a971af8955ac6aede9c95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45f08d9e8ecb4171120b37914b0a72f996c118457485f462bf3a7aa2780c898b4b07fe8a7bac0d41c26a8051057ed4ed8e729aa20ca46fe7925ebaecc74e6f2b
|
|
7
|
+
data.tar.gz: 8dd77e2a0ef5a07be17d086fd4979da167ab07d6af47b45b4efff956a5fc2d89d362b6639c094c15c795197d037fa5e1504d42151da7b54501611008ea20f602
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.4
|
|
@@ -177,7 +177,7 @@ attr_accessor :timeout
|
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
command = option_string() + "--checklist \"" + text.to_s +
|
|
180
|
+
command = option_string() + "--separate-output --checklist \"" + text.to_s +
|
|
181
181
|
"\" " + height.to_i.to_s + " " + width.to_i.to_s +
|
|
182
182
|
" " + listheight.to_i.to_s + " " + itemlist + "2> " +
|
|
183
183
|
tmp.path
|
|
@@ -185,15 +185,10 @@ attr_accessor :timeout
|
|
|
185
185
|
success = system(command)
|
|
186
186
|
puts success
|
|
187
187
|
if success
|
|
188
|
-
|
|
189
|
-
tmp.
|
|
190
|
-
|
|
191
|
-
selected_string.chomp!("\"")
|
|
192
|
-
selected_array = selected_string.split('" "')
|
|
193
|
-
for item in selected_array
|
|
194
|
-
item.delete!("\\")
|
|
188
|
+
selected_array = []
|
|
189
|
+
while !tmp.eof? do
|
|
190
|
+
selected_array << tmp.readline.strip
|
|
195
191
|
end
|
|
196
|
-
|
|
197
192
|
return selected_array
|
|
198
193
|
else
|
|
199
194
|
tmp.close!
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdialog-ng
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aleks Clark
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2016-10-27 00:00:00.000000000 Z
|
|
15
15
|
dependencies: []
|
|
16
16
|
description: A gem providing a ruby interface to the n-curses dialog generator - 'dialog'.
|
|
17
17
|
email: rubygem@rieckers.it
|
|
@@ -45,8 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '0'
|
|
47
47
|
requirements: []
|
|
48
|
-
|
|
49
|
-
rubygems_version: 2.5.1
|
|
48
|
+
rubygems_version: 3.0.3
|
|
50
49
|
signing_key:
|
|
51
50
|
specification_version: 4
|
|
52
51
|
summary: A gem providing a ruby interface to the n-curses dialog generator - 'dialog'.
|