fluiddb2 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d7fc768792a572f2f218882388672402c9e997f
4
- data.tar.gz: bd7b314edea9ee8b374d7d25d1c23b5bc4dc58c2
3
+ metadata.gz: 3b66964556a1ed56b87cdb02670f8d1097c8c38e
4
+ data.tar.gz: e1a16af78958850da768dde77413e4155f3fde59
5
5
  SHA512:
6
- metadata.gz: 433accb089f32098956b4e96e7ada53cee25915a1dd0b84df332ba901e2c2055190bdcd8568dbb52c67cf939aa46831ca3ae806a3bb1fbb8ed86f1b5adb86065
7
- data.tar.gz: 589236691d306c76597dccbe56052932d455498fc03576dbc0be440dd04cac9e515f521508054350b74e15fad6698d07cf02ee915cf6de0e193e5e5457ee95bf
6
+ metadata.gz: 8d5c204f01491a4c7258ac59b2cf50590e5443d31c1446689ece8f35eed3a1802fbc49c4cb3cde50df66b9f64a5c5269a192e34c59617fa85e7048b74d7be62d
7
+ data.tar.gz: cc758035ce3af820eb923fba5638c27bcbc483305b357633cd18b955d05424c59c43c6a53ced57f1a1f40baa92511d0e213c4a3d7d1a48047a98bf5400770bfe
data/lib/fluiddb2.rb CHANGED
@@ -192,7 +192,7 @@ module FluidDb2
192
192
 
193
193
  # Transaction Semantics
194
194
  def begin
195
- @connection.execute('BEGIN', [])
195
+ @connection.execute('BEGIN')
196
196
  end
197
197
 
198
198
  # Transaction Semantics
@@ -135,5 +135,20 @@ module FluidDb2
135
135
  def insert(_sql, _params)
136
136
  fail 'Not implemented'
137
137
  end
138
+
139
+ # Transaction Semantics
140
+ def begin
141
+ @connection.execute('BEGIN')
142
+ end
143
+
144
+ # Transaction Semantics
145
+ def commit
146
+ @connection.execute('COMMIT')
147
+ end
148
+
149
+ # Transaction Semantics
150
+ def rollback
151
+ @connection.execute('ROLLBACK')
152
+ end
138
153
  end
139
154
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluiddb2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-31 00:00:00.000000000 Z
11
+ date: 2016-08-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A semantic layer for db interaction
14
14
  email: guy@guyirvine.com