Skip to content

Commit

Permalink
Require socket for SocketError
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jan 16, 2014
1 parent c2a418f commit 3fb7e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/omniauth/strategies/oauth2.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
require 'oauth2'
require 'omniauth'
require 'securerandom'
require 'timeout'
require 'socket' # for SocketError
require 'timeout' # for Timeout::Error

module OmniAuth
module Strategies
Expand Down

0 comments on commit 3fb7e51

Please sign in to comment.