… be able to specify this programmatically in order to avoid being prompted.
Useful for changing the Rails-style querystrings, i.e. key=1&key=2 could become key=1&key=2 Closes gh-8
Sandro edited this commit from gilles to utilize his cucumber tests but leave the existing digest auth implementation in place
…ult_option functionality as basic_auth
New File: lib/net_http_digest.rb From: http://codesnippets.joyent.com/posts/show/1075 This extends Net::HTTP with a new digest_authentication method. Extended HTTParty to use this new functionality in a backwards compatible fashion. To use the new digest_auth method, merely use :digest_auth as your HTTParty credentials option instead of :basic_auth. HTTParty will take care of the rest.
Crack now supports the VERSION constant so we no longer have to ask if it exists before checking against it.
Additionally, removed the version.rb file as I don't think it was being used.