intridea/omniauth — pull request #762 by charlieok (2014-08-06 16:49:25+00:00)
Title: Treat dynamic request_path like callback_path

I'm using dynamic paths (see https://github.com/intridea/omniauth/issues/585 ) and ran into an issue when running code such as:

if on_path?("#{request_path}/metadata")

The request_path method was not doing the right thing when a proc was passed to options[:request_path]. This is a simple fix for that.