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 +4 -4
- data/lib/fluiddb2.rb +1 -1
- data/lib/fluiddb2/tiny_tds.rb +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b66964556a1ed56b87cdb02670f8d1097c8c38e
|
4
|
+
data.tar.gz: e1a16af78958850da768dde77413e4155f3fde59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5c204f01491a4c7258ac59b2cf50590e5443d31c1446689ece8f35eed3a1802fbc49c4cb3cde50df66b9f64a5c5269a192e34c59617fa85e7048b74d7be62d
|
7
|
+
data.tar.gz: cc758035ce3af820eb923fba5638c27bcbc483305b357633cd18b955d05424c59c43c6a53ced57f1a1f40baa92511d0e213c4a3d7d1a48047a98bf5400770bfe
|
data/lib/fluiddb2.rb
CHANGED
data/lib/fluiddb2/tiny_tds.rb
CHANGED
@@ -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.
|
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-
|
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
|