Skip to content

Commit

Permalink
Add require 'multi_json' to Dopplr. Hopefully closes #136.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Jan 2, 2011
1 parent 5258d9d commit 4728849
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions oa-core/lib/omniauth/builder.rb
@@ -1,7 +1,7 @@
require 'omniauth/core'

module OmniAuth
class Builder < Rack::Builder
class Builder < ::Rack::Builder
def initialize(app, &block)
@app = app
super(&block)
Expand Down Expand Up @@ -30,4 +30,4 @@ def call(env)
to_app.call(env)
end
end
end
end
3 changes: 2 additions & 1 deletion oa-core/lib/omniauth/strategy.rb
Expand Up @@ -46,7 +46,8 @@ def request_phase

def callback_phase
@env['omniauth.auth'] = auth_hash
call_app!

call_app!
end

def path_prefix
Expand Down
1 change: 1 addition & 0 deletions oa-oauth/lib/omniauth/strategies/dopplr.rb
@@ -1,4 +1,5 @@
require 'omniauth/oauth'
require 'multi_json'

module OmniAuth
module Strategies
Expand Down

0 comments on commit 4728849

Please sign in to comment.