do_h2 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_h2/do_h2.jar +0 -0
- data/lib/do_h2/version.rb +1 -1
- data/lib/do_h2.rb +1 -1
- data/spec/spec_helper.rb +30 -30
- metadata +26 -39
data/ChangeLog.markdown
CHANGED
data/lib/do_h2/do_h2.jar
CHANGED
Binary file
|
data/lib/do_h2/version.rb
CHANGED
data/lib/do_h2.rb
CHANGED
@@ -12,7 +12,7 @@ if RUBY_PLATFORM =~ /java/
|
|
12
12
|
|
13
13
|
begin
|
14
14
|
java.lang.Thread.currentThread.getContextClassLoader().loadClass(DataObjects::H2::JDBC_DRIVER, true)
|
15
|
-
rescue
|
15
|
+
rescue java.lang.ClassNotFoundException
|
16
16
|
require 'jdbc/h2' # the JDBC driver, packaged as a gem
|
17
17
|
end
|
18
18
|
|
data/spec/spec_helper.rb
CHANGED
@@ -118,47 +118,47 @@ module DataObjectsSpecHelpers
|
|
118
118
|
1234,
|
119
119
|
13.4);
|
120
120
|
EOF
|
121
|
+
end
|
121
122
|
|
122
|
-
|
123
|
+
## TODO: change the hexadecimal examples
|
123
124
|
|
124
|
-
|
125
|
-
|
126
|
-
|
125
|
+
conn.create_command(<<-EOF).execute_non_query
|
126
|
+
update widgets set flags = true where id = 2
|
127
|
+
EOF
|
127
128
|
|
128
|
-
|
129
|
-
|
130
|
-
|
129
|
+
conn.create_command(<<-EOF).execute_non_query
|
130
|
+
update widgets set ad_description = NULL where id = 3
|
131
|
+
EOF
|
131
132
|
|
132
|
-
|
133
|
-
|
134
|
-
|
133
|
+
conn.create_command(<<-EOF).execute_non_query
|
134
|
+
update widgets set flags = NULL where id = 4
|
135
|
+
EOF
|
135
136
|
|
136
|
-
|
137
|
-
|
138
|
-
|
137
|
+
conn.create_command(<<-EOF).execute_non_query
|
138
|
+
update widgets set cost1 = NULL where id = 5
|
139
|
+
EOF
|
139
140
|
|
140
|
-
|
141
|
-
|
142
|
-
|
141
|
+
conn.create_command(<<-EOF).execute_non_query
|
142
|
+
update widgets set cost2 = NULL where id = 6
|
143
|
+
EOF
|
143
144
|
|
144
|
-
|
145
|
-
|
146
|
-
|
145
|
+
conn.create_command(<<-EOF).execute_non_query
|
146
|
+
update widgets set release_date = NULL where id = 7
|
147
|
+
EOF
|
147
148
|
|
148
|
-
|
149
|
-
|
150
|
-
|
149
|
+
conn.create_command(<<-EOF).execute_non_query
|
150
|
+
update widgets set release_datetime = NULL where id = 8
|
151
|
+
EOF
|
151
152
|
|
152
|
-
|
153
|
-
|
154
|
-
|
153
|
+
conn.create_command(<<-EOF).execute_non_query
|
154
|
+
update widgets set release_timestamp = NULL where id = 9
|
155
|
+
EOF
|
155
156
|
|
156
|
-
|
157
|
-
|
158
|
-
|
157
|
+
conn.create_command(<<-EOF).execute_non_query
|
158
|
+
update widgets set release_datetime = '2008-07-14 00:31:12' where id = 10
|
159
|
+
EOF
|
159
160
|
|
160
|
-
|
161
|
-
end
|
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_h2
|
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-h2
|
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: 197
|
59
56
|
segments:
|
60
57
|
- 1
|
61
58
|
- 1
|
62
59
|
- 107
|
63
60
|
version: 1.1.107
|
64
|
-
name: jdbc-h2
|
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 H2
|
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_h2/do_h2.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 H2 Driver
|