jdbc-firebird 2.2.4 → 2.2.7
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 +4 -4
- data/History.txt +11 -0
- data/Rakefile +1 -0
- data/jdbc-firebird.gemspec +24 -0
- data/lib/jdbc/firebird.rb +11 -1
- data/lib/jdbc/firebird/version.rb +1 -1
- data/lib/{jaybird-2.2.4.jar → jdk16/jaybird-2.2.7.jar} +0 -0
- data/lib/jdk17/jaybird-2.2.7.jar +0 -0
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd0b131e5adc59d4c3aaad3a6aebbbe74e81a35f
|
4
|
+
data.tar.gz: 59afd03279187d7b3a2c69c1c04014840d0a7a24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf1ddd88cea0629fa89be2051fe446c81afaff8eddcd7744fb499b3cdf759c07a3332e20bbb6a1810f6cab741fbaed9f761272b1cd82f5ae32e6f5f60d00d3af
|
7
|
+
data.tar.gz: af82529c76b15240e2db2cd82783a0b48e184ea8c54835a3228c3dfb906f672c69d724027015998625b91a86b32179a0fdca1869d705296059e3575eab4c3003
|
data/History.txt
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
== 2.2.7
|
2
|
+
|
3
|
+
* Based on Jaybird 2.2.7 (see changes since 2.2.4)
|
4
|
+
http://www.firebirdsql.org/file/documentation/drivers_documentation/java/2.2.7/release_notes.html#__RefHeading__6537_1196219519
|
5
|
+
|
6
|
+
* jdk16 and jdk17 versions of jaybird jar are packed and used based on Java version
|
7
|
+
|
8
|
+
== 2.2.4
|
9
|
+
|
10
|
+
* Based on Jaybird 2.2.4
|
11
|
+
http://www.firebirdsql.org/file/documentation/drivers_documentation/java/2.2.7/release_notes.html#__RefHeading__4798_1756560361
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
load File.expand_path('../Rakefile.jdbc', File.dirname(__FILE__))
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$LOAD_PATH << File.expand_path('../lib', __FILE__)
|
3
|
+
require 'jdbc/firebird/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = %q{jdbc-firebird}
|
7
|
+
gem.version = Jdbc::Firebird::VERSION
|
8
|
+
|
9
|
+
gem.authors = ["Karol Bucek"]
|
10
|
+
gem.email = %q{self@kares.org}
|
11
|
+
|
12
|
+
gem.authors = ['Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors']
|
13
|
+
gem.email = ['nick@nicksieger.com', 'ola.bini@gmail.com', 'self@kares.org']
|
14
|
+
gem.homepage = 'http://github.com/jruby/activerecord-jdbc-adapter/tree/master/jdbc-firebird'
|
15
|
+
gem.licenses = ['LGPL']
|
16
|
+
|
17
|
+
Dir.chdir(File.dirname(__FILE__)) { gem.files = `git ls-files`.split("\n") }
|
18
|
+
|
19
|
+
gem.rdoc_options = ["--main", "README.md"]
|
20
|
+
gem.require_paths = ["lib"]
|
21
|
+
|
22
|
+
gem.summary = %q{FireBird JDBC driver (a.k.a. JayBird) for JRuby and FireBird/ActiveRecord-JDBC.}
|
23
|
+
gem.description = %q{Install this gem `require 'jdbc/firebird'` and invoke `Jdbc::FireBird.load_driver` within JRuby to load the driver.}
|
24
|
+
end
|
data/lib/jdbc/firebird.rb
CHANGED
@@ -5,7 +5,7 @@ module Jdbc
|
|
5
5
|
module Firebird
|
6
6
|
|
7
7
|
def self.driver_jar
|
8
|
-
"jaybird-#{DRIVER_VERSION}.jar"
|
8
|
+
"#{jdk_qualifier}/jaybird-#{DRIVER_VERSION}.jar"
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.load_driver(method = :load)
|
@@ -27,6 +27,16 @@ module Jdbc
|
|
27
27
|
|
28
28
|
private
|
29
29
|
|
30
|
+
def self.jdk_qualifier
|
31
|
+
version = ENV_JAVA[ 'java.specification.version' ]
|
32
|
+
version = version.split('.').last.to_i # '1.7' => 7
|
33
|
+
if version >= 7
|
34
|
+
'jdk17' # loading JDBC 4.1 version on JDK-8
|
35
|
+
else # JDBC >= 4.1
|
36
|
+
'jdk16'
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
30
40
|
@@connector_api = nil
|
31
41
|
|
32
42
|
def self.load_connector_api(method = :load)
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-firebird
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.7
|
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: 2015-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Install this gem `require 'jdbc/firebird'` and invoke `Jdbc::FireBird.load_driver` within JRuby to load the driver.
|
14
14
|
email:
|
@@ -19,14 +19,18 @@ executables: []
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- History.txt
|
22
23
|
- LICENSE.txt
|
23
24
|
- README.md
|
25
|
+
- Rakefile
|
26
|
+
- jdbc-firebird.gemspec
|
24
27
|
- lib/antlr-runtime-3.4.jar
|
25
28
|
- lib/connector-api-1.5.jar
|
26
|
-
- lib/jaybird-2.2.4.jar
|
27
29
|
- lib/jdbc/firebird.rb
|
28
30
|
- lib/jdbc/firebird/version.rb
|
29
|
-
|
31
|
+
- lib/jdk16/jaybird-2.2.7.jar
|
32
|
+
- lib/jdk17/jaybird-2.2.7.jar
|
33
|
+
homepage: http://github.com/jruby/activerecord-jdbc-adapter/tree/master/jdbc-firebird
|
30
34
|
licenses:
|
31
35
|
- LGPL
|
32
36
|
metadata: {}
|
@@ -48,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
52
|
version: '0'
|
49
53
|
requirements: []
|
50
54
|
rubyforge_project:
|
51
|
-
rubygems_version: 2.
|
55
|
+
rubygems_version: 2.4.5
|
52
56
|
signing_key:
|
53
57
|
specification_version: 4
|
54
58
|
summary: FireBird JDBC driver (a.k.a. JayBird) for JRuby and FireBird/ActiveRecord-JDBC.
|