fluiddb 0.0.23 → 0.0.24
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.
- data/lib/FluidDb/TinyTds.rb +2 -2
- metadata +1 -1
data/lib/FluidDb/TinyTds.rb
CHANGED
@@ -29,10 +29,10 @@ module FluidDb
|
|
29
29
|
puts "*** Warning - you will normally need to specify both a username and password for the tinytds driver to work correctly."
|
30
30
|
end
|
31
31
|
|
32
|
-
hash = Hash[
|
32
|
+
hash = Hash[:username, username, :password, password, :database, database, :dataserver, dataserver]
|
33
33
|
if !uri.query.nil? then
|
34
34
|
cgi = CGI.parse( uri.query )
|
35
|
-
hash[
|
35
|
+
hash[:timeout] = cgi["timeout"][0].to_i if cgi.has_key?( "timeout" )
|
36
36
|
end
|
37
37
|
|
38
38
|
@connection = ::TinyTds::Client.new( hash )
|