jdbc-postgres 9.4.1212 → 42.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jdbc/postgres.rb +4 -3
- data/lib/jdbc/postgres/version.rb +1 -1
- data/lib/postgresql-42.0.0.jar +0 -0
- data/lib/postgresql-42.0.0.jre6.jar +0 -0
- data/lib/postgresql-42.0.0.jre7.jar +0 -0
- metadata +5 -4
- data/lib/postgresql-9.4.1212.jre6.jar +0 -0
- data/lib/postgresql-9.4.1212.jre7.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97cc56e64427571a9d7b3cabc423bae5a75f29d0
|
4
|
+
data.tar.gz: e5367bda9e72cb0d52ee19940370750f59a81597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225451e6b57f713c35fe8a078493c7e76b055dcf38b112e35a1df4514cae81be0bc6862d4c47acb9597139ada554bcd337d3b7ff4c5e5056900168979be73461
|
7
|
+
data.tar.gz: 9e825dd418af4fcaa114d078bbfe591f2c706378abb7f4ce8bb321f3a2e06a4098f72cdfe7a503ff03ba8e86e1fd86e89fc7340c353cff4332e11dd6c5190f41
|
data/lib/jdbc/postgres.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
warn "Jdbc-Postgres is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true)
|
2
1
|
require 'jdbc/postgres/version'
|
3
2
|
|
4
3
|
module Jdbc
|
@@ -27,13 +26,15 @@ module Jdbc
|
|
27
26
|
|
28
27
|
def self.jre_version
|
29
28
|
version = ENV_JAVA[ 'java.specification.version' ]
|
30
|
-
version = version.split('.').last.to_i # '1.7' => 7
|
29
|
+
version = version.split('.').last.to_i # '1.7' => 7, '9' => 9
|
31
30
|
if version < 6
|
32
31
|
5 # not supported
|
33
32
|
elsif version == 6
|
34
33
|
6
|
34
|
+
elsif version == 7
|
35
|
+
7
|
35
36
|
else
|
36
|
-
|
37
|
+
nil # non-tagged X.Y.Z.jar
|
37
38
|
end
|
38
39
|
end
|
39
40
|
|
Binary file
|
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:
|
4
|
+
version: 42.0.0
|
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: 2017-11-
|
11
|
+
date: 2017-11-12 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,8 +28,9 @@ files:
|
|
28
28
|
- lib/jdbc/postgres/version.rb
|
29
29
|
- lib/jdbc/postgresql.rb
|
30
30
|
- lib/jdbc/postgresql/version.rb
|
31
|
-
- lib/postgresql-
|
32
|
-
- lib/postgresql-
|
31
|
+
- lib/postgresql-42.0.0.jar
|
32
|
+
- lib/postgresql-42.0.0.jre6.jar
|
33
|
+
- lib/postgresql-42.0.0.jre7.jar
|
33
34
|
homepage: http://github.com/jruby/activerecord-jdbc-adapter/tree/master/jdbc-postgres
|
34
35
|
licenses:
|
35
36
|
- BSD
|
Binary file
|
Binary file
|