jfb 0.2.8 → 0.2.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jfb/jfb.rb +6 -0
  3. data/lib/jfb/version.rb +5 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e4378738a55ac74b91e11966f5ed44b65a02a85
4
- data.tar.gz: 8372cbea823aa8246193c585bbb97390eba8e44c
3
+ metadata.gz: 25ec31237d41218ae73629d00a2def1f8e61b9dd
4
+ data.tar.gz: 6ac7a920fa3a3c85ae42eb7950864dd39a0ef2e2
5
5
  SHA512:
6
- metadata.gz: 3b1eed600ea942473175941116a50a6992ab3585cf4604207f7dba074a4b909399a81792af43bf65c897ee4ea5f06f450e22923bf85fe0ed74679e3b609ff680
7
- data.tar.gz: 89f9a5ba66458f46a0edd17ed8a2349b993401bd48086e482a2ff891d1b27922e2b712d6cbad11ed03aee5225b2fea709cfad264ded69d7616d9b87838bd7a86
6
+ metadata.gz: 70d24b930b427b8266f58f35925445e04cee57312cc80de5a402e616ca1269fbd3343b5a738d87b55299b6ae0159c12e6c9252d15d1918be7e1314add076aea4
7
+ data.tar.gz: cf25bf943a4644e64433a56260b08e1c30238b3b7163480dc0f044afe8c6f4c3d02aa87fdf6eb369259872255015e7e55d3cfe20c0a0454c7430ec1d38447a24
@@ -62,6 +62,12 @@ class JFB
62
62
  end
63
63
  end
64
64
 
65
+ def commit
66
+ if not @closed then
67
+ @con.commit()
68
+ end
69
+ end
70
+
65
71
  def close
66
72
  if not @closed then
67
73
  @con.commit()
@@ -1,9 +1,9 @@
1
1
  module Jfb
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
 
4
4
  #Version 0.1.0
5
5
  # Creates proper interface with jdbc
6
- # creater interface for ResultSet Class
6
+ # creates interface for ResultSet Class
7
7
  # Handles exceptions and drivers
8
8
 
9
9
  #Version 0.1.1
@@ -35,4 +35,7 @@ module Jfb
35
35
 
36
36
  #Version 0.2.8
37
37
  # Removed Exception class unnecessary importation to prevent warnings.
38
+
39
+ #Version 0.2.9
40
+ # Adds commit function.
38
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jfb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - rCamposCruz