do_sqlite3 0.10.11-java → 0.10.12-java

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.10.12 2013-01-21
2
+
3
+ * jdbc-sqlite3 driver loading fix
4
+ * Improve handling of floats / doubles in sqlite3 on JRuby
5
+
1
6
  ## 0.10.11 2012-12-29
2
7
 
3
8
  * Rename C symbols to prevent name collitions
data/lib/do_sqlite3.rb CHANGED
@@ -13,6 +13,7 @@ if RUBY_PLATFORM =~ /java/
13
13
  java.lang.Thread.currentThread.getContextClassLoader().loadClass(DataObjects::Sqlite3::JDBC_DRIVER, true)
14
14
  rescue java.lang.ClassNotFoundException
15
15
  require 'jdbc/sqlite3' # the JDBC driver, packaged as a gem
16
+ Jdbc::SQLite3.load_driver if Jdbc::SQLite3.respond_to?(:load_driver)
16
17
  end
17
18
 
18
19
  # Another way of loading the JDBC Class. This seems to be more reliable
Binary file
@@ -1,5 +1,5 @@
1
1
  module DataObjects
2
2
  module Sqlite3
3
- VERSION = '0.10.11'
3
+ VERSION = '0.10.12'
4
4
  end
5
5
  end
data/tasks/compile.rake CHANGED
@@ -55,7 +55,7 @@ begin
55
55
  ext.classpath = '../do_jdbc/lib/do_jdbc_internal.jar'
56
56
  ext.java_compiling do |gem|
57
57
  gem.add_dependency 'jdbc-sqlite3', '>=3.5.8'
58
- gem.add_dependency 'do_jdbc', '0.10.11'
58
+ gem.add_dependency 'do_jdbc', '0.10.12'
59
59
  end
60
60
  end
61
61
  rescue LoadError
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
  - Dirkjan Bussink
@@ -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
@@ -82,8 +82,8 @@ dependencies:
82
82
  segments:
83
83
  - 0
84
84
  - 10
85
- - 11
86
- version: 0.10.11
85
+ - 12
86
+ version: 0.10.12
87
87
  requirement: *id005
88
88
  description: Implements the DataObjects API for Sqlite3
89
89
  email: d.bussink@gmail.com