sstephenson / hector

A private group chat server for people you trust
MIT License
131 stars 15 forks source link

LocalJumpError raised in hector-identity authenticate #27

Closed raws closed 13 years ago

raws commented 13 years ago

YamlIdentityAdapter#authenticate assumes a block is given to receive its result, which hector identity authenticate <username> [password] does not provide. This causes a LocalJumpError in Ruby 1.9.3 (and possibly previous Ruby versions).

What's the most elegant solution?

(N.B. I created this issue mainly because I am too groggy to be trusted with code right now. I'll revisit it tomorrow.)