jfb 0.3.9 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jfb/jaybird-2.2.14.jar +0 -0
- data/lib/jfb/jfb.rb +4 -3
- data/lib/jfb/version.rb +5 -1
- metadata +4 -4
- data/lib/jfb/jaybird-2.2.10.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: c8a424a1c9ffd019db270dfa821368ff57c5a4ad
|
4
|
+
data.tar.gz: e68984d8948ea2daa554710fcdf0b48bc7926ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51a2f24e1385c125bfdc694e5fc67ac3888e8a2e23ed92819d7ca360fe09336080779c98ca42dec3760ee12d217d025ef9c259cc3214a1b6c02a295966da8aaf
|
7
|
+
data.tar.gz: 66f7ef0a1d3517ba05c3a7e1917ea6bb8bb71ff4a06da5eee9f68460c7fddf9ab22355c1c937127bf28316aca2ecdd590e4de7d7096010b7506e18c672a9323f
|
Binary file
|
data/lib/jfb/jfb.rb
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
require_relative 'rs'
|
2
|
-
require_relative 'jaybird-2.2.
|
2
|
+
require_relative 'jaybird-2.2.14.jar'
|
3
3
|
java_import 'java.sql.ResultSet'
|
4
4
|
java_import 'java.sql.SQLRecoverableException'
|
5
5
|
|
6
6
|
class JFB
|
7
|
-
|
8
|
-
@closed = true
|
7
|
+
attr_accessor :closed
|
9
8
|
|
10
9
|
def initialize(db_url, usr, pwd)
|
11
10
|
Java::JavaClass.for_name("org.firebirdsql.jdbc.FBDriver")
|
12
11
|
fbd = org.firebirdsql.jdbc.FBDriver.new
|
12
|
+
@closed = true
|
13
|
+
@con = nil
|
13
14
|
|
14
15
|
if fbd.acceptsURL("jdbc:firebirdsql:#{db_url}") then
|
15
16
|
Java::JavaClass.for_name("java.util.Properties")
|
data/lib/jfb/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Jfb
|
2
|
-
VERSION = "0.
|
2
|
+
VERSION = "0.4.9"
|
3
3
|
|
4
4
|
#What the numbers mean: rr.ff.hh
|
5
5
|
# rr: Major releases and changes in the project;
|
@@ -46,4 +46,8 @@ module Jfb
|
|
46
46
|
|
47
47
|
#Version 0.3.9
|
48
48
|
# Improves error reporting.
|
49
|
+
|
50
|
+
#Version 0.4.9
|
51
|
+
# Adds interface for connection status because who would imagine that this would be important? (me, I should have)
|
52
|
+
# Updates Jaybird to 2.2.14
|
49
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jfb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rCamposCruz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,7 @@ files:
|
|
72
72
|
- bin/setup
|
73
73
|
- jfb.gemspec
|
74
74
|
- lib/jfb.rb
|
75
|
-
- lib/jfb/jaybird-2.2.
|
75
|
+
- lib/jfb/jaybird-2.2.14.jar
|
76
76
|
- lib/jfb/jfb.rb
|
77
77
|
- lib/jfb/rs.rb
|
78
78
|
- lib/jfb/version.rb
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.6.
|
99
|
+
rubygems_version: 2.6.13
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Gem which interfaces ruby and JDBC.
|
data/lib/jfb/jaybird-2.2.10.jar
DELETED
Binary file
|