jfairbairn/em-net-http — pull request #7 by ivmaykov (2013-03-09 00:34:31+00:00)
Title: Fixed a compatibility issue w/ Faraday using Net::HTTP adapter

Fixed a compatibility issue w/ Faraday using Net::HTTP adapter. Faraday creates a Net::HTTPGenericRequest directly (at https://github.com/lostisland/faraday/blob/master/lib/faraday/adapter/net_http.rb#L55), which does not have a ::METHOD constant defined, so we have to use #method to get the HTTP method name.