rwdgutenberg 0.06 → 0.07
Sign up to get free protection for your applications and to get access to all the features.
- data/code/superant.com.gutenberg/cleargutenbergfiles.rb +8 -0
- data/code/superant.com.gutenberg/cleargutrecordfiles.rb +8 -0
- data/code/superant.com.gutenberg/gutenbergcreatefile.rb +1 -1
- data/code/superant.com.gutenberg/listtextfilesgutenberg.rb +2 -1
- data/code/superant.com.gutenberg/rungutenbergwindow.rb +3 -13
- data/configuration/rwdgutenberg.dist +2 -2
- data/gui/frontwindow0/superant.com.gutenberg/10viewnote.rwd +2 -1
- data/gui/frontwindow0/superant.com.gutenberg/20listfiles.rwd +1 -0
- data/rwd_files/HowTo_Gutenberg.txt +4 -0
- metadata +3 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
# create new gutenberg data file
|
2
2
|
def gutenbergcreatefile
|
3
3
|
|
4
|
-
filelocation = $rwdgutenberg_directory + "/" +@
|
4
|
+
filelocation = $rwdgutenberg_directory + "/" +@a_newgutenbergdata+ ".gut"
|
5
5
|
|
6
6
|
p filelocation
|
7
7
|
fileB=File.open(filelocation,"w") #deletes and opens a the file in fileName
|
@@ -25,28 +25,18 @@
|
|
25
25
|
tempdoc = ""
|
26
26
|
@gutendisplayvariable = ""
|
27
27
|
tempcount = 0
|
28
|
-
|
28
|
+
|
29
29
|
|
30
30
|
if $gutenbergcommand == "openbook"
|
31
31
|
|
32
|
-
|
33
|
-
$stderr.print "testing string\n"
|
34
|
-
fileName = $rwdgutenberg_directory + "/" + @a_viewgutenberg + ".gut"
|
35
|
-
|
36
|
-
$stderr.print "about to open file existence "
|
37
|
-
$stderr.print fileName
|
38
|
-
$stderr.print "\n"
|
39
|
-
|
32
|
+
fileName = $rwdgutenberg_directory + "/" + @a_viewgutenberg + ".gut"
|
40
33
|
fd = File.open(fileName,"r")
|
41
34
|
booktitle = fd.readline.chomp
|
42
|
-
|
35
|
+
|
43
36
|
$bookfile=File.new(booktitle,"r") #opens the file thats in fileName as read only
|
44
37
|
$gutenbergcommand == "continue"
|
45
38
|
|
46
|
-
|
47
|
-
|
48
39
|
end
|
49
|
-
|
50
40
|
|
51
41
|
if $gutenbergcommand == "continue"
|
52
42
|
tempcount = 0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:0.
|
1
|
+
##VERSION:0.07
|
2
2
|
##NAME:$rwdgutenberg_directory:0
|
3
3
|
$rwdgutenberg_directory = "Books"
|
4
4
|
##NAME:$gutenbergcommand:0
|
@@ -12,5 +12,5 @@ $booksteps = 14
|
|
12
12
|
$tinkerdocumentsarray += ["HowTo_Gutenberg.txt"]
|
13
13
|
$tinkerhelpaboutarray += ["RwdGutenberg"]
|
14
14
|
##NAME:RwdGutenbergVersion:0
|
15
|
-
RwdGutenbergVersion = "0.
|
15
|
+
RwdGutenbergVersion = "0.07"
|
16
16
|
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.10
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdgutenberg
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
6
|
+
version: "0.07"
|
7
7
|
date: 2005-05-15
|
8
8
|
summary: rwdgutenberg application is a text file reader for RubyWebDialogs.
|
9
9
|
require_paths:
|
@@ -92,6 +92,8 @@ files:
|
|
92
92
|
- code/superant.com.gutenberg/savegutenbergrecord.rb
|
93
93
|
- code/superant.com.gutenberg/jumplinkupdate.rb
|
94
94
|
- code/superant.com.gutenberg/rwdtinkerversion.rb
|
95
|
+
- code/superant.com.gutenberg/cleargutrecordfiles.rb
|
96
|
+
- code/superant.com.gutenberg/cleargutenbergfiles.rb
|
95
97
|
- configuration/tinkerwin2variables.dist
|
96
98
|
- configuration/rwdtinker.dist
|
97
99
|
- configuration/language.dist
|