fireruby 0.1.0-mswin32 → 0.2.0-mswin32
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/doc/README +297 -31
- data/examples/example01.rb +60 -0
- data/lib/doc.tar.gz +0 -0
- data/lib/fireruby.bundle +0 -0
- data/lib/fireruby.so +0 -0
- data/lib/mkdoc +1 -1
- data/lib/src.rb +158 -15
- data/test/ConnectionTest.rb +11 -10
- data/test/DDLTest.rb +7 -6
- data/test/DatabaseTest.rb +13 -14
- data/test/GeneratorTest.rb +4 -3
- data/test/ResultSetTest.rb +6 -5
- data/test/RowTest.rb +49 -0
- data/test/SQLTest.rb +43 -26
- data/test/StatementTest.rb +6 -5
- data/test/TransactionTest.rb +7 -6
- data/test/UnitTest.rb +1 -0
- metadata +11 -135
- data/doc/CVS/Entries +0 -10
- data/doc/CVS/Repository +0 -1
- data/doc/CVS/Root +0 -1
- data/doc/classes/CVS/Entries +0 -2
- data/doc/classes/CVS/Entries.Log +0 -1
- data/doc/classes/CVS/Repository +0 -1
- data/doc/classes/CVS/Root +0 -1
- data/doc/classes/FireRuby/CVS/Entries +0 -8
- data/doc/classes/FireRuby/CVS/Entries.Log +0 -7
- data/doc/classes/FireRuby/CVS/Repository +0 -1
- data/doc/classes/FireRuby/CVS/Root +0 -1
- data/doc/classes/FireRuby/Connection.html +0 -364
- data/doc/classes/FireRuby/Connection.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/Connection.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Connection.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Connection.src/M000046.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000047.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000048.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000049.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000050.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000051.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000052.html +0 -18
- data/doc/classes/FireRuby/Connection.src/M000053.html +0 -18
- data/doc/classes/FireRuby/Connection.src/M000054.html +0 -18
- data/doc/classes/FireRuby/Database.html +0 -292
- data/doc/classes/FireRuby/Database.src/CVS/Entries +0 -7
- data/doc/classes/FireRuby/Database.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Database.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Database.src/M000035.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000036.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000037.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000038.html +0 -18
- data/doc/classes/FireRuby/Database.src/M000039.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000040.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.html +0 -221
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Entries +0 -6
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/FireRubyError.src/M000041.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000042.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000043.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000044.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000045.html +0 -17
- data/doc/classes/FireRuby/Generator.html +0 -343
- data/doc/classes/FireRuby/Generator.src/CVS/Entries +0 -9
- data/doc/classes/FireRuby/Generator.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Generator.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Generator.src/M000001.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000002.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000003.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000004.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000005.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000006.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000007.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000008.html +0 -17
- data/doc/classes/FireRuby/ResultSet.html +0 -343
- data/doc/classes/FireRuby/ResultSet.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/ResultSet.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/ResultSet.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/ResultSet.src/M000026.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000027.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000028.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000029.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000030.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000031.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000032.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000033.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000034.html +0 -17
- data/doc/classes/FireRuby/Statement.html +0 -349
- data/doc/classes/FireRuby/Statement.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/Statement.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Statement.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Statement.src/M000017.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000018.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000019.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000020.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000021.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000022.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000023.html +0 -18
- data/doc/classes/FireRuby/Statement.src/M000024.html +0 -18
- data/doc/classes/FireRuby/Statement.src/M000025.html +0 -17
- data/doc/classes/FireRuby/Transaction.html +0 -484
- data/doc/classes/FireRuby/Transaction.src/CVS/Entries +0 -9
- data/doc/classes/FireRuby/Transaction.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Transaction.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Transaction.src/M000009.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000010.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000011.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000012.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000013.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000014.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000015.html +0 -18
- data/doc/classes/FireRuby/Transaction.src/M000016.html +0 -17
- data/doc/classes/FireRuby.html +0 -116
- data/doc/created.rid +0 -1
- data/doc/files/CVS/Entries +0 -2
- data/doc/files/CVS/Repository +0 -1
- data/doc/files/CVS/Root +0 -1
- data/doc/files/src_rb.html +0 -119
- data/doc/fr_class_index.html +0 -34
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -80
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -175
- data/test/example.c +0 -91
- data/test/fb.c +0 -297
- data/test/mfb +0 -1
- data/test/sql_unit_test.fdb +0 -0
- data/test/test.fdb +0 -0
metadata
CHANGED
@@ -3,13 +3,13 @@ rubygems_version: 0.8.8
|
|
3
3
|
specification_version: 1
|
4
4
|
name: fireruby
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2005-03-
|
6
|
+
version: 0.2.0
|
7
|
+
date: 2005-03-20
|
8
8
|
summary: Ruby interface library for the Firebird database.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: paw220470@yahoo.ie
|
12
|
-
homepage:
|
12
|
+
homepage: http://rubyforge.org/projects/fireruby/
|
13
13
|
rubyforge_project:
|
14
14
|
description:
|
15
15
|
autorequire: fireruby
|
@@ -28,6 +28,7 @@ authors:
|
|
28
28
|
- Peter Wood
|
29
29
|
files:
|
30
30
|
- lib/CVS
|
31
|
+
- lib/doc.tar.gz
|
31
32
|
- lib/fireruby.bundle
|
32
33
|
- lib/mkdoc
|
33
34
|
- lib/src.rb
|
@@ -39,152 +40,27 @@ files:
|
|
39
40
|
- test/CVS
|
40
41
|
- test/DatabaseTest.rb
|
41
42
|
- test/DDLTest.rb
|
42
|
-
- test/example.c
|
43
|
-
- test/fb.c
|
44
43
|
- test/GeneratorTest.rb
|
45
|
-
- test/mfb
|
46
44
|
- test/ResultSetTest.rb
|
47
|
-
- test/
|
45
|
+
- test/RowTest.rb
|
48
46
|
- test/SQLTest.rb
|
49
47
|
- test/StatementTest.rb
|
50
|
-
- test/test.fdb
|
51
48
|
- test/TestSetup.rb
|
52
49
|
- test/TransactionTest.rb
|
53
50
|
- test/UnitTest.rb
|
54
51
|
- test/CVS/Entries
|
55
52
|
- test/CVS/Repository
|
56
53
|
- test/CVS/Root
|
57
|
-
- doc/classes
|
58
|
-
- doc/created.rid
|
59
|
-
- doc/CVS
|
60
|
-
- doc/files
|
61
|
-
- doc/fr_class_index.html
|
62
|
-
- doc/fr_file_index.html
|
63
|
-
- doc/fr_method_index.html
|
64
|
-
- doc/index.html
|
65
54
|
- doc/license.txt
|
66
|
-
- doc/rdoc-style.css
|
67
55
|
- doc/README
|
68
|
-
-
|
69
|
-
- doc/classes/FireRuby
|
70
|
-
- doc/classes/FireRuby.html
|
71
|
-
- doc/classes/CVS/Entries
|
72
|
-
- doc/classes/CVS/Entries.Log
|
73
|
-
- doc/classes/CVS/Repository
|
74
|
-
- doc/classes/CVS/Root
|
75
|
-
- doc/classes/FireRuby/Connection.html
|
76
|
-
- doc/classes/FireRuby/Connection.src
|
77
|
-
- doc/classes/FireRuby/CVS
|
78
|
-
- doc/classes/FireRuby/Database.html
|
79
|
-
- doc/classes/FireRuby/Database.src
|
80
|
-
- doc/classes/FireRuby/FireRubyError.html
|
81
|
-
- doc/classes/FireRuby/FireRubyError.src
|
82
|
-
- doc/classes/FireRuby/Generator.html
|
83
|
-
- doc/classes/FireRuby/Generator.src
|
84
|
-
- doc/classes/FireRuby/ResultSet.html
|
85
|
-
- doc/classes/FireRuby/ResultSet.src
|
86
|
-
- doc/classes/FireRuby/Statement.html
|
87
|
-
- doc/classes/FireRuby/Statement.src
|
88
|
-
- doc/classes/FireRuby/Transaction.html
|
89
|
-
- doc/classes/FireRuby/Transaction.src
|
90
|
-
- doc/classes/FireRuby/Connection.src/CVS
|
91
|
-
- doc/classes/FireRuby/Connection.src/M000046.html
|
92
|
-
- doc/classes/FireRuby/Connection.src/M000047.html
|
93
|
-
- doc/classes/FireRuby/Connection.src/M000048.html
|
94
|
-
- doc/classes/FireRuby/Connection.src/M000049.html
|
95
|
-
- doc/classes/FireRuby/Connection.src/M000050.html
|
96
|
-
- doc/classes/FireRuby/Connection.src/M000051.html
|
97
|
-
- doc/classes/FireRuby/Connection.src/M000052.html
|
98
|
-
- doc/classes/FireRuby/Connection.src/M000053.html
|
99
|
-
- doc/classes/FireRuby/Connection.src/M000054.html
|
100
|
-
- doc/classes/FireRuby/Connection.src/CVS/Entries
|
101
|
-
- doc/classes/FireRuby/Connection.src/CVS/Repository
|
102
|
-
- doc/classes/FireRuby/Connection.src/CVS/Root
|
103
|
-
- doc/classes/FireRuby/CVS/Entries
|
104
|
-
- doc/classes/FireRuby/CVS/Entries.Log
|
105
|
-
- doc/classes/FireRuby/CVS/Repository
|
106
|
-
- doc/classes/FireRuby/CVS/Root
|
107
|
-
- doc/classes/FireRuby/Database.src/CVS
|
108
|
-
- doc/classes/FireRuby/Database.src/M000035.html
|
109
|
-
- doc/classes/FireRuby/Database.src/M000036.html
|
110
|
-
- doc/classes/FireRuby/Database.src/M000037.html
|
111
|
-
- doc/classes/FireRuby/Database.src/M000038.html
|
112
|
-
- doc/classes/FireRuby/Database.src/M000039.html
|
113
|
-
- doc/classes/FireRuby/Database.src/M000040.html
|
114
|
-
- doc/classes/FireRuby/Database.src/CVS/Entries
|
115
|
-
- doc/classes/FireRuby/Database.src/CVS/Repository
|
116
|
-
- doc/classes/FireRuby/Database.src/CVS/Root
|
117
|
-
- doc/classes/FireRuby/FireRubyError.src/CVS
|
118
|
-
- doc/classes/FireRuby/FireRubyError.src/M000041.html
|
119
|
-
- doc/classes/FireRuby/FireRubyError.src/M000042.html
|
120
|
-
- doc/classes/FireRuby/FireRubyError.src/M000043.html
|
121
|
-
- doc/classes/FireRuby/FireRubyError.src/M000044.html
|
122
|
-
- doc/classes/FireRuby/FireRubyError.src/M000045.html
|
123
|
-
- doc/classes/FireRuby/FireRubyError.src/CVS/Entries
|
124
|
-
- doc/classes/FireRuby/FireRubyError.src/CVS/Repository
|
125
|
-
- doc/classes/FireRuby/FireRubyError.src/CVS/Root
|
126
|
-
- doc/classes/FireRuby/Generator.src/CVS
|
127
|
-
- doc/classes/FireRuby/Generator.src/M000001.html
|
128
|
-
- doc/classes/FireRuby/Generator.src/M000002.html
|
129
|
-
- doc/classes/FireRuby/Generator.src/M000003.html
|
130
|
-
- doc/classes/FireRuby/Generator.src/M000004.html
|
131
|
-
- doc/classes/FireRuby/Generator.src/M000005.html
|
132
|
-
- doc/classes/FireRuby/Generator.src/M000006.html
|
133
|
-
- doc/classes/FireRuby/Generator.src/M000007.html
|
134
|
-
- doc/classes/FireRuby/Generator.src/M000008.html
|
135
|
-
- doc/classes/FireRuby/Generator.src/CVS/Entries
|
136
|
-
- doc/classes/FireRuby/Generator.src/CVS/Repository
|
137
|
-
- doc/classes/FireRuby/Generator.src/CVS/Root
|
138
|
-
- doc/classes/FireRuby/ResultSet.src/CVS
|
139
|
-
- doc/classes/FireRuby/ResultSet.src/M000026.html
|
140
|
-
- doc/classes/FireRuby/ResultSet.src/M000027.html
|
141
|
-
- doc/classes/FireRuby/ResultSet.src/M000028.html
|
142
|
-
- doc/classes/FireRuby/ResultSet.src/M000029.html
|
143
|
-
- doc/classes/FireRuby/ResultSet.src/M000030.html
|
144
|
-
- doc/classes/FireRuby/ResultSet.src/M000031.html
|
145
|
-
- doc/classes/FireRuby/ResultSet.src/M000032.html
|
146
|
-
- doc/classes/FireRuby/ResultSet.src/M000033.html
|
147
|
-
- doc/classes/FireRuby/ResultSet.src/M000034.html
|
148
|
-
- doc/classes/FireRuby/ResultSet.src/CVS/Entries
|
149
|
-
- doc/classes/FireRuby/ResultSet.src/CVS/Repository
|
150
|
-
- doc/classes/FireRuby/ResultSet.src/CVS/Root
|
151
|
-
- doc/classes/FireRuby/Statement.src/CVS
|
152
|
-
- doc/classes/FireRuby/Statement.src/M000017.html
|
153
|
-
- doc/classes/FireRuby/Statement.src/M000018.html
|
154
|
-
- doc/classes/FireRuby/Statement.src/M000019.html
|
155
|
-
- doc/classes/FireRuby/Statement.src/M000020.html
|
156
|
-
- doc/classes/FireRuby/Statement.src/M000021.html
|
157
|
-
- doc/classes/FireRuby/Statement.src/M000022.html
|
158
|
-
- doc/classes/FireRuby/Statement.src/M000023.html
|
159
|
-
- doc/classes/FireRuby/Statement.src/M000024.html
|
160
|
-
- doc/classes/FireRuby/Statement.src/M000025.html
|
161
|
-
- doc/classes/FireRuby/Statement.src/CVS/Entries
|
162
|
-
- doc/classes/FireRuby/Statement.src/CVS/Repository
|
163
|
-
- doc/classes/FireRuby/Statement.src/CVS/Root
|
164
|
-
- doc/classes/FireRuby/Transaction.src/CVS
|
165
|
-
- doc/classes/FireRuby/Transaction.src/M000009.html
|
166
|
-
- doc/classes/FireRuby/Transaction.src/M000010.html
|
167
|
-
- doc/classes/FireRuby/Transaction.src/M000011.html
|
168
|
-
- doc/classes/FireRuby/Transaction.src/M000012.html
|
169
|
-
- doc/classes/FireRuby/Transaction.src/M000013.html
|
170
|
-
- doc/classes/FireRuby/Transaction.src/M000014.html
|
171
|
-
- doc/classes/FireRuby/Transaction.src/M000015.html
|
172
|
-
- doc/classes/FireRuby/Transaction.src/M000016.html
|
173
|
-
- doc/classes/FireRuby/Transaction.src/CVS/Entries
|
174
|
-
- doc/classes/FireRuby/Transaction.src/CVS/Repository
|
175
|
-
- doc/classes/FireRuby/Transaction.src/CVS/Root
|
176
|
-
- doc/CVS/Entries
|
177
|
-
- doc/CVS/Repository
|
178
|
-
- doc/CVS/Root
|
179
|
-
- doc/files/CVS
|
180
|
-
- doc/files/src_rb.html
|
181
|
-
- doc/files/CVS/Entries
|
182
|
-
- doc/files/CVS/Repository
|
183
|
-
- doc/files/CVS/Root
|
56
|
+
- examples/example01.rb
|
184
57
|
test_files:
|
185
58
|
- test/UnitTest.rb
|
186
|
-
rdoc_options:
|
187
|
-
|
59
|
+
rdoc_options:
|
60
|
+
- "--main"
|
61
|
+
- doc/README
|
62
|
+
extra_rdoc_files:
|
63
|
+
- doc/README
|
188
64
|
executables: []
|
189
65
|
extensions: []
|
190
66
|
requirements: []
|
data/doc/CVS/Entries
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
/README/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
2
|
-
/created.rid/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
3
|
-
/fr_class_index.html/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
4
|
-
/fr_file_index.html/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
5
|
-
/fr_method_index.html/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
6
|
-
/index.html/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
7
|
-
/rdoc-style.css/1.1.1.1/Tue Mar 15 10:36:19 2005//
|
8
|
-
D/classes////
|
9
|
-
D/files////
|
10
|
-
/license.txt/1.1/Tue Mar 15 13:34:22 2005//
|
data/doc/CVS/Repository
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc
|
data/doc/CVS/Root
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
data/doc/classes/CVS/Entries
DELETED
data/doc/classes/CVS/Entries.Log
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
A D/FireRuby////
|
data/doc/classes/CVS/Repository
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes
|
data/doc/classes/CVS/Root
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/Connection.html/1.1.1.1/Tue Mar 15 10:36:20 2005//
|
2
|
-
/Database.html/1.1.1.1/Tue Mar 15 10:36:20 2005//
|
3
|
-
/FireRubyError.html/1.1.1.1/Tue Mar 15 10:36:20 2005//
|
4
|
-
/Generator.html/1.1.1.1/Tue Mar 15 10:36:20 2005//
|
5
|
-
/ResultSet.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
6
|
-
/Statement.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
7
|
-
/Transaction.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
8
|
-
D
|
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes/FireRuby
|
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -1,364 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: FireRuby::Connection</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<h1>FireRuby::Connection <sup class="type-note">(Class)</sup></h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>In:</strong></td>
|
54
|
-
<td>
|
55
|
-
<a href="../../files/src_rb.html">
|
56
|
-
src.rb
|
57
|
-
</a>
|
58
|
-
<br />
|
59
|
-
</td>
|
60
|
-
</tr>
|
61
|
-
|
62
|
-
<tr class="top-aligned-row">
|
63
|
-
<td><strong>Parent:</strong></td>
|
64
|
-
<td>
|
65
|
-
Object
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
</table>
|
69
|
-
</div>
|
70
|
-
<!-- banner header -->
|
71
|
-
|
72
|
-
<div id="bodyContent">
|
73
|
-
|
74
|
-
|
75
|
-
<div id="contextContent">
|
76
|
-
|
77
|
-
<div id="description">
|
78
|
-
<p>
|
79
|
-
This class represents a connection with a Firebird database.
|
80
|
-
</p>
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h2 class="section-bar">Methods</h2>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000049">close</a>
|
90
|
-
<a href="#M000048">closed?</a>
|
91
|
-
<a href="#M000050">database</a>
|
92
|
-
<a href="#M000053">execute</a>
|
93
|
-
<a href="#M000054">execute_immediate</a>
|
94
|
-
<a href="#M000046">new</a>
|
95
|
-
<a href="#M000047">open?</a>
|
96
|
-
<a href="#M000052">start_transaction</a>
|
97
|
-
<a href="#M000051">to_s</a>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<!-- if includes -->
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if method_list -->
|
114
|
-
<div id="methods">
|
115
|
-
<h2 class="section-bar">Public Class methods</h2>
|
116
|
-
|
117
|
-
<div id="method-M000046" class="method-detail">
|
118
|
-
<a name="M000046"></a>
|
119
|
-
|
120
|
-
<div class="method-heading">
|
121
|
-
<a href="Connection.src/M000046.html" target="Code" class="method-signature"
|
122
|
-
onclick="popupCode('Connection.src/M000046.html');return false;">
|
123
|
-
<span class="method-name">new</span><span class="method-args">(database)</span>
|
124
|
-
</a>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div class="method-description">
|
128
|
-
<p>
|
129
|
-
This is the constructor for the <a href="Connection.html">Connection</a>
|
130
|
-
class.
|
131
|
-
</p>
|
132
|
-
<h4>Parameters</h4>
|
133
|
-
<table>
|
134
|
-
<tr><td valign="top">database:</td><td>A reference to the <a href="Database.html">Database</a> object to be
|
135
|
-
connected to.
|
136
|
-
|
137
|
-
</td></tr>
|
138
|
-
</table>
|
139
|
-
<h4>Exceptions</h4>
|
140
|
-
<table>
|
141
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever an invalid database is specified to the method or an
|
142
|
-
issue occurs establishing the database connection.
|
143
|
-
|
144
|
-
</td></tr>
|
145
|
-
</table>
|
146
|
-
</div>
|
147
|
-
</div>
|
148
|
-
|
149
|
-
<h2 class="section-bar">Public Instance methods</h2>
|
150
|
-
|
151
|
-
<div id="method-M000049" class="method-detail">
|
152
|
-
<a name="M000049"></a>
|
153
|
-
|
154
|
-
<div class="method-heading">
|
155
|
-
<a href="Connection.src/M000049.html" target="Code" class="method-signature"
|
156
|
-
onclick="popupCode('Connection.src/M000049.html');return false;">
|
157
|
-
<span class="method-name">close</span><span class="method-args">()</span>
|
158
|
-
</a>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
<div class="method-description">
|
162
|
-
<p>
|
163
|
-
This method detaches a <a href="Connection.html">Connection</a> object from
|
164
|
-
a database. The object may not be used for database functionality following
|
165
|
-
a successful call to this method. The close method will fail if there are
|
166
|
-
outstanding transactions for a connection.
|
167
|
-
</p>
|
168
|
-
<h4>Exceptions</h4>
|
169
|
-
<table>
|
170
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever the connection has at least one open transaction or an
|
171
|
-
error occurs closing the connection.
|
172
|
-
|
173
|
-
</td></tr>
|
174
|
-
</table>
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
<div id="method-M000048" class="method-detail">
|
179
|
-
<a name="M000048"></a>
|
180
|
-
|
181
|
-
<div class="method-heading">
|
182
|
-
<a href="Connection.src/M000048.html" target="Code" class="method-signature"
|
183
|
-
onclick="popupCode('Connection.src/M000048.html');return false;">
|
184
|
-
<span class="method-name">closed?</span><span class="method-args">()</span>
|
185
|
-
</a>
|
186
|
-
</div>
|
187
|
-
|
188
|
-
<div class="method-description">
|
189
|
-
<p>
|
190
|
-
This method is used to determine whether a <a
|
191
|
-
href="Connection.html">Connection</a> object represents an inactive
|
192
|
-
database connection.
|
193
|
-
</p>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
|
197
|
-
<div id="method-M000050" class="method-detail">
|
198
|
-
<a name="M000050"></a>
|
199
|
-
|
200
|
-
<div class="method-heading">
|
201
|
-
<a href="Connection.src/M000050.html" target="Code" class="method-signature"
|
202
|
-
onclick="popupCode('Connection.src/M000050.html');return false;">
|
203
|
-
<span class="method-name">database</span><span class="method-args">()</span>
|
204
|
-
</a>
|
205
|
-
</div>
|
206
|
-
|
207
|
-
<div class="method-description">
|
208
|
-
<p>
|
209
|
-
This is the accessor method for the database attribute.
|
210
|
-
</p>
|
211
|
-
</div>
|
212
|
-
</div>
|
213
|
-
|
214
|
-
<div id="method-M000053" class="method-detail">
|
215
|
-
<a name="M000053"></a>
|
216
|
-
|
217
|
-
<div class="method-heading">
|
218
|
-
<a href="Connection.src/M000053.html" target="Code" class="method-signature"
|
219
|
-
onclick="popupCode('Connection.src/M000053.html');return false;">
|
220
|
-
<span class="method-name">execute</span><span class="method-args">(sql, transaction) {|row| ...}</span>
|
221
|
-
</a>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
<div class="method-description">
|
225
|
-
<p>
|
226
|
-
This function executes a SQL statement against a connection. If the
|
227
|
-
statement represented a SQL query then a result set is returned. If the
|
228
|
-
statement wasn’t a query then nil is returned. The method also
|
229
|
-
accepts a block that takes a single parameter. This block will be executed
|
230
|
-
once for each row in any result set generated.
|
231
|
-
</p>
|
232
|
-
<h4>Parameters</h4>
|
233
|
-
<table>
|
234
|
-
<tr><td valign="top">sql:</td><td>The SQL statement to be executed.
|
235
|
-
|
236
|
-
</td></tr>
|
237
|
-
<tr><td valign="top">transaction:</td><td>The transaction to execute the SQL statement within.
|
238
|
-
|
239
|
-
</td></tr>
|
240
|
-
</table>
|
241
|
-
<h4>Exceptions</h4>
|
242
|
-
<table>
|
243
|
-
<tr><td valign="top">Exception:</td><td>Generated if an error occurs executing the SQL statement.
|
244
|
-
|
245
|
-
</td></tr>
|
246
|
-
</table>
|
247
|
-
</div>
|
248
|
-
</div>
|
249
|
-
|
250
|
-
<div id="method-M000054" class="method-detail">
|
251
|
-
<a name="M000054"></a>
|
252
|
-
|
253
|
-
<div class="method-heading">
|
254
|
-
<a href="Connection.src/M000054.html" target="Code" class="method-signature"
|
255
|
-
onclick="popupCode('Connection.src/M000054.html');return false;">
|
256
|
-
<span class="method-name">execute_immediate</span><span class="method-args">(sql) {|row| ...}</span>
|
257
|
-
</a>
|
258
|
-
</div>
|
259
|
-
|
260
|
-
<div class="method-description">
|
261
|
-
<p>
|
262
|
-
This function executes a SQL statement against a connection. This differs
|
263
|
-
from the execute method in that an anonymous transaction is used in
|
264
|
-
executing the statement. The output from this method is the same as for the
|
265
|
-
execute method. The method also accepts a block that takes a single
|
266
|
-
parameter. This block will be executed once for each row in any result set
|
267
|
-
generated.
|
268
|
-
</p>
|
269
|
-
<h4>Parameters</h4>
|
270
|
-
<table>
|
271
|
-
<tr><td valign="top">sql:</td><td>The SQL statement to be executed.
|
272
|
-
|
273
|
-
</td></tr>
|
274
|
-
</table>
|
275
|
-
<h4>Exceptions</h4>
|
276
|
-
<table>
|
277
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs executing the SQL statement.
|
278
|
-
|
279
|
-
</td></tr>
|
280
|
-
</table>
|
281
|
-
</div>
|
282
|
-
</div>
|
283
|
-
|
284
|
-
<div id="method-M000047" class="method-detail">
|
285
|
-
<a name="M000047"></a>
|
286
|
-
|
287
|
-
<div class="method-heading">
|
288
|
-
<a href="Connection.src/M000047.html" target="Code" class="method-signature"
|
289
|
-
onclick="popupCode('Connection.src/M000047.html');return false;">
|
290
|
-
<span class="method-name">open?</span><span class="method-args">()</span>
|
291
|
-
</a>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
<div class="method-description">
|
295
|
-
<p>
|
296
|
-
This method is used to determine whether a <a
|
297
|
-
href="Connection.html">Connection</a> object represents an active database
|
298
|
-
connection.
|
299
|
-
</p>
|
300
|
-
</div>
|
301
|
-
</div>
|
302
|
-
|
303
|
-
<div id="method-M000052" class="method-detail">
|
304
|
-
<a name="M000052"></a>
|
305
|
-
|
306
|
-
<div class="method-heading">
|
307
|
-
<a href="Connection.src/M000052.html" target="Code" class="method-signature"
|
308
|
-
onclick="popupCode('Connection.src/M000052.html');return false;">
|
309
|
-
<span class="method-name">start_transaction</span><span class="method-args">() {|transaction| ...}</span>
|
310
|
-
</a>
|
311
|
-
</div>
|
312
|
-
|
313
|
-
<div class="method-description">
|
314
|
-
<p>
|
315
|
-
This method starts a new transaction against a connection. A successful
|
316
|
-
call to this method returns a <a href="Transaction.html">Transaction</a>
|
317
|
-
object. The transaction that is started relates to the <a
|
318
|
-
href="Connection.html">Connection</a> it was called upon only. To start a
|
319
|
-
transaction that covers multiple connections use the <a
|
320
|
-
href="Transaction.html">Transaction</a> class. This method accepts a block,
|
321
|
-
taking a single parameter which will be the transaction created. This
|
322
|
-
transaction is committed if the block completes normally or rolls back if
|
323
|
-
an exception is thrown from the block.
|
324
|
-
</p>
|
325
|
-
<h4>Exceptions</h4>
|
326
|
-
<table>
|
327
|
-
<tr><td valign="top">Exception:</td><td>Thrown whenever a problem occurs starting the transaction.
|
328
|
-
|
329
|
-
</td></tr>
|
330
|
-
</table>
|
331
|
-
</div>
|
332
|
-
</div>
|
333
|
-
|
334
|
-
<div id="method-M000051" class="method-detail">
|
335
|
-
<a name="M000051"></a>
|
336
|
-
|
337
|
-
<div class="method-heading">
|
338
|
-
<a href="Connection.src/M000051.html" target="Code" class="method-signature"
|
339
|
-
onclick="popupCode('Connection.src/M000051.html');return false;">
|
340
|
-
<span class="method-name">to_s</span><span class="method-args">()</span>
|
341
|
-
</a>
|
342
|
-
</div>
|
343
|
-
|
344
|
-
<div class="method-description">
|
345
|
-
<p>
|
346
|
-
This method generates a simple descriptive string for a <a
|
347
|
-
href="Connection.html">Connection</a> object.
|
348
|
-
</p>
|
349
|
-
</div>
|
350
|
-
</div>
|
351
|
-
|
352
|
-
|
353
|
-
</div>
|
354
|
-
|
355
|
-
|
356
|
-
</div>
|
357
|
-
|
358
|
-
|
359
|
-
<div id="validator-badges">
|
360
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
361
|
-
</div>
|
362
|
-
|
363
|
-
</body>
|
364
|
-
</html>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/M000046.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
2
|
-
/M000047.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
3
|
-
/M000048.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
4
|
-
/M000049.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
5
|
-
/M000050.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
6
|
-
/M000051.html/1.1.1.1/Tue Mar 15 10:36:21 2005//
|
7
|
-
/M000052.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
8
|
-
/M000053.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
9
|
-
/M000054.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
10
|
-
D
|
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/Connection.src
|
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (FireRuby::Connection)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 157</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">database</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>open? (FireRuby::Connection)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 165</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">open?</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|