1
0
Fork 0
mirror of https://github.com/mperham/connection_pool synced 2023-03-27 23:22:21 -04:00

Merge pull request #1 from tjsingleton/master

1.8 && Redis fix
This commit is contained in:
Mike Perham 2011-09-18 14:04:13 -07:00
commit 74ce90a770
2 changed files with 3 additions and 1 deletions

View file

@ -26,6 +26,8 @@ require 'connection_pool/timed_queue'
class ConnectionPool
DEFAULTS = { :size => 5, :timeout => 5 }
undef :type if defined?(type)
def initialize(options={})
raise ArgumentError, 'Connection pool requires a block' unless block_given?

View file

@ -1,3 +1,3 @@
module ConnectionPool
class ConnectionPool
VERSION = "0.0.3"
end