mattscilipoti-rdialog 0.6.0 → 0.6.1
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.
- data/History.txt +8 -1
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/mattscilipoti-rdialog.rb +1 -1
- data/lib/{rdialog.rb → rdialog/rdialog.rb} +12 -0
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
-
+++ 0.
|
1
|
+
+++ 0.6.1 2009-11-03
|
2
|
+
+ minor enhancement:
|
3
|
+
+ New option: --timeout
|
4
|
+
|
5
|
+
+++ 0.6.0 2009-11-03
|
2
6
|
+ minor enhancement:
|
3
7
|
+ Support --yesno dialog
|
8
|
+
|
9
|
+
+++ 0.5.1 2009-11-03
|
10
|
+
+ minor enhancement:
|
4
11
|
+ Setup with Jeweller
|
5
12
|
|
6
13
|
+++ 0.1.0 2007-04-27
|
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= mattscilipoti-rdialog
|
2
2
|
|
3
|
-
A gem providing a ruby interface to the n-curses dialog generator dialog.
|
3
|
+
A gem providing a ruby interface to the n-curses dialog generator: dialog.
|
4
4
|
'Forked' from http://rubyforge.org/projects/rdialog.
|
5
5
|
All credit goes to its author: Aleks Clark.
|
6
6
|
We just made small tweaks (and added jeweller support).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
@@ -91,6 +91,14 @@ class RDialog
|
|
91
91
|
#
|
92
92
|
attr_accessor :tablen
|
93
93
|
|
94
|
+
#
|
95
|
+
# Specify the timeout in secs
|
96
|
+
# Timeout (exit with error code) if no user response within the given number of seconds.
|
97
|
+
# This is overridden if the background "--tailboxbg is used.
|
98
|
+
# A timeout of zero seconds is ignored.
|
99
|
+
#
|
100
|
+
attr_accessor :timeout
|
101
|
+
|
94
102
|
#
|
95
103
|
# Title string to be displayed at the top of the dialog box.
|
96
104
|
#
|
@@ -568,6 +576,10 @@ class RDialog
|
|
568
576
|
ostring += "--tab-len " + @tablen.to_i + " "
|
569
577
|
end
|
570
578
|
|
579
|
+
if @timeout
|
580
|
+
ostring += "--timeout " + @timeout.to_s + " "
|
581
|
+
end
|
582
|
+
|
571
583
|
if @title
|
572
584
|
ostring += "--title " + @title.to_s + " "
|
573
585
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mattscilipoti-rdialog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleks Clark
|
@@ -46,7 +46,7 @@ files:
|
|
46
46
|
- Rakefile
|
47
47
|
- VERSION
|
48
48
|
- lib/mattscilipoti-rdialog.rb
|
49
|
-
- lib/rdialog.rb
|
49
|
+
- lib/rdialog/rdialog.rb
|
50
50
|
- lib/rdialog/version.rb
|
51
51
|
- scripts/txt2html
|
52
52
|
- setup.rb
|