fireruby 0.4.0-i586-linux → 0.4.1-i586-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/doc/CVS/Entries +2 -3
  2. data/doc/CVS/Entries.Log +2 -0
  3. data/doc/CVS/Repository +0 -0
  4. data/doc/CVS/Root +0 -0
  5. data/doc/README +112 -69
  6. data/doc/classes/CVS/Entries +1 -1
  7. data/doc/classes/CVS/Entries.Log +1 -0
  8. data/doc/classes/CVS/Repository +0 -0
  9. data/doc/classes/CVS/Root +0 -0
  10. data/doc/classes/FireRuby/CVS/Entries +1 -7
  11. data/doc/classes/FireRuby/CVS/Entries.Log +7 -0
  12. data/doc/classes/FireRuby/CVS/Repository +0 -0
  13. data/doc/classes/FireRuby/CVS/Root +0 -0
  14. data/doc/classes/FireRuby/Connection.src/CVS/Entries +0 -0
  15. data/doc/classes/FireRuby/Connection.src/CVS/Repository +0 -0
  16. data/doc/classes/FireRuby/Connection.src/CVS/Root +0 -0
  17. data/doc/classes/FireRuby/Database.src/CVS/Entries +0 -0
  18. data/doc/classes/FireRuby/Database.src/CVS/Repository +0 -0
  19. data/doc/classes/FireRuby/Database.src/CVS/Root +0 -0
  20. data/doc/classes/FireRuby/FireRubyError.src/CVS/Entries +0 -0
  21. data/doc/classes/FireRuby/FireRubyError.src/CVS/Repository +0 -0
  22. data/doc/classes/FireRuby/FireRubyError.src/CVS/Root +0 -0
  23. data/doc/classes/FireRuby/Generator.src/CVS/Entries +0 -0
  24. data/doc/classes/FireRuby/Generator.src/CVS/Repository +0 -0
  25. data/doc/classes/FireRuby/Generator.src/CVS/Root +0 -0
  26. data/doc/classes/FireRuby/ResultSet.src/CVS/Entries +0 -0
  27. data/doc/classes/FireRuby/ResultSet.src/CVS/Repository +0 -0
  28. data/doc/classes/FireRuby/ResultSet.src/CVS/Root +0 -0
  29. data/doc/classes/FireRuby/Statement.src/CVS/Entries +0 -0
  30. data/doc/classes/FireRuby/Statement.src/CVS/Repository +0 -0
  31. data/doc/classes/FireRuby/Statement.src/CVS/Root +0 -0
  32. data/doc/classes/FireRuby/Transaction.src/CVS/Entries +0 -0
  33. data/doc/classes/FireRuby/Transaction.src/CVS/Repository +0 -0
  34. data/doc/classes/FireRuby/Transaction.src/CVS/Root +0 -0
  35. data/doc/files/CVS/Entries +0 -0
  36. data/doc/files/CVS/Repository +0 -0
  37. data/doc/files/CVS/Root +0 -0
  38. data/doc/license.txt +0 -0
  39. data/examples/CVS/Entries +0 -0
  40. data/examples/CVS/Repository +0 -0
  41. data/examples/CVS/Root +0 -0
  42. data/examples/example01.rb +0 -0
  43. data/lib/CVS/Entries +4 -4
  44. data/lib/CVS/Repository +0 -0
  45. data/lib/CVS/Root +0 -0
  46. data/lib/SQLType.rb +0 -0
  47. data/lib/fireruby.rb +0 -0
  48. data/lib/fr_lib.so +0 -0
  49. data/lib/mkdoc +0 -0
  50. data/lib/src.rb +0 -0
  51. data/test/AddRemoveUserTest.rb +0 -0
  52. data/test/BackupRestoreTest.rb +0 -0
  53. data/test/CVS/Entries +19 -19
  54. data/test/CVS/Repository +0 -0
  55. data/test/CVS/Root +0 -0
  56. data/test/CharacterSetTest.rb +0 -0
  57. data/test/ConnectionTest.rb +0 -0
  58. data/test/DDLTest.rb +0 -0
  59. data/test/DatabaseTest.rb +0 -0
  60. data/test/GeneratorTest.rb +0 -0
  61. data/test/KeyTest.rb +0 -0
  62. data/test/ResultSetTest.rb +0 -0
  63. data/test/RowCountTest.rb +0 -0
  64. data/test/RowTest.rb +0 -0
  65. data/test/SQLTest.rb +0 -0
  66. data/test/SQLTypeTest.rb +0 -0
  67. data/test/ServiceManagerTest.rb +0 -0
  68. data/test/StatementTest.rb +0 -0
  69. data/test/TestSetup.rb +0 -0
  70. data/test/TransactionTest.rb +0 -0
  71. data/test/TypeTest.rb +0 -0
  72. data/test/UnitTest.rb +0 -0
  73. metadata +7 -5
  74. data/test/UnitTest.rb~ +0 -64
