do_hsqldb 0.10.8-java → 0.10.9-java
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.markdown +4 -0
- data/lib/do_hsqldb.rb +1 -1
- data/lib/do_hsqldb/do_hsqldb.jar +0 -0
- data/lib/do_hsqldb/version.rb +1 -1
- data/spec/spec_helper.rb +30 -30
- metadata +26 -39
data/ChangeLog.markdown
CHANGED
data/lib/do_hsqldb.rb
CHANGED
@@ -12,7 +12,7 @@ if RUBY_PLATFORM =~ /java/
|
|
12
12
|
|
13
13
|
begin
|
14
14
|
java.lang.Thread.currentThread.getContextClassLoader().loadClass(DataObjects::Hsqldb::JDBC_DRIVER, true)
|
15
|
-
rescue
|
15
|
+
rescue java.lang.ClassNotFoundException
|
16
16
|
require 'jdbc/hsqldb' # the JDBC driver, packaged as a gem
|
17
17
|
end
|
18
18
|
require 'do_hsqldb/do_hsqldb' # the Java extension for this DO driver
|
data/lib/do_hsqldb/do_hsqldb.jar
CHANGED
Binary file
|
data/lib/do_hsqldb/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -119,46 +119,46 @@ module DataObjectsSpecHelpers
|
|
119
119
|
1234,
|
120
120
|
13.4);
|
121
121
|
EOF
|
122
|
+
end
|
122
123
|
|
123
|
-
|
124
|
-
|
125
|
-
|
124
|
+
conn.create_command(<<-EOF).execute_non_query
|
125
|
+
update widgets set flags = true where id = 2
|
126
|
+
EOF
|
126
127
|
|
127
|
-
|
128
|
-
|
129
|
-
|
128
|
+
conn.create_command(<<-EOF).execute_non_query
|
129
|
+
update widgets set ad_description = NULL where id = 3
|
130
|
+
EOF
|
130
131
|
|
131
|
-
|
132
|
-
|
133
|
-
|
132
|
+
conn.create_command(<<-EOF).execute_non_query
|
133
|
+
update widgets set flags = NULL where id = 4
|
134
|
+
EOF
|
134
135
|
|
135
|
-
|
136
|
-
|
137
|
-
|
136
|
+
conn.create_command(<<-EOF).execute_non_query
|
137
|
+
update widgets set cost1 = NULL where id = 5
|
138
|
+
EOF
|
138
139
|
|
139
|
-
|
140
|
-
|
141
|
-
|
140
|
+
conn.create_command(<<-EOF).execute_non_query
|
141
|
+
update widgets set cost2 = NULL where id = 6
|
142
|
+
EOF
|
142
143
|
|
143
|
-
|
144
|
-
|
145
|
-
|
144
|
+
conn.create_command(<<-EOF).execute_non_query
|
145
|
+
update widgets set release_date = NULL where id = 7
|
146
|
+
EOF
|
146
147
|
|
147
|
-
|
148
|
-
|
149
|
-
|
148
|
+
conn.create_command(<<-EOF).execute_non_query
|
149
|
+
update widgets set release_datetime = NULL where id = 8
|
150
|
+
EOF
|
150
151
|
|
151
|
-
|
152
|
-
|
153
|
-
|
152
|
+
conn.create_command(<<-EOF).execute_non_query
|
153
|
+
update widgets set release_timestamp = NULL where id = 9
|
154
|
+
EOF
|
154
155
|
|
155
|
-
|
156
|
-
|
157
|
-
|
156
|
+
conn.create_command(<<-EOF).execute_non_query
|
157
|
+
update widgets set release_datetime = '2008-07-14 00:31:12' where id = 10
|
158
|
+
EOF
|
158
159
|
|
159
|
-
|
160
|
-
|
161
|
-
end
|
160
|
+
## TODO: change the hexadecimal examples
|
161
|
+
conn.close
|
162
162
|
|
163
163
|
end
|
164
164
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_hsqldb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
4
|
+
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
8
|
+
- 9
|
9
|
+
version: 0.10.9
|
11
10
|
platform: java
|
12
11
|
authors:
|
13
12
|
- Alex Coles
|
@@ -15,85 +14,76 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-03-29 00:00:00
|
17
|
+
date: 2011-03-29 00:00:00 +02:00
|
18
|
+
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
prerelease: false
|
22
|
+
type: :runtime
|
23
|
+
name: data_objects
|
21
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
25
|
requirements:
|
24
26
|
- - "="
|
25
27
|
- !ruby/object:Gem::Version
|
26
|
-
hash: 39
|
27
28
|
segments:
|
28
29
|
- 0
|
29
30
|
- 10
|
30
|
-
-
|
31
|
-
version: 0.10.
|
32
|
-
name: data_objects
|
33
|
-
prerelease: false
|
34
|
-
type: :runtime
|
31
|
+
- 9
|
32
|
+
version: 0.10.9
|
35
33
|
requirement: *id001
|
36
34
|
- !ruby/object:Gem::Dependency
|
35
|
+
prerelease: false
|
36
|
+
type: :runtime
|
37
|
+
name: do_jdbc
|
37
38
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
39
|
requirements:
|
40
40
|
- - "="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
hash: 39
|
43
42
|
segments:
|
44
43
|
- 0
|
45
44
|
- 10
|
46
|
-
-
|
47
|
-
version: 0.10.
|
48
|
-
name: do_jdbc
|
49
|
-
prerelease: false
|
50
|
-
type: :runtime
|
45
|
+
- 9
|
46
|
+
version: 0.10.9
|
51
47
|
requirement: *id002
|
52
48
|
- !ruby/object:Gem::Dependency
|
49
|
+
prerelease: false
|
50
|
+
type: :runtime
|
51
|
+
name: jdbc-hsqldb
|
53
52
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
53
|
requirements:
|
56
54
|
- - ~>
|
57
55
|
- !ruby/object:Gem::Version
|
58
|
-
hash: 55
|
59
56
|
segments:
|
60
57
|
- 1
|
61
58
|
- 8
|
62
59
|
- 0
|
63
60
|
version: 1.8.0
|
64
|
-
name: jdbc-hsqldb
|
65
|
-
prerelease: false
|
66
|
-
type: :runtime
|
67
61
|
requirement: *id003
|
68
62
|
- !ruby/object:Gem::Dependency
|
63
|
+
prerelease: false
|
64
|
+
type: :development
|
65
|
+
name: rspec
|
69
66
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
67
|
requirements:
|
72
68
|
- - ~>
|
73
69
|
- !ruby/object:Gem::Version
|
74
|
-
hash: 9
|
75
70
|
segments:
|
76
71
|
- 2
|
77
72
|
- 5
|
78
73
|
version: "2.5"
|
79
|
-
name: rspec
|
80
|
-
prerelease: false
|
81
|
-
type: :development
|
82
74
|
requirement: *id004
|
83
75
|
- !ruby/object:Gem::Dependency
|
76
|
+
prerelease: false
|
77
|
+
type: :development
|
78
|
+
name: rake-compiler
|
84
79
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
80
|
requirements:
|
87
81
|
- - ~>
|
88
82
|
- !ruby/object:Gem::Version
|
89
|
-
hash: 5
|
90
83
|
segments:
|
91
84
|
- 0
|
92
85
|
- 7
|
93
86
|
version: "0.7"
|
94
|
-
name: rake-compiler
|
95
|
-
prerelease: false
|
96
|
-
type: :development
|
97
87
|
requirement: *id005
|
98
88
|
description: Implements the DataObjects API for Hsqldb
|
99
89
|
email: alex@alexbcoles.com
|
@@ -136,6 +126,7 @@ files:
|
|
136
126
|
- tasks/release.rake
|
137
127
|
- tasks/spec.rake
|
138
128
|
- lib/do_hsqldb/do_hsqldb.jar
|
129
|
+
has_rdoc: true
|
139
130
|
homepage:
|
140
131
|
licenses: []
|
141
132
|
|
@@ -145,27 +136,23 @@ rdoc_options: []
|
|
145
136
|
require_paths:
|
146
137
|
- lib
|
147
138
|
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
139
|
requirements:
|
150
140
|
- - ">="
|
151
141
|
- !ruby/object:Gem::Version
|
152
|
-
hash: 3
|
153
142
|
segments:
|
154
143
|
- 0
|
155
144
|
version: "0"
|
156
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
146
|
requirements:
|
159
147
|
- - ">="
|
160
148
|
- !ruby/object:Gem::Version
|
161
|
-
hash: 3
|
162
149
|
segments:
|
163
150
|
- 0
|
164
151
|
version: "0"
|
165
152
|
requirements: []
|
166
153
|
|
167
154
|
rubyforge_project: dorb
|
168
|
-
rubygems_version: 1.
|
155
|
+
rubygems_version: 1.3.6
|
169
156
|
signing_key:
|
170
157
|
specification_version: 3
|
171
158
|
summary: DataObjects Hsqldb Driver
|