fireruby 0.4.2-i586-linux → 0.4.3-i586-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fr_lib.so +0 -0
- data/lib/src.rb +5 -0
- data/test/AddRemoveUserTest.rb +1 -0
- data/test/BlobTest.rb +3 -2
- data/test/RoleTest.rb +3 -1
- metadata +2 -2
data/lib/fr_lib.so
CHANGED
Binary file
|
data/lib/src.rb
CHANGED
@@ -210,6 +210,11 @@ module FireRuby
|
|
210
210
|
DBA_USER_NAME = 19
|
211
211
|
|
212
212
|
|
213
|
+
# A definition for a connection option. This option should be given a
|
214
|
+
# string value which should be the ROLE to use when connecting.
|
215
|
+
SQL_ROLE_NAME = 60
|
216
|
+
|
217
|
+
|
213
218
|
# A definition for a possible setting to accompany the WRITE_POLICY
|
214
219
|
# connection setting.
|
215
220
|
WRITE_ASYNCHONOUS = 0
|
data/test/AddRemoveUserTest.rb
CHANGED
data/test/BlobTest.rb
CHANGED
@@ -45,12 +45,13 @@ class BlobTest < Test::Unit::TestCase
|
|
45
45
|
r = cxn.execute('SELECT * FROM BLOB_TEST', tx)
|
46
46
|
d = r.fetch
|
47
47
|
|
48
|
+
assert_equal(d[0].to_s, DATA)
|
49
|
+
|
48
50
|
# Clean up.
|
49
51
|
s.close
|
50
52
|
r.close
|
51
53
|
end
|
52
|
-
assert_equal(d[0].to_s, DATA)
|
53
54
|
cxn.execute_immediate('DROP TABLE BLOB_TEST')
|
54
55
|
end
|
55
56
|
end
|
56
|
-
end
|
57
|
+
end
|
data/test/RoleTest.rb
CHANGED
@@ -25,11 +25,13 @@ class RoleTest < Test::Unit::TestCase
|
|
25
25
|
|
26
26
|
au = AddUser.new('user1', 'password', 'first', 'middle', 'last')
|
27
27
|
au.execute(@sm)
|
28
|
+
sleep(3)
|
28
29
|
end
|
29
30
|
|
30
31
|
def teardown
|
31
32
|
ru = RemoveUser.new('user1')
|
32
33
|
ru.execute(@sm)
|
34
|
+
sleep(3)
|
33
35
|
|
34
36
|
@sm.disconnect
|
35
37
|
|
@@ -68,4 +70,4 @@ class RoleTest < Test::Unit::TestCase
|
|
68
70
|
end
|
69
71
|
cxn.close
|
70
72
|
end
|
71
|
-
end
|
73
|
+
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: fireruby
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2007-11-
|
6
|
+
version: 0.4.3
|
7
|
+
date: 2007-11-26 00:00:00 -05:00
|
8
8
|
summary: Ruby interface library for the Firebird database.
|
9
9
|
require_paths:
|
10
10
|
- lib
|