do_hsqldb 0.10.11-java → 0.10.12-java

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/ChangeLog.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.10.12 2013-01-21
2
+
3
+ * jdbc-hsqldb driver loading fix
4
+
1
5
  ## 0.10.11 2012-12-29
2
6
 
3
7
  No changes
data/lib/do_hsqldb.rb CHANGED
@@ -14,6 +14,7 @@ if RUBY_PLATFORM =~ /java/
14
14
  java.lang.Thread.currentThread.getContextClassLoader().loadClass(DataObjects::Hsqldb::JDBC_DRIVER, true)
15
15
  rescue java.lang.ClassNotFoundException
16
16
  require 'jdbc/hsqldb' # the JDBC driver, packaged as a gem
17
+ Jdbc::HSQLDB.load_driver if Jdbc::HSQLDB.respond_to?(:load_driver)
17
18
  end
18
19
  require 'do_hsqldb/do_hsqldb' # the Java extension for this DO driver
19
20
 
Binary file
@@ -1,5 +1,5 @@
1
1
  module DataObjects
2
2
  module Hsqldb
3
- VERSION = '0.10.11'
3
+ VERSION = '0.10.12'
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -70,11 +70,11 @@ module DataObjectsSpecHelpers
70
70
  id INTEGER IDENTITY,
71
71
  code CHAR(8) DEFAULT 'A14' NULL,
72
72
  name VARCHAR(200) DEFAULT 'Super Widget' NULL,
73
- shelf_location VARCHAR NULL,
73
+ shelf_location VARCHAR(200) NULL,
74
74
  description LONGVARCHAR NULL,
75
- image_data VARBINARY NULL,
75
+ image_data VARBINARY(1024) NULL,
76
76
  ad_description LONGVARCHAR NULL,
77
- ad_image VARBINARY NULL,
77
+ ad_image VARBINARY(1024) NULL,
78
78
  whitepaper_text LONGVARCHAR NULL,
79
79
  cad_drawing LONGVARBINARY NULL,
80
80
  flags BOOLEAN DEFAULT 0,
@@ -83,7 +83,7 @@ module DataObjectsSpecHelpers
83
83
  super_number BIGINT DEFAULT 9223372036854775807,
84
84
  weight FLOAT DEFAULT 1.23,
85
85
  cost1 REAL DEFAULT 10.23,
86
- cost2 DECIMAL DEFAULT 50.23,
86
+ cost2 DECIMAL(10,2) DEFAULT 50.23,
87
87
  release_date DATE DEFAULT '2008-02-14',
88
88
  release_datetime DATETIME DEFAULT '2008-02-14 00:31:12',
89
89
  release_timestamp TIMESTAMP DEFAULT '2008-02-14 00:31:31'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 10
8
- - 11
9
- version: 0.10.11
8
+ - 12
9
+ version: 0.10.12
10
10
  platform: java
11
11
  authors:
12
12
  - Alex Coles
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-12-29 00:00:00 +01:00
17
+ date: 2013-01-21 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -28,8 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 0
30
30
  - 10
31
- - 11
32
- version: 0.10.11
31
+ - 12
32
+ version: 0.10.12
33
33
  requirement: *id001
34
34
  - !ruby/object:Gem::Dependency
35
35
  prerelease: false
@@ -42,8 +42,8 @@ dependencies:
42
42
  segments:
43
43
  - 0
44
44
  - 10
45
- - 11
46
- version: 0.10.11
45
+ - 12
46
+ version: 0.10.12
47
47
  requirement: *id002
48
48
  - !ruby/object:Gem::Dependency
49
49
  prerelease: false