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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e5d565f9c97e603fd5a4c07419e483eb8347f7a
4
- data.tar.gz: 1a5b295e418c282b85cf461cfdccd4f9bbc33954
3
+ metadata.gz: 59634227345a02b3cfe1f19f2b22a3802f7429c8
4
+ data.tar.gz: c4891a87d5b5cfb40bae53ce92d967264c535a1d
5
5
  SHA512:
6
- metadata.gz: 6966dde52ead171ea29dacc0c6e470bca2b99cec8d688ca71864f2802631048ac096097698cad51affcc190a452aafd725259bcb9f5dc65ae68a30d334560b65
7
- data.tar.gz: fd5dc9a94fd3dc1e22e00ae427afbf3bd70c99586e890bad3463792a30727796e133108ec32ac382fcd4e61cd11d86072266cac733e5356acf775887d539b3d8
6
+ metadata.gz: d07b39ecc8399c2f78bd67c9fe9c78fc2ad2e89c98cc92f990bc888dfc2114697a60801cf4ad6b2664f9be846a54e4bd42027b980364911949d8beb2fdae6fb9
7
+ data.tar.gz: 022ee051fb2fea558e71f5e63f8dcb7365b06e7471308f08cf3a572a270413d2658dd047f34586e2829b305f1272ab419659d41e629c4eecd20a3be9811c75b3
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Jfb
2
- VERSION = "0.1.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.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-20 00:00:00.000000000 Z
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
Binary file