jfb 0.3.9 → 0.4.9

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: ac4dc04f6a5c33ffdab4bc7b787d7a8865246d7a
4
- data.tar.gz: a5b21418c2b6ea791e70a9567246925613bb5cb0
3
+ metadata.gz: c8a424a1c9ffd019db270dfa821368ff57c5a4ad
4
+ data.tar.gz: e68984d8948ea2daa554710fcdf0b48bc7926ad0
5
5
  SHA512:
6
- metadata.gz: a8473f3b4811eca96c6ae03b9cd16a7f7e9ca9c2acd547a85c05c7ee6f27cdcfdf847689b849f72db2e43eb59ae6257dc52c9720cb95cb055a77575534692097
7
- data.tar.gz: 6f1c3bafb3a2a659bd7a8c830a7629797d84fb3cad6b15ed85dcc301f16f44a792a18fd298356e1efdd73fae15d2c0168d29ffcd7158cc1c7bcb01e532a24c07
6
+ metadata.gz: 51a2f24e1385c125bfdc694e5fc67ac3888e8a2e23ed92819d7ca360fe09336080779c98ca42dec3760ee12d217d025ef9c259cc3214a1b6c02a295966da8aaf
7
+ data.tar.gz: 66f7ef0a1d3517ba05c3a7e1917ea6bb8bb71ff4a06da5eee9f68460c7fddf9ab22355c1c937127bf28316aca2ecdd590e4de7d7096010b7506e18c672a9323f
@@ -1,15 +1,16 @@
1
1
  require_relative 'rs'
2
- require_relative 'jaybird-2.2.10.jar'
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
- @con = nil
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")
@@ -1,5 +1,5 @@
1
1
  module Jfb
2
- VERSION = "0.3.9"
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.3.9
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: 2017-01-31 00:00:00.000000000 Z
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.10.jar
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.8
99
+ rubygems_version: 2.6.13
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Gem which interfaces ruby and JDBC.
Binary file