fireruby 0.3.2-i586-linux → 0.4.0-i586-linux
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/CVS/Entries +4 -0
- data/doc/CVS/Repository +1 -0
- data/doc/CVS/Root +1 -0
- data/doc/README +86 -34
- data/doc/classes/CVS/Entries +1 -0
- data/doc/classes/CVS/Repository +1 -0
- data/doc/classes/CVS/Root +1 -0
- data/doc/classes/FireRuby/CVS/Entries +7 -0
- data/doc/classes/FireRuby/CVS/Repository +1 -0
- data/doc/classes/FireRuby/CVS/Root +1 -0
- data/doc/classes/FireRuby/Connection.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/Connection.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Connection.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Database.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/Database.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Database.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Generator.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/Generator.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Generator.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/ResultSet.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/ResultSet.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/ResultSet.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Statement.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/Statement.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Statement.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Transaction.src/CVS/Entries +1 -0
- data/doc/classes/FireRuby/Transaction.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Transaction.src/CVS/Root +1 -0
- data/doc/files/CVS/Entries +1 -0
- data/doc/files/CVS/Repository +1 -0
- data/doc/files/CVS/Root +1 -0
- data/examples/CVS/Entries +2 -0
- data/examples/CVS/Repository +1 -0
- data/examples/CVS/Root +1 -0
- data/examples/example01.rb +9 -4
- data/lib/CVS/Entries +6 -0
- data/lib/CVS/Repository +1 -0
- data/lib/CVS/Root +1 -0
- data/lib/SQLType.rb +228 -0
- data/lib/fireruby.rb +22 -0
- data/lib/fr_lib.so +0 -0
- data/lib/src.rb +52 -6
- data/test/AddRemoveUserTest.rb +7 -2
- data/test/BackupRestoreTest.rb +3 -1
- data/test/CVS/Entries +20 -0
- data/test/CVS/Repository +1 -0
- data/test/CVS/Root +1 -0
- data/test/CharacterSetTest.rb +5 -2
- data/test/ConnectionTest.rb +3 -1
- data/test/DDLTest.rb +3 -1
- data/test/DatabaseTest.rb +3 -1
- data/test/GeneratorTest.rb +3 -1
- data/test/KeyTest.rb +140 -0
- data/test/ResultSetTest.rb +34 -3
- data/test/RowCountTest.rb +3 -1
- data/test/RowTest.rb +90 -24
- data/test/SQLTest.rb +4 -1
- data/test/SQLTypeTest.rb +101 -0
- data/test/ServiceManagerTest.rb +10 -2
- data/test/StatementTest.rb +18 -7
- data/test/TestSetup.rb +1 -0
- data/test/TransactionTest.rb +4 -1
- data/test/TypeTest.rb +92 -0
- data/test/UnitTest.rb +61 -15
- data/test/UnitTest.rb~ +64 -0
- metadata +84 -20
- data/lib/fireruby.so +0 -0
data/test/UnitTest.rb~
ADDED
@@ -0,0 +1,64 @@
|
|
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
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.
|
2
|
+
rubygems_version: 0.8.11
|
3
3
|
specification_version: 1
|
4
4
|
name: fireruby
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2005-
|
6
|
+
version: 0.4.0
|
7
|
+
date: 2005-11-11 00:00:00 +00:00
|
8
8
|
summary: Ruby interface library for the Firebird database.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -24,41 +24,105 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
24
24
|
version: 0.0.0
|
25
25
|
version:
|
26
26
|
platform: i586-linux
|
27
|
+
signing_key:
|
28
|
+
cert_chain:
|
27
29
|
authors:
|
28
30
|
- Peter Wood
|
29
31
|
files:
|
32
|
+
- lib/fireruby.rb
|
33
|
+
- lib/fr_lib.so
|
30
34
|
- lib/mkdoc
|
31
|
-
- lib/
|
35
|
+
- lib/SQLType.rb
|
32
36
|
- lib/src.rb
|
33
|
-
-
|
34
|
-
-
|
35
|
-
-
|
37
|
+
- lib/CVS
|
38
|
+
- lib/CVS/Entries
|
39
|
+
- lib/CVS/Repository
|
40
|
+
- lib/CVS/Root
|
36
41
|
- test/AddRemoveUserTest.rb
|
37
|
-
- test/ConnectionTest.rb
|
38
|
-
- test/ServiceManagerTest.rb
|
39
|
-
- test/TransactionTest.rb
|
40
|
-
- test/CharacterSetTest.rb
|
41
|
-
- test/TestSetup.rb
|
42
42
|
- test/BackupRestoreTest.rb
|
43
|
-
- test/
|
44
|
-
- test/
|
43
|
+
- test/CharacterSetTest.rb
|
44
|
+
- test/ConnectionTest.rb
|
45
|
+
- test/DatabaseTest.rb
|
45
46
|
- test/DDLTest.rb
|
47
|
+
- test/GeneratorTest.rb
|
48
|
+
- test/KeyTest.rb
|
46
49
|
- test/ResultSetTest.rb
|
50
|
+
- test/RowCountTest.rb
|
47
51
|
- test/RowTest.rb
|
48
|
-
- test/
|
49
|
-
-
|
50
|
-
-
|
52
|
+
- test/ServiceManagerTest.rb
|
53
|
+
- test/SQLTest.rb
|
54
|
+
- test/SQLTypeTest.rb
|
55
|
+
- test/StatementTest.rb
|
56
|
+
- test/TestSetup.rb
|
57
|
+
- test/TransactionTest.rb
|
58
|
+
- test/TypeTest.rb
|
59
|
+
- test/CVS
|
60
|
+
- test/UnitTest.rb
|
61
|
+
- test/UnitTest.rb~
|
62
|
+
- test/CVS/Entries
|
63
|
+
- test/CVS/Repository
|
64
|
+
- test/CVS/Root
|
51
65
|
- doc/license.txt
|
66
|
+
- doc/files
|
67
|
+
- doc/CVS
|
52
68
|
- doc/classes
|
69
|
+
- doc/README
|
70
|
+
- doc/files/CVS
|
71
|
+
- doc/files/CVS/Entries
|
72
|
+
- doc/files/CVS/Repository
|
73
|
+
- doc/files/CVS/Root
|
74
|
+
- doc/CVS/Entries
|
75
|
+
- doc/CVS/Repository
|
76
|
+
- doc/CVS/Root
|
53
77
|
- doc/classes/FireRuby
|
78
|
+
- doc/classes/CVS
|
79
|
+
- doc/classes/FireRuby/Transaction.src
|
80
|
+
- doc/classes/FireRuby/Statement.src
|
54
81
|
- doc/classes/FireRuby/ResultSet.src
|
82
|
+
- doc/classes/FireRuby/Generator.src
|
55
83
|
- doc/classes/FireRuby/FireRubyError.src
|
56
|
-
- doc/classes/FireRuby/Transaction.src
|
57
84
|
- doc/classes/FireRuby/Database.src
|
58
|
-
- doc/classes/FireRuby/
|
85
|
+
- doc/classes/FireRuby/CVS
|
59
86
|
- doc/classes/FireRuby/Connection.src
|
60
|
-
- doc/classes/FireRuby/
|
87
|
+
- doc/classes/FireRuby/Transaction.src/CVS
|
88
|
+
- doc/classes/FireRuby/Transaction.src/CVS/Entries
|
89
|
+
- doc/classes/FireRuby/Transaction.src/CVS/Repository
|
90
|
+
- doc/classes/FireRuby/Transaction.src/CVS/Root
|
91
|
+
- doc/classes/FireRuby/Statement.src/CVS
|
92
|
+
- doc/classes/FireRuby/Statement.src/CVS/Entries
|
93
|
+
- doc/classes/FireRuby/Statement.src/CVS/Repository
|
94
|
+
- doc/classes/FireRuby/Statement.src/CVS/Root
|
95
|
+
- doc/classes/FireRuby/ResultSet.src/CVS
|
96
|
+
- doc/classes/FireRuby/ResultSet.src/CVS/Entries
|
97
|
+
- doc/classes/FireRuby/ResultSet.src/CVS/Repository
|
98
|
+
- doc/classes/FireRuby/ResultSet.src/CVS/Root
|
99
|
+
- doc/classes/FireRuby/Generator.src/CVS
|
100
|
+
- doc/classes/FireRuby/Generator.src/CVS/Entries
|
101
|
+
- doc/classes/FireRuby/Generator.src/CVS/Repository
|
102
|
+
- doc/classes/FireRuby/Generator.src/CVS/Root
|
103
|
+
- doc/classes/FireRuby/FireRubyError.src/CVS
|
104
|
+
- doc/classes/FireRuby/FireRubyError.src/CVS/Entries
|
105
|
+
- doc/classes/FireRuby/FireRubyError.src/CVS/Repository
|
106
|
+
- doc/classes/FireRuby/FireRubyError.src/CVS/Root
|
107
|
+
- doc/classes/FireRuby/Database.src/CVS
|
108
|
+
- doc/classes/FireRuby/Database.src/CVS/Entries
|
109
|
+
- doc/classes/FireRuby/Database.src/CVS/Repository
|
110
|
+
- doc/classes/FireRuby/Database.src/CVS/Root
|
111
|
+
- doc/classes/FireRuby/CVS/Entries
|
112
|
+
- doc/classes/FireRuby/CVS/Repository
|
113
|
+
- doc/classes/FireRuby/CVS/Root
|
114
|
+
- doc/classes/FireRuby/Connection.src/CVS
|
115
|
+
- doc/classes/FireRuby/Connection.src/CVS/Entries
|
116
|
+
- doc/classes/FireRuby/Connection.src/CVS/Repository
|
117
|
+
- doc/classes/FireRuby/Connection.src/CVS/Root
|
118
|
+
- doc/classes/CVS/Entries
|
119
|
+
- doc/classes/CVS/Repository
|
120
|
+
- doc/classes/CVS/Root
|
61
121
|
- examples/example01.rb
|
122
|
+
- examples/CVS
|
123
|
+
- examples/CVS/Entries
|
124
|
+
- examples/CVS/Repository
|
125
|
+
- examples/CVS/Root
|
62
126
|
test_files:
|
63
127
|
- test/UnitTest.rb
|
64
128
|
rdoc_options:
|
data/lib/fireruby.so
DELETED
Binary file
|