do_derby 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_derby/do_derby.jar +0 -0
- data/lib/do_derby/version.rb +1 -1
- data/lib/do_derby.rb +1 -1
- data/spec/spec_helper.rb +34 -34
- metadata +26 -39
data/ChangeLog.markdown
CHANGED
data/lib/do_derby/do_derby.jar
CHANGED
Binary file
|
data/lib/do_derby/version.rb
CHANGED
data/lib/do_derby.rb
CHANGED
@@ -12,7 +12,7 @@ if RUBY_PLATFORM =~ /java/
|
|
12
12
|
|
13
13
|
begin
|
14
14
|
java.lang.Thread.currentThread.getContextClassLoader().loadClass(DataObjects::Derby::JDBC_DRIVER, true)
|
15
|
-
rescue
|
15
|
+
rescue java.lang.ClassNotFoundException
|
16
16
|
require 'jdbc/derby' # the JDBC driver, packaged as a gem
|
17
17
|
end
|
18
18
|
|
data/spec/spec_helper.rb
CHANGED
@@ -135,51 +135,51 @@ module DataObjectsSpecHelpers
|
|
135
135
|
1234,
|
136
136
|
13.4)
|
137
137
|
EOF
|
138
|
+
end
|
138
139
|
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
140
|
+
# Removed
|
141
|
+
# image_data,
|
142
|
+
# ad_image,
|
143
|
+
# cad_drawing,
|
144
|
+
# XXX: figure out how to insert BLOBS
|
144
145
|
|
145
|
-
|
146
|
-
|
147
|
-
|
146
|
+
conn.create_command(<<-EOF).execute_non_query
|
147
|
+
update widgets set flags = 1 where id = 2
|
148
|
+
EOF
|
148
149
|
|
149
|
-
|
150
|
-
|
151
|
-
|
150
|
+
conn.create_command(<<-EOF).execute_non_query
|
151
|
+
update widgets set ad_description = NULL where id = 3
|
152
|
+
EOF
|
152
153
|
|
153
|
-
|
154
|
-
|
155
|
-
|
154
|
+
conn.create_command(<<-EOF).execute_non_query
|
155
|
+
update widgets set flags = NULL where id = 4
|
156
|
+
EOF
|
156
157
|
|
157
|
-
|
158
|
-
|
159
|
-
|
158
|
+
conn.create_command(<<-EOF).execute_non_query
|
159
|
+
update widgets set cost1 = NULL where id = 5
|
160
|
+
EOF
|
160
161
|
|
161
|
-
|
162
|
-
|
163
|
-
|
162
|
+
conn.create_command(<<-EOF).execute_non_query
|
163
|
+
update widgets set cost2 = NULL where id = 6
|
164
|
+
EOF
|
164
165
|
|
165
|
-
|
166
|
-
|
167
|
-
|
166
|
+
conn.create_command(<<-EOF).execute_non_query
|
167
|
+
update widgets set release_date = NULL where id = 7
|
168
|
+
EOF
|
168
169
|
|
169
|
-
|
170
|
-
|
171
|
-
|
170
|
+
conn.create_command(<<-EOF).execute_non_query
|
171
|
+
update widgets set release_datetime = NULL where id = 8
|
172
|
+
EOF
|
172
173
|
|
173
|
-
|
174
|
-
|
175
|
-
|
174
|
+
conn.create_command(<<-EOF).execute_non_query
|
175
|
+
update widgets set release_timestamp = NULL where id = 9
|
176
|
+
EOF
|
176
177
|
|
177
|
-
|
178
|
-
|
179
|
-
|
178
|
+
conn.create_command(<<-EOF).execute_non_query
|
179
|
+
update widgets set release_datetime = '2008-07-14 00:31:12' where id = 10
|
180
|
+
EOF
|
180
181
|
|
181
|
-
|
182
|
-
end
|
182
|
+
conn.close
|
183
183
|
|
184
184
|
end
|
185
185
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_derby
|
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,86 +14,77 @@ 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-derby
|
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: 199
|
59
56
|
segments:
|
60
57
|
- 10
|
61
58
|
- 4
|
62
59
|
- 2
|
63
60
|
- 0
|
64
61
|
version: 10.4.2.0
|
65
|
-
name: jdbc-derby
|
66
|
-
prerelease: false
|
67
|
-
type: :runtime
|
68
62
|
requirement: *id003
|
69
63
|
- !ruby/object:Gem::Dependency
|
64
|
+
prerelease: false
|
65
|
+
type: :development
|
66
|
+
name: rspec
|
70
67
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
68
|
requirements:
|
73
69
|
- - ~>
|
74
70
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 9
|
76
71
|
segments:
|
77
72
|
- 2
|
78
73
|
- 5
|
79
74
|
version: "2.5"
|
80
|
-
name: rspec
|
81
|
-
prerelease: false
|
82
|
-
type: :development
|
83
75
|
requirement: *id004
|
84
76
|
- !ruby/object:Gem::Dependency
|
77
|
+
prerelease: false
|
78
|
+
type: :development
|
79
|
+
name: rake-compiler
|
85
80
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
81
|
requirements:
|
88
82
|
- - ~>
|
89
83
|
- !ruby/object:Gem::Version
|
90
|
-
hash: 5
|
91
84
|
segments:
|
92
85
|
- 0
|
93
86
|
- 7
|
94
87
|
version: "0.7"
|
95
|
-
name: rake-compiler
|
96
|
-
prerelease: false
|
97
|
-
type: :development
|
98
88
|
requirement: *id005
|
99
89
|
description: Implements the DataObjects API for Derby
|
100
90
|
email: alex@alexbcoles.com
|
@@ -137,6 +127,7 @@ files:
|
|
137
127
|
- tasks/release.rake
|
138
128
|
- tasks/spec.rake
|
139
129
|
- lib/do_derby/do_derby.jar
|
130
|
+
has_rdoc: true
|
140
131
|
homepage:
|
141
132
|
licenses: []
|
142
133
|
|
@@ -146,27 +137,23 @@ rdoc_options: []
|
|
146
137
|
require_paths:
|
147
138
|
- lib
|
148
139
|
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
140
|
requirements:
|
151
141
|
- - ">="
|
152
142
|
- !ruby/object:Gem::Version
|
153
|
-
hash: 3
|
154
143
|
segments:
|
155
144
|
- 0
|
156
145
|
version: "0"
|
157
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
147
|
requirements:
|
160
148
|
- - ">="
|
161
149
|
- !ruby/object:Gem::Version
|
162
|
-
hash: 3
|
163
150
|
segments:
|
164
151
|
- 0
|
165
152
|
version: "0"
|
166
153
|
requirements: []
|
167
154
|
|
168
155
|
rubyforge_project: dorb
|
169
|
-
rubygems_version: 1.
|
156
|
+
rubygems_version: 1.3.6
|
170
157
|
signing_key:
|
171
158
|
specification_version: 3
|
172
159
|
summary: DataObjects Derby Driver
|