do_postgres 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 +4 -0
- data/lib/do_postgres.rb +1 -0
- data/lib/do_postgres/do_postgres.jar +0 -0
- data/lib/do_postgres/version.rb +1 -1
- data/spec/connection_spec.rb +1 -1
- data/tasks/compile.rake +1 -1
- metadata +7 -7
data/ChangeLog.markdown
CHANGED
data/lib/do_postgres.rb
CHANGED
@@ -13,6 +13,7 @@ if RUBY_PLATFORM =~ /java/
|
|
13
13
|
java.lang.Thread.currentThread.getContextClassLoader().loadClass(DataObjects::Postgres::JDBC_DRIVER, true)
|
14
14
|
rescue java.lang.ClassNotFoundException
|
15
15
|
require 'jdbc/postgres' # the JDBC driver, packaged as a gem
|
16
|
+
Jdbc::Postgres.load_driver if Jdbc::Postgres.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
|
data/lib/do_postgres/version.rb
CHANGED
data/spec/connection_spec.rb
CHANGED
@@ -16,7 +16,7 @@ describe DataObjects::Postgres::Connection do
|
|
16
16
|
|
17
17
|
it_should_behave_like 'a Connection'
|
18
18
|
it_should_behave_like 'a Connection with authentication support'
|
19
|
-
it_should_behave_like 'a Connection allowing default database'
|
19
|
+
it_should_behave_like 'a Connection allowing default database' unless JRUBY
|
20
20
|
it_should_behave_like 'a Connection with JDBC URL support' if JRUBY
|
21
21
|
|
22
22
|
describe 'byte array quoting' do
|
data/tasks/compile.rake
CHANGED
@@ -70,7 +70,7 @@ begin
|
|
70
70
|
ext.classpath = '../do_jdbc/lib/do_jdbc_internal.jar'
|
71
71
|
ext.java_compiling do |gem|
|
72
72
|
gem.add_dependency 'jdbc-postgres', '>=8.2'
|
73
|
-
gem.add_dependency 'do_jdbc', '0.10.
|
73
|
+
gem.add_dependency 'do_jdbc', '0.10.12'
|
74
74
|
end
|
75
75
|
end
|
76
76
|
rescue LoadError
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 10
|
8
|
-
-
|
9
|
-
version: 0.10.
|
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:
|
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
|
-
-
|
32
|
-
version: 0.10.
|
31
|
+
- 12
|
32
|
+
version: 0.10.12
|
33
33
|
requirement: *id001
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
prerelease: false
|
@@ -81,8 +81,8 @@ dependencies:
|
|
81
81
|
segments:
|
82
82
|
- 0
|
83
83
|
- 10
|
84
|
-
-
|
85
|
-
version: 0.10.
|
84
|
+
- 12
|
85
|
+
version: 0.10.12
|
86
86
|
requirement: *id005
|
87
87
|
description: Implements the DataObjects API for PostgreSQL
|
88
88
|
email: d.bussink@gmail.com
|