jdbc-postgres 9.4.1212 → 42.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c24495016d96853c98f473b5cbc291d67d63dd71
4
- data.tar.gz: 1bfcd74f8a86d18a2a39525e07cc41e7b66e5f76
3
+ metadata.gz: 97cc56e64427571a9d7b3cabc423bae5a75f29d0
4
+ data.tar.gz: e5367bda9e72cb0d52ee19940370750f59a81597
5
5
  SHA512:
6
- metadata.gz: 28ce10e311817c78602e67c3543777f1edb31002c7848be8ddd3feee0bd79bbd5b3d638530536c2697e89d4ec958919f2878fcc926f184cccd268b7c28274f6d
7
- data.tar.gz: e8df625360618689571a6d5cc26b1c1be4d02c7cf229a72edb29651baad346f16cea40137b252599c3155ae10841566578d06bd9e21c43f4d6123a9f4e162c9c
6
+ metadata.gz: 225451e6b57f713c35fe8a078493c7e76b055dcf38b112e35a1df4514cae81be0bc6862d4c47acb9597139ada554bcd337d3b7ff4c5e5056900168979be73461
7
+ data.tar.gz: 9e825dd418af4fcaa114d078bbfe591f2c706378abb7f4ce8bb321f3a2e06a4098f72cdfe7a503ff03ba8e86e1fd86e89fc7340c353cff4332e11dd6c5190f41
@@ -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
- 7 # NOTE: for 9.4 we only include 6/7 jars
37
+ nil # non-tagged X.Y.Z.jar
37
38
  end
38
39
  end
39
40
 
@@ -1,6 +1,6 @@
1
1
  module Jdbc
2
2
  module Postgres
3
- DRIVER_VERSION = '9.4.1212'
3
+ DRIVER_VERSION = '42.0.0'
4
4
  VERSION = DRIVER_VERSION
5
5
  end
6
6
  end
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.1212
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-10 00:00:00.000000000 Z
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-9.4.1212.jre6.jar
32
- - lib/postgresql-9.4.1212.jre7.jar
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