Browse files

remove debug puts

  • Loading branch information...
1 parent acb747d commit 08735514a5da0f6f9e4f1c5ebb434654614daff9 Jesse Stuart committed Oct 3, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/omniauth/strategies/tent.rb
View
6 lib/omniauth/strategies/tent.rb
@@ -62,14 +62,11 @@ def perform_discovery!
end
def find_or_create_app!
- puts 'find_or_create_app!'
app = Hashie::Mash.new(options[:get_app].call(get_state(:entity)) || {})
- puts "find_or_create_app! - app[:id] => #{app[:id].inspect}"
app[:id] ? set_app(app) : create_app
end
def set_app(app)
- puts "set_app: #{app.inspect}"
set_state(:app, app)
end
@@ -87,15 +84,12 @@ def create_app
:url => options.app.url,
:redirect_uris => options.app.redirect_uris || [callback_url]
}
- puts "create_app - app_attrs => #{app_attrs.inspect}"
res = client.app.create(app_attrs)
- puts "create_app - app => #{res.inspect}"
if (app = res.body) && !app.kind_of?(::String)
set_app(app)
else
- puts "create_app - fail!"
fail!(:app_create_failure, AppCreateFailure.new(res.body))
end
end

0 comments on commit 0873551

Please sign in to comment.