do_postgres 0.10.11 → 0.10.12
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/version.rb +1 -1
- data/spec/connection_spec.rb +1 -1
- data/tasks/compile.rake +1 -1
- metadata +5 -5
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
|
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: ruby
|
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
|
@@ -27,8 +27,8 @@ dependencies:
|
|
27
27
|
segments:
|
28
28
|
- 0
|
29
29
|
- 10
|
30
|
-
-
|
31
|
-
version: 0.10.
|
30
|
+
- 12
|
31
|
+
version: 0.10.12
|
32
32
|
type: :runtime
|
33
33
|
version_requirements: *id001
|
34
34
|
- !ruby/object:Gem::Dependency
|