jfb 0.1.1 → 0.1.2
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/lib/jfb/jfb.rb +1 -1
- data/lib/jfb/version.rb +4 -1
- metadata +2 -3
- data/lib/jfb/.jfb.rb.swp +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 59634227345a02b3cfe1f19f2b22a3802f7429c8
|
|
4
|
+
data.tar.gz: c4891a87d5b5cfb40bae53ce92d967264c535a1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d07b39ecc8399c2f78bd67c9fe9c78fc2ad2e89c98cc92f990bc888dfc2114697a60801cf4ad6b2664f9be846a54e4bd42027b980364911949d8beb2fdae6fb9
|
|
7
|
+
data.tar.gz: 022ee051fb2fea558e71f5e63f8dcb7365b06e7471308f08cf3a572a270413d2658dd047f34586e2829b305f1272ab419659d41e629c4eecd20a3be9811c75b3
|
data/lib/jfb/jfb.rb
CHANGED
|
@@ -10,7 +10,7 @@ class JFB
|
|
|
10
10
|
def initialize(db_url, usr, pwd)
|
|
11
11
|
begin
|
|
12
12
|
if Jdbc::Firebird.load_driver then
|
|
13
|
-
@con = DriverManager.getConnection(db_url, usr, pwd)
|
|
13
|
+
@con = DriverManager.getConnection("jdbc:firebirdsql:" + db_url, usr, pwd)
|
|
14
14
|
|
|
15
15
|
@con.setAutoCommit false
|
|
16
16
|
@con.setHoldability ResultSet.HOLD_CURSORS_OVER_COMMIT
|
data/lib/jfb/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Jfb
|
|
2
|
-
VERSION = "0.1.
|
|
2
|
+
VERSION = "0.1.2"
|
|
3
3
|
|
|
4
4
|
#Version 0.1.0
|
|
5
5
|
# Creates proper interface with jdbc
|
|
@@ -8,4 +8,7 @@ module Jfb
|
|
|
8
8
|
|
|
9
9
|
#Version 0.1.1
|
|
10
10
|
# Adds dependency which I had forgot.
|
|
11
|
+
|
|
12
|
+
#Version 0.1.2
|
|
13
|
+
# Adds jdbc/firebird text to JDBC Connection.
|
|
11
14
|
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.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rCamposCruz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-12-
|
|
11
|
+
date: 2016-12-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -87,7 +87,6 @@ files:
|
|
|
87
87
|
- bin/setup
|
|
88
88
|
- jfb.gemspec
|
|
89
89
|
- lib/jfb.rb
|
|
90
|
-
- lib/jfb/.jfb.rb.swp
|
|
91
90
|
- lib/jfb/jfb.rb
|
|
92
91
|
- lib/jfb/rs.rb
|
|
93
92
|
- lib/jfb/version.rb
|
data/lib/jfb/.jfb.rb.swp
DELETED
|
Binary file
|