adhearsion/punchblock — Issue #77: Connection options required to be a symbol?
Author: jsgoecke
Created: 2011-10-26 21:41:52+00:00
State: open
Labels: Pending Details

Right now it appears when I do a Connect.new it requires that the uname/passwd be passed in as symbols for the key:

/Users/jsgoecke/.rvm/gems/ruby-1.9.2-p180/gems/punchblock-0.4.3/lib/punchblock/connection.rb:27:in `initialize': ArgumentError (ArgumentError)
from rayo_driver.rb:21:in `new'
from rayo_driver.rb:21:in `

'

Line 27 is here:

'''ruby
raise ArgumentError unless (@username = options[:username]) && options[:password]
'''

Seems that maybe it should allow keys to be strings too.