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.)
YamlIdentityAdapter#authenticate
assumes a block is given to receive its result, whichhector identity authenticate <username> [password]
does not provide. This causes aLocalJumpError
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.)