ibruby 0.5.0-i586-linux → 0.5.1-i586-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/README +11 -4
- data/lib/ib_lib.so +0 -0
- data/lib/src.rb +21 -22
- metadata +2 -2
data/doc/README
CHANGED
@@ -1,10 +1,17 @@
|
|
1
|
-
=
|
2
|
-
|
3
|
-
to the
|
4
|
-
Mozilla Public Licence version 1.1 and is free for commercial use.
|
1
|
+
= IBRuby Version 0.5
|
2
|
+
IBRuby is an extension for the Ruby programming language that provides access
|
3
|
+
to the InterBase RDBMS from CodeGear (formally Borland). The IBRuby library is released under the Mozilla Public Licence version 1.1 and is free for commercial use.
|
5
4
|
|
6
5
|
---
|
7
6
|
|
7
|
+
-- IBRuby 0.5.1 notes - Dec 2006
|
8
|
+
|
9
|
+
Thanks to the work of Peter Wood, providing support for InterBase was relatively straight forward. This release adds direct support for InterBase and is compiled against InterBase 2007 (aka IB 8). It includes direct support for Boolean data types and SQL Roles.
|
10
|
+
|
11
|
+
I migrated to 0.5.1 because of changes I needed to make to the source code to make it link under Visual C++ 6.0 (weird, weird problems) and updating of the src.rb file to remove Firebird-isms.
|
12
|
+
|
13
|
+
--- FireRuby 0.4.x notes
|
14
|
+
|
8
15
|
== Enhancements & Alterations
|
9
16
|
|
10
17
|
This release has been brought about as a direct result of efforts to get the
|
data/lib/ib_lib.so
CHANGED
Binary file
|
data/lib/src.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#
|
2
2
|
# This file is a stand-in that allows for the generation of rdoc documentation
|
3
|
-
# for the
|
3
|
+
# for the IBRuby extension for the Ruby programming language. The extension
|
4
4
|
# is coded in C and documented with Doxygen comments, so this file is used to
|
5
5
|
# generate the native Ruby documentation instead.
|
6
6
|
#
|
7
7
|
|
8
8
|
#
|
9
9
|
# This module contains all of the classes and definitions relating to the
|
10
|
-
#
|
10
|
+
# IBRuby extension for the Ruby language.
|
11
11
|
#
|
12
12
|
module IBRuby
|
13
13
|
#
|
@@ -46,7 +46,7 @@ module IBRuby
|
|
46
46
|
|
47
47
|
|
48
48
|
#
|
49
|
-
# This function generates a simple description string for a
|
49
|
+
# This function generates a simple description string for a IBRubyError
|
50
50
|
# object.
|
51
51
|
#
|
52
52
|
def to_s
|
@@ -115,7 +115,7 @@ module IBRuby
|
|
115
115
|
# password:: The password to be used in dropping the database.
|
116
116
|
#
|
117
117
|
# ==== Exceptions
|
118
|
-
#
|
118
|
+
# IBRubyError:: Thrown whenever a problem occurs dropping the database
|
119
119
|
# instance.
|
120
120
|
#
|
121
121
|
def drop(user, password)
|
@@ -173,7 +173,7 @@ module IBRuby
|
|
173
173
|
|
174
174
|
|
175
175
|
#
|
176
|
-
# This class represents a connection with a
|
176
|
+
# This class represents a connection with a InterBase database.
|
177
177
|
#
|
178
178
|
class Connection
|
179
179
|
# A definition for a connection option. This option should be given a
|
@@ -497,7 +497,7 @@ module IBRuby
|
|
497
497
|
# constants defined within the class.
|
498
498
|
#
|
499
499
|
# ==== Exceptions
|
500
|
-
#
|
500
|
+
# IBRubyError:: Generated whenever a problem occurs creating the
|
501
501
|
# transaction.
|
502
502
|
#
|
503
503
|
def Transaction.create(connections, parameters)
|
@@ -561,7 +561,7 @@ module IBRuby
|
|
561
561
|
# transaction:: The Transaction object that the SQL statement will be
|
562
562
|
# executed under.
|
563
563
|
# sql:: The SQL statement to be prepared for execution.
|
564
|
-
# dialect:: The
|
564
|
+
# dialect:: The InterBase dialect to be used in preparing the SQL
|
565
565
|
# statement.
|
566
566
|
#
|
567
567
|
def initialize(connection, transaction, sql, dialect)
|
@@ -666,7 +666,7 @@ module IBRuby
|
|
666
666
|
# no further use.
|
667
667
|
#
|
668
668
|
# ==== Exceptions
|
669
|
-
#
|
669
|
+
# IBRubyError:: Generated whenever a problem occurs closing the
|
670
670
|
# statement object.
|
671
671
|
#
|
672
672
|
def close
|
@@ -694,7 +694,7 @@ module IBRuby
|
|
694
694
|
# in executing the SQL query.
|
695
695
|
# sql:: A reference to a String containing the SQL query that
|
696
696
|
# will be executed.
|
697
|
-
# dialect:: A reference to an integer containing the
|
697
|
+
# dialect:: A reference to an integer containing the InterBase dialect
|
698
698
|
# to be used in executing the SQL statement.
|
699
699
|
#
|
700
700
|
# ==== Exceptions
|
@@ -830,7 +830,7 @@ module IBRuby
|
|
830
830
|
# will not cause an error.
|
831
831
|
#
|
832
832
|
# ==== Exceptions
|
833
|
-
#
|
833
|
+
# IBRubyError:: Generated whenever a problem occurs closing the result
|
834
834
|
# set object.
|
835
835
|
#
|
836
836
|
def close
|
@@ -1091,7 +1091,7 @@ module IBRuby
|
|
1091
1091
|
class Blob
|
1092
1092
|
#
|
1093
1093
|
# This is the constructor for the Blob class. This shouldn't really be
|
1094
|
-
# used outside of the
|
1094
|
+
# used outside of the IBRuby library.
|
1095
1095
|
#
|
1096
1096
|
def initialize
|
1097
1097
|
end
|
@@ -1122,7 +1122,7 @@ module IBRuby
|
|
1122
1122
|
|
1123
1123
|
|
1124
1124
|
#
|
1125
|
-
# This class represents a
|
1125
|
+
# This class represents a InterBase generator entity.
|
1126
1126
|
#
|
1127
1127
|
class Generator
|
1128
1128
|
#
|
@@ -1229,9 +1229,8 @@ module IBRuby
|
|
1229
1229
|
|
1230
1230
|
|
1231
1231
|
#
|
1232
|
-
# This class represents a connection to the service manager for a
|
1233
|
-
# database server instance.
|
1234
|
-
# Mac OS X platform.
|
1232
|
+
# This class represents a connection to the service manager for a InterBase
|
1233
|
+
# database server instance.
|
1235
1234
|
#
|
1236
1235
|
class ServiceManager
|
1237
1236
|
#
|
@@ -1280,7 +1279,7 @@ module IBRuby
|
|
1280
1279
|
# tasks:: One or more task objects to be executed by the service manager.
|
1281
1280
|
#
|
1282
1281
|
# ==== Exceptions
|
1283
|
-
#
|
1282
|
+
# IBRubyException:: Generated whenever this method is called on a
|
1284
1283
|
# disconnected service manager or is a problem
|
1285
1284
|
# occurs executing one of the tasks.
|
1286
1285
|
#
|
@@ -1329,7 +1328,7 @@ module IBRuby
|
|
1329
1328
|
# on.
|
1330
1329
|
#
|
1331
1330
|
# ==== Exceptions
|
1332
|
-
#
|
1331
|
+
# IBRubyException:: Generated whenever a disconnected service manager
|
1333
1332
|
# is specified or an error occurs executing the
|
1334
1333
|
# task.
|
1335
1334
|
#
|
@@ -1369,7 +1368,7 @@ module IBRuby
|
|
1369
1368
|
# on.
|
1370
1369
|
#
|
1371
1370
|
# ==== Exceptions
|
1372
|
-
#
|
1371
|
+
# IBRubyException:: Generated whenever a disconnected service manager
|
1373
1372
|
# is specified or an error occurs executing the
|
1374
1373
|
# task.
|
1375
1374
|
#
|
@@ -1380,7 +1379,7 @@ module IBRuby
|
|
1380
1379
|
|
1381
1380
|
#
|
1382
1381
|
# This class represents a service manager task to backup an existing database
|
1383
|
-
# on the
|
1382
|
+
# on the InterBase server. NOTE: This class does not currently work on the
|
1384
1383
|
# Mac OS X platform.
|
1385
1384
|
#
|
1386
1385
|
class Backup
|
@@ -1540,7 +1539,7 @@ module IBRuby
|
|
1540
1539
|
# task against.
|
1541
1540
|
#
|
1542
1541
|
# ==== Exceptions
|
1543
|
-
#
|
1542
|
+
# IBRubyException:: Generated whenever a disconnected service manager
|
1544
1543
|
# is specified or a problem occurs executing the
|
1545
1544
|
# task.
|
1546
1545
|
#
|
@@ -1561,7 +1560,7 @@ module IBRuby
|
|
1561
1560
|
|
1562
1561
|
#
|
1563
1562
|
# This class represents a service manager task to restore a previously
|
1564
|
-
# created database backup on the
|
1563
|
+
# created database backup on the InterBase server. NOTE: This class does not
|
1565
1564
|
# currently work on the Mac OS X platform.
|
1566
1565
|
#
|
1567
1566
|
class Restore
|
@@ -1775,7 +1774,7 @@ module IBRuby
|
|
1775
1774
|
# task against.
|
1776
1775
|
#
|
1777
1776
|
# ==== Exceptions
|
1778
|
-
#
|
1777
|
+
# IBRubyException:: Generated whenever a disconnected service manager
|
1779
1778
|
# is specified or a problem occurs executing the
|
1780
1779
|
# task.
|
1781
1780
|
#
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ibruby
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
7
|
-
date: 2006-12-
|
6
|
+
version: 0.5.1
|
7
|
+
date: 2006-12-05 00:00:00 +13:00
|
8
8
|
summary: Ruby interface library for the InterBase database.
|
9
9
|
require_paths:
|
10
10
|
- lib
|