fluiddb 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/FluidDb.rb +6 -1
- metadata +2 -2
data/lib/FluidDb.rb
CHANGED
@@ -24,7 +24,12 @@ module FluidDb
|
|
24
24
|
#
|
25
25
|
# @param [String] uri a location for the resource to which we will attach, eg mysql://user:pass@127.0.0.1/foo
|
26
26
|
def initialize(uri)
|
27
|
-
|
27
|
+
if uri.kind_of? String then
|
28
|
+
@uri = Uri.parse( uri )
|
29
|
+
else
|
30
|
+
@uri = uri
|
31
|
+
end
|
32
|
+
|
28
33
|
self.connect
|
29
34
|
end
|
30
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluiddb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A semantic layer for db interaction
|
15
15
|
email: guy@guyirvine.com
|