jdbc-postgres 9.4.1204 → 9.4.1206
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e513720a575c4c2b9a7097c7cd4c17034353c0ae
|
4
|
+
data.tar.gz: 524999a472cfcb127987fed35f0d8366e05f8779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c34575c9e575c4bd40258f567c4dbd36f6915be5b208e6dee1d7f54a97ecbc78f52a9a879531dd0476484c5a8fa95cda8ac50d8fe1dfbda7b78cc2ba06ad2421
|
7
|
+
data.tar.gz: 9240b7d46b21b4ba8925a782ae896501d96809685d9c6b0322d0f4c325f9b32ac3cc87fe3155e12343fcf0f897b061ba6589305f3b9021383d8e950f328c5668
|
data/lib/jdbc/postgres.rb
CHANGED
@@ -6,11 +6,11 @@ module Jdbc
|
|
6
6
|
|
7
7
|
def self.driver_jar
|
8
8
|
version_jdbc_version = DRIVER_VERSION.split( '.' )
|
9
|
-
if (
|
10
|
-
|
9
|
+
if ( jdbc_v = jdbc_version ).is_a? Float
|
10
|
+
jdbc_v = (jdbc_v * 10).to_i
|
11
11
|
end
|
12
|
-
version_jdbc_version <<
|
13
|
-
'postgresql-%s.%s-%s
|
12
|
+
version_jdbc_version << jdbc_v
|
13
|
+
'postgresql-%s.%s-%s-jdbc%d.jar' % version_jdbc_version
|
14
14
|
end
|
15
15
|
|
16
16
|
def self.load_driver(method = :load)
|
@@ -27,8 +27,6 @@ module Jdbc
|
|
27
27
|
'org.postgresql.Driver'
|
28
28
|
end
|
29
29
|
|
30
|
-
private
|
31
|
-
|
32
30
|
def self.jdbc_version
|
33
31
|
version = ENV_JAVA[ 'java.specification.version' ]
|
34
32
|
version = version.split('.').last.to_i # '1.7' => 7
|
@@ -41,6 +39,8 @@ module Jdbc
|
|
41
39
|
end
|
42
40
|
end
|
43
41
|
|
42
|
+
class << self; private :jdbc_version end
|
43
|
+
|
44
44
|
if defined?(JRUBY_VERSION) && # enable backwards-compat behavior :
|
45
45
|
( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
|
46
46
|
Java::JavaLang::Boolean.get_boolean("jdbc.postgres.autoload") )
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.4.
|
4
|
+
version: 9.4.1206
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Install this gem `require 'jdbc/postgres'` and invoke `Jdbc::Postgres.load_driver` within JRuby to load the driver.
|
14
14
|
email:
|
@@ -28,26 +28,26 @@ files:
|
|
28
28
|
- lib/jdbc/postgres/version.rb
|
29
29
|
- lib/jdbc/postgresql.rb
|
30
30
|
- lib/jdbc/postgresql/version.rb
|
31
|
-
- lib/postgresql-9.4-
|
32
|
-
- lib/postgresql-9.4-
|
31
|
+
- lib/postgresql-9.4-1206-jdbc4.jar
|
32
|
+
- lib/postgresql-9.4-1206-jdbc41.jar
|
33
33
|
homepage: http://github.com/jruby/activerecord-jdbc-adapter/tree/master/jdbc-postgres
|
34
34
|
licenses:
|
35
35
|
- BSD
|
36
36
|
metadata: {}
|
37
37
|
post_install_message:
|
38
38
|
rdoc_options:
|
39
|
-
- --main
|
39
|
+
- "--main"
|
40
40
|
- README.md
|
41
41
|
require_paths:
|
42
42
|
- lib
|
43
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
requirements: []
|