data/doc/CVS/Entries CHANGED
@@ -1,4 +1,3 @@
1
+ /README/1.8/Fri Nov 11 21:07:43 2005//
1
2
  /license.txt/1.1/Tue Mar 15 13:40:26 2005//
2
- D/classes////
3
- D/files////
4
- /README/1.8/Thu Nov 10 13:20:44 2005//
3
+ D
@@ -0,0 +1,2 @@
1
+ A D/classes////
2
+ A D/files////
data/doc/CVS/Repository CHANGED
File without changes
data/doc/CVS/Root CHANGED
File without changes
data/doc/README CHANGED
@@ -1,67 +1,44 @@
1
- == FireRuby Version 0.4.0
2
- Its been a while but I'm glad to release version 0.4.0 of the FireRuby library.
1
+ = FireRuby Version 0.4.1
3
2
  FireRuby is an extension for the Ruby programming language that provides access
4
- to the Firebird open source RDBMS. There aren't a great deal of changes for this
5
- release but some of the alterations may have an impact on existing code, so
6
- please read the enhancements and alterations section to see what has been done.
3
+ to the Firebird open source RDBMS. The FireRuby library is release under the
4
+ Mozilla Public Licence version 1.1 and is free for commercial use.
7
5
 
8
- == Enhancements & Alterations
6
+ ---
9
7
 
10
- This release contains some changes that are part of a suite of suggestion put
11
- forward by Ken Kunz to enhancement support for the Firebird ActiveRecord
12
- adapter he developed. The first of these changes involved switching the keying
13
- of Row objects away from using the column name to using the column alias. This
14
- is a logical change as the alias is more likely to be unique. I realise that
15
- change has the potential to break existing code so I've included a work around
16
- that can be used to have the library behave as it used to. To use keying on
17
- columns insert the following line into your code after you've loaded the
18
- FireRuby library and before you've done any database work...
19
-
20
- $FireRubySettings[:ALIAS_KEYS] = false
21
-
22
- This will cause the library to use column names as keys on rows. A second change
23
- I've made that could impact existing code is for the retrieval of data from
24
- columns of SQL type DATE. These were being returned as a Time object but are now
25
- being returned as a Date object, again a fairly logical change. If this causes
26
- problems for your code then you can add the following line to get the library to
27
- return Times by adding the following line...
28
-
29
- $FireRubySettings[:DATE_AS_DATE] = false
30
-
31
- The final change I've made for this release from Ken's wish list is that I have
32
- incorporated Enumerable into the Row and ResultSet classes. Your code may
33
- already do this and, unfortunately, I'm not providing any sort of work around
34
- other than you remove this from your own code.
8
+ == Enhancements & Alterations
35
9
 
36
- I've also added functionality to the library to aid in determining type
37
- information in relation to database tables and query results. As far as I can
38
- determine the Firebird data structures used to return data from the database
39
- provide no means of determining exact type specifics (please correct me if I'm
40
- wrong). This means that for queries all I can return are details of the
41
- underlying type but not the specifics (so I can tell you that a result column is
42
- NUMERIC but I can't give you the precision and scale for example).
10
+ This release has been brought about as a direct result of efforts to get the
11
+ library working on a 64 bit platform. This process exposed some code of
12
+ questionable quality. All of the issues raised in getting a 64 bit build have
13
+ been addressed and it's only fair that the improvements obtained be passed on
14
+ to all platforms. Functionally nothing has changed since the last release and
15
+ the new version should replace the old with no problems.
43
16
 
44
- I have provided a new class called SQLType. This defines constants for the basic
45
- types supported by FireRuby. It also allows for querying of table types. In this
46
- case, as I'm referring to the actual database, I can provide more specific
47
- details (so I can tell you that a column is NUMERIC, has a precision of 5 and a
48
- scale or 2 for example). See the API documentation for this class for more
49
- information.
17
+ === Bug Fixes
50
18
 
51
- Finally I have added some new unit tests and updated existing ones to cover the
52
- changes I have made.
19
+ A number of bug fixes were implemented as part of the effort to get the library
20
+ working on a 64 bit platform. None of these had been raised as bugs against the
21
+ library so I have nothing specific to tick off.
53
22
 
54
- == Bug Fixes
23
+ === Backward Compatibility
55
24
 
56
- I've made a few cosmetic and minor bug fixes that were unlikely to have had an
57
- impact on anyone (but its nice that they're fixed anyway).
25
+ Version 0.4.0 of the library made fundamental changes to functionality that was
26
+ available in earlier versions of the library. To help accommodate this change
27
+ elements were added to support backward compatibility. The relevant details are
28
+ listed here...
58
29
 
59
- I received some feedback with regards to FireRuby not working with Firebird
60
- database aliases but, as this has been successfully tested via the use of the
61
- Rails adapter based on FireRuby, I have to assume that this was a user set up
62
- problem.
30
+ - Row objects were switched from keying on column names to keying on column
31
+ aliases. To revert to the older functionality assign a value of true to the
32
+ $FireRubySettings[:ALIAS_KEYS] global setting.
33
+
34
+ - DATE columns were switched from being returned as Time objects to be returned
35
+ as Date objects. To revert to the older functionality assign a value of true
36
+ to the $FireRubySettings[:DATE_AS_DATE] global setting.
37
+
38
+ One other point to note is that, as of version 0.4.0, Enumerable is included in
39
+ the Row and ResultSet classes.
63
40
 
64
- == Issues
41
+ === Issues
65
42
 
66
43
  Nothing is perfect so this section outlines those issues that are known to
67
44
  exist as of this release.
@@ -89,6 +66,29 @@ exist as of this release.
89
66
  note that you may need to alter permissions on the test directory to run the
90
67
  actual unit tests on Linux/Unix.
91
68
 
69
+ ---
70
+
71
+ == Credit Where Credit Is Due
72
+
73
+ Over its lifetime the FireRuby library has benefitted from input provided by a
74
+ number of individuals. This section acknowledges these inputs...
75
+
76
+ <b>Ken Kunz</b>: Ken has been a strong supporter of the library from early on and
77
+ has contributed through feedback, testing and suggestions. For some time he
78
+ produced and tested the Linux builds of the library.
79
+
80
+ <b>David Walthour</b>: David basically executed all of the work to generate the
81
+ 64 bit version of the library, along the way exposing some flaws in the code
82
+ (amazing what a bit of peer review can find!). David produced the 64 bit version
83
+ of the library gem.
84
+
85
+ <b>John Wood</b>: John currently builds and tests the Mac OS X version of the
86
+ library.
87
+
88
+ <b>Art Federov</b>: Art provided input on handling and testing character sets.
89
+
90
+ ---
91
+
92
92
  == Installation & Usage
93
93
 
94
94
  The library is provided as a gem and built for use with Ruby 1.8+. Testing
@@ -97,13 +97,13 @@ the Ruby Gems package to be installed. Assuming that these installation criteria
97
97
  have been met the library can be installed on Windows by executing a command
98
98
  such as the following...
99
99
 
100
- gem install fireruby-0.4.0-mswin32.gem
100
+ gem install fireruby-0.4.1-mswin32.gem
101
101
 
102
102
  On the Mac OS X platform you may require super user privilege if your Ruby is
103
103
  installed to the default location (i.e. /usr/local/lib). In this case you can
104
104
  use the sudo command to make the installation like this...
105
105
 
106
- sudo gem install fireruby-0.4.0-powerpc-darwin.gem
106
+ sudo gem install fireruby-0.4.1-powerpc-darwin.gem
107
107
 
108
108
  Once the gem installation is complete the FireRuby functionality can be accessed
109
109
  in code with the usual gem style requires...
@@ -111,20 +111,63 @@ in code with the usual gem style requires...
111
111
  require 'rubygems'
112
112
  require 'fireruby'
113
113
 
114
- == Build Details
114
+ === Build Details
115
+
116
+ The FireRuby library is a Ruby extension written in C. The avoid build issues
117
+ binary versions are provided for a number of platforms, including...
118
+
119
+ - Windows: Built against a version of Ruby installed using the one-click
120
+ installer and using the freely available Microsoft development tools. This
121
+ version was compiled against version 1.5.2 of Firebird.
122
+
123
+ - Linux: Built on Ubuntu Linux (Breezy Badger) using a version of Ruby 1.8.2
124
+ installed via the Synaptic package manager. This package manager was also
125
+ used to make an installation of Firebird.
126
+
127
+ - Mac OS X: Build on version 10.4.3 of OS X against the 1.8.2 version of Ruby
128
+ that comes with the operating system. A framework installation of Firebird
129
+ version 1.5.1 was used to make the build.
130
+
131
+ Its possible to try and build the library on other platforms so I'll provide a
132
+ few details as to how to go about doing this. The first step is to download the
133
+ CVS tar ball from the Ruby Forge site and expand it into a local directory. This
134
+ will create a directory called fireruby. Change into this directory and then
135
+ into the fireruby/src subdirectory.
136
+
137
+ This directory contains a file called extconf.rb that is used to create the
138
+ make file used to build the library. The make file is created by executing this
139
+ file but before you do there are a number of parameters that you should be
140
+ aware of. The main one of these is --with-firebird-dir. This parameter is used
141
+ to indicate the whereabouts of the Firebird headers and libraries. The following
142
+ is an example of how this might be used...
143
+
144
+ ruby extconf.rb --with-firebird-dir=/usr/local/firebird
145
+
146
+ You may need to customise the path for your own Firebird installation. The path
147
+ specified should be a directory that contains subdirectories called 'lib' and
148
+ 'include'. The lib subdirectory should contain the fbclient shared library and
149
+ include should contain the ibase.h header file.
150
+
151
+ A note for Windows users. The library requires the free Microsoft C++ compiler,
152
+ the Windows SDK, the .NET SDK and nmake to build. If you have all of these
153
+ and Firebird installed to default locations then you can create a make file
154
+ using the mkmf.bat batch file in the src directory.
155
+
156
+ Once you have the make file you can attempt a library build using either make
157
+ (on Unix/Linux) or nmake (on Windows). If it builds successfully you can move
158
+ on to creating a gem file for installation. To do this, change into the ../gem
159
+ directory. In this directory you can do the following (on Windows)...
160
+
161
+ make_gem
162
+
163
+ ...or the following (on Unix/Linux)...
115
164
 
116
- The FireRuby library is an extension of the Ruby language written in C. The Mac
117
- OS X version was built by my brother John (thanks!) using Mac OS X 10.4.3
118
- against Firebird installed as a framework, version 1.5.1, and with Ruby version
119
- 1.8.2. For the Windows platform the library is built on Windows XP and against
120
- a Ruby installation created using the one-click installer, version 1.8.2. The
121
- Windows build was created using the freely available Microsoft compilers and
122
- SDKs and built against a standard installation of Firebird, version 1.5.2. On
123
- Linux the library is built using an Ubuntu system (Breezy Badger release) using
124
- Firebird installed through the Synaptic package manager and version 1.8.2 of
125
- Ruby installed using the same tool.
165
+ ruby make_gem.rb
166
+
167
+ This will create the gem file in the main fireruby directory. Install this and
168
+ execute the unit tests to check whether you're version is working.
126
169
 
127
- == So How Do I Use It?
170
+ === So How Do I Use It?
128
171
 
129
172
  This section will provide some examples of usage for the the FireRuby classes.
130
173
  Throughout the code the following set of assumptions are made.
@@ -374,7 +417,7 @@ database administrator you might do the following...
374
417
 
375
418
  Assuming that this succeeds you are now ready to execute tasks through your
376
419
  ServiceManager object. Within the FireRuby library individual task are broken
377
- out into separate classes. For this release (0.4.0) there are four task classes
420
+ out into separate classes. For this release (0.4.1) there are four task classes
378
421
  provided in the library - Backup, Restore, AddUser and RemoveUser. I think the
379
422
  class names are relatively self explanatory but if you want more information
380
423
  consult the API documentation for a class.
@@ -1 +1 @@
1
- D/FireRuby////
1
+ D
@@ -0,0 +1 @@
1
+ A D/FireRuby////
File without changes
data/doc/classes/CVS/Root CHANGED
File without changes
@@ -1,7 +1 @@
1
- D/Connection.src////
2
- D/Database.src////
3
- D/FireRubyError.src////
4
- D/Generator.src////
5
- D/ResultSet.src////
6
- D/Statement.src////
7
- D/Transaction.src////
1
+ D
@@ -0,0 +1,7 @@
1
+ A D/Connection.src////
2
+ A D/Database.src////
3
+ A D/FireRubyError.src////
4
+ A D/Generator.src////
5
+ A D/ResultSet.src////
6
+ A D/Statement.src////
7
+ A D/Transaction.src////
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/doc/files/CVS/Root CHANGED
File without changes
data/doc/license.txt CHANGED
File without changes
data/examples/CVS/Entries CHANGED
File without changes
File without changes
data/examples/CVS/Root CHANGED
File without changes
File without changes
data/lib/CVS/Entries CHANGED
@@ -1,6 +1,6 @@
1
+ /SQLType.rb/1.1/Sat Oct 29 17:37:42 2005//
2
+ /fireruby.bundle/1.3/Fri Jun 10 12:20:22 2005//
3
+ /fireruby.rb/1.1/Sat Oct 29 17:37:42 2005//
1
4
  /mkdoc/1.2/Mon Mar 21 08:53:22 2005//
2
- /SQLType.rb/1.1/Thu Oct 27 19:16:36 2005//
3
- /fireruby.rb/1.1/Tue Oct 25 19:45:08 2005//
4
- /fireruby.bundle/1.3/Fri Nov 11 21:18:30 2005//
5
- /src.rb/1.6/Sat Oct 29 17:06:06 2005//
5
+ /src.rb/1.6/Sat Oct 29 17:31:38 2005//
6
6
  D
data/lib/CVS/Repository CHANGED
File without changes
data/lib/CVS/Root CHANGED
File without changes
data/lib/SQLType.rb CHANGED
File without changes
data/lib/fireruby.rb CHANGED
File without changes
data/lib/fr_lib.so CHANGED
Binary file
data/lib/mkdoc CHANGED
File without changes
data/lib/src.rb CHANGED
File without changes
File without changes
File without changes
data/test/CVS/Entries CHANGED
@@ -1,20 +1,20 @@
1
- /AddRemoveUserTest.rb/1.2/Sat Oct 22 09:32:00 2005//
2
- /BackupRestoreTest.rb/1.2/Sat Oct 22 08:23:48 2005//
3
- /CharacterSetTest.rb/1.2/Sat Oct 22 08:07:40 2005//
4
- /ConnectionTest.rb/1.6/Sat Oct 22 08:09:00 2005//
5
- /DDLTest.rb/1.6/Sat Oct 22 08:09:42 2005//
6
- /DatabaseTest.rb/1.4/Sat Oct 22 08:21:18 2005//
7
- /GeneratorTest.rb/1.4/Sat Oct 22 08:21:10 2005//
8
- /RowCountTest.rb/1.3/Sat Oct 22 08:20:44 2005//
9
- /SQLTest.rb/1.5/Sat Oct 22 08:27:06 2005//
10
- /ServiceManagerTest.rb/1.2/Sat Oct 22 08:23:22 2005//
11
- /StatementTest.rb/1.5/Sat Oct 22 08:22:58 2005//
12
- /TestSetup.rb/1.2/Sat Oct 22 08:16:26 2005//
13
- /TransactionTest.rb/1.6/Sat Oct 22 08:22:38 2005//
14
- /KeyTest.rb/1.1/Sat Oct 22 09:26:20 2005//
15
- /SQLTypeTest.rb/1.1/Thu Oct 27 19:22:34 2005//
16
- /ResultSetTest.rb/1.4/Sat Oct 29 17:00:14 2005//
17
- /RowTest.rb/1.3/Sat Oct 29 14:49:14 2005//
18
- /TypeTest.rb/1.1/Sat Oct 29 16:58:34 2005//
19
- /UnitTest.rb/1.10/Fri Nov 11 21:42:29 2005//
1
+ /AddRemoveUserTest.rb/1.2/Sat Oct 29 17:31:38 2005//
2
+ /BackupRestoreTest.rb/1.2/Sat Oct 29 17:31:39 2005//
3
+ /CharacterSetTest.rb/1.2/Sat Oct 29 17:31:39 2005//
4
+ /ConnectionTest.rb/1.6/Sat Oct 29 17:31:39 2005//
5
+ /DDLTest.rb/1.6/Sat Oct 29 17:31:39 2005//
6
+ /DatabaseTest.rb/1.4/Sat Oct 29 17:31:39 2005//
7
+ /GeneratorTest.rb/1.4/Sat Oct 29 17:31:39 2005//
8
+ /KeyTest.rb/1.1/Sat Oct 29 17:37:43 2005//
9
+ /ResultSetTest.rb/1.4/Sat Oct 29 17:31:39 2005//
10
+ /RowCountTest.rb/1.3/Sat Oct 29 17:31:39 2005//
11
+ /RowTest.rb/1.3/Sat Oct 29 17:31:39 2005//
12
+ /SQLTest.rb/1.5/Sat Oct 29 17:31:39 2005//
13
+ /SQLTypeTest.rb/1.1/Sat Oct 29 17:37:43 2005//
14
+ /ServiceManagerTest.rb/1.2/Sat Oct 29 17:31:39 2005//
15
+ /StatementTest.rb/1.5/Sat Oct 29 17:31:39 2005//
16
+ /TestSetup.rb/1.2/Sat Oct 29 17:31:39 2005//
17
+ /TransactionTest.rb/1.6/Sat Oct 29 17:31:39 2005//
18
+ /TypeTest.rb/1.1/Sat Oct 29 17:37:43 2005//
19
+ /UnitTest.rb/1.10/Fri Nov 11 21:34:10 2005//
20
20
  D
data/test/CVS/Repository CHANGED
File without changes
data/test/CVS/Root CHANGED
File without changes
File without changes
File without changes
data/test/DDLTest.rb CHANGED
File without changes
data/test/DatabaseTest.rb CHANGED
File without changes
File without changes
data/test/KeyTest.rb CHANGED
File without changes
File without changes
data/test/RowCountTest.rb CHANGED
File without changes
data/test/RowTest.rb CHANGED
File without changes
data/test/SQLTest.rb CHANGED
File without changes
data/test/SQLTypeTest.rb CHANGED
File without changes
File without changes
File without changes
data/test/TestSetup.rb CHANGED
File without changes
File without changes
data/test/TypeTest.rb CHANGED
File without changes
data/test/UnitTest.rb CHANGED
File without changes
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: fireruby
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.0
7
- date: 2005-11-11 00:00:00 +00:00
6
+ version: 0.4.1
7
+ date: 2005-11-27 00:00:00 +00:00
8
8
  summary: Ruby interface library for the Firebird database.
9
9
  require_paths:
10
10
  - lib
@@ -56,22 +56,22 @@ files:
56
56
  - test/TestSetup.rb
57
57
  - test/TransactionTest.rb
58
58
  - test/TypeTest.rb
59
- - test/CVS
60
59
  - test/UnitTest.rb
61
- - test/UnitTest.rb~
60
+ - test/CVS
62
61
  - test/CVS/Entries
63
62
  - test/CVS/Repository
64
63
  - test/CVS/Root
65
64
  - doc/license.txt
65
+ - doc/README
66
66
  - doc/files
67
67
  - doc/CVS
68
68
  - doc/classes
69
- - doc/README
70
69
  - doc/files/CVS
71
70
  - doc/files/CVS/Entries
72
71
  - doc/files/CVS/Repository
73
72
  - doc/files/CVS/Root
74
73
  - doc/CVS/Entries
74
+ - doc/CVS/Entries.Log
75
75
  - doc/CVS/Repository
76
76
  - doc/CVS/Root
77
77
  - doc/classes/FireRuby
@@ -109,6 +109,7 @@ files:
109
109
  - doc/classes/FireRuby/Database.src/CVS/Repository
110
110
  - doc/classes/FireRuby/Database.src/CVS/Root
111
111
  - doc/classes/FireRuby/CVS/Entries
112
+ - doc/classes/FireRuby/CVS/Entries.Log
112
113
  - doc/classes/FireRuby/CVS/Repository
113
114
  - doc/classes/FireRuby/CVS/Root
114
115
  - doc/classes/FireRuby/Connection.src/CVS
@@ -116,6 +117,7 @@ files:
116
117
  - doc/classes/FireRuby/Connection.src/CVS/Repository
117
118
  - doc/classes/FireRuby/Connection.src/CVS/Root
118
119
  - doc/classes/CVS/Entries
120
+ - doc/classes/CVS/Entries.Log
119
121
  - doc/classes/CVS/Repository
120
122
  - doc/classes/CVS/Root
121
123
  - examples/example01.rb
data/test/UnitTest.rb~ DELETED
@@ -1,64 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- #-------------------------------------------------------------------------------
4
- # Old Unit Test Suite
5
- #
6
- # This code has been dropped for two reasons. First, adding new tests requires
7
- # that this code be updated. Second, running the tests in a single Ruby
8
- # interpreter seems to cause issues as the tests create, use and drop a lot of
9
- # database files and this seems to cause intermittent problems with one or more
10
- # of the test scripts that doesn't occur when the script is run on its own.
11
- # Changing the number of scripts run also seemed to cause the problems to go
12
- # away. It didn't seem to matter which scripts where left out which leads me
13
- # to believe that the problem is related to timing issues.
14
- #
15
- # The new unit test suite, below, searches the directory for unit test files
16
- # and executes each in their own interpreter. I have left this code here for
17
- # reference purposes.
18
- #-------------------------------------------------------------------------------
19
- #require 'DatabaseTest'
20
- #require 'ConnectionTest'
21
- #require 'TransactionTest'
22
- #require 'StatementTest'
23
- #require 'ResultSetTest'
24
- #require 'RowCountTest'
25
- #require 'RowTest'
26
- #require 'GeneratorTest'
27
- #require 'DDLTest'
28
- #require 'SQLTest'
29
- #require 'ServiceManagerTest'
30
- #require 'CharacterSetTest'
31
- #require 'KeyTest'
32
- #require 'TypeTest'
33
- #require 'SQLTypeTest'
34
- #if PLATFORM.include?('powerpc-darwin') == false
35
- # require 'BackupRestoreTest'
36
- # require 'AddRemoveUserTest'
37
- #end
38
- #-------------------------------------------------------------------------------
39
- EXCLUDES = ['AddRemoveUserTest',
40
- 'BackupRestoreTest',
41
- 'ServiceManagerTest']
42
- begin
43
- files = Dir.entries(".")
44
- files.reject! do |name|
45
- ['.', '..', 'UnitTest.rb'].include?(name) or
46
- name[-7,7] != 'Test.rb'
47
- end
48
- files.each do |name|
49
- execute = true
50
- if EXCLUDES.include?(name)
51
- execute = !(PLATFORM.include?('powerpc-darwin'))
52
- end
53
-
54
- if execute
55
- system("ruby #{name}")
56
-
57
- if $? != 0
58
- raise StandardError.new("Error executing '#{name}'. Testing terminated.")
59
- end
60
- end
61
- end
62
- rescue => error
63
- puts "\n\nERROR: #{error.message}"
64
- end