servicesnapshot 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snapshot/fluiddb.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f1be3fcd0f532b39ff72a17dd853a554e1f6e04
|
4
|
+
data.tar.gz: 538166b5afa6c2f0c87293db9b5b08e99949743a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73aaa45d7498f6bc3f04f7a34129eaffa61ef1977ce4e9e3fbdbc4df1f6f68a42f06a7468773ef55abda6074c6c55266459f744a8d25cabf23ace4f19074300
|
7
|
+
data.tar.gz: c4015a49d532a40ccd4e25b069dbb5ce50d03e7f775c0285c3303bbf3cc425415a4afea2ada54d79b721407b7a7a92ee8eeea390801a409c79bf61fefdd7e2b0
|
data/lib/snapshot/fluiddb.rb
CHANGED
@@ -12,8 +12,8 @@ def fluiddb(params)
|
|
12
12
|
uri_string = get_param(params, :uri, usage)
|
13
13
|
sql_string = get_param(params, :sql, usage)
|
14
14
|
|
15
|
-
db = FluidDb2.
|
16
|
-
list = db.
|
15
|
+
db = FluidDb2.db(URI.parse(uri_string))
|
16
|
+
list = db.query_for_resultset(sql_string, [])
|
17
17
|
content = ''
|
18
18
|
if list.count == 0
|
19
19
|
content = 'No rows returned'
|