Closed mariochavez closed 12 years ago
Can you send a pull request since you've fixed it?
Is there any chance to get this merge and release a new gem?, this is a show stopper to me.
mariochavez: will take a look asap (sorry, was out of town for a bit)
This pull request was merged. Going to cut 1.0.1 soon
Hi;
I'm trying to use basic auth, this is the way that I'm doing it - this code belongs to a class:
Then I'm calling my method like - c is the instance of my class -:
I got: ArgumentError: wrong number of arguments (3 for 2) from /Users/marioch/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/weary-1.0.0/lib/weary/middleware/basic_auth.rb:6:in `initialize'
Looking at basic_auth.rb file, a * is missing on credentials parameter, initialize method should be like:
After adding *, Weary is working just fine.