Skip to content

Commit

Permalink
Removed EM detection from configuration (async driver must be set thr…
Browse files Browse the repository at this point in the history
…u config)
  • Loading branch information
jeremyvdw committed May 18, 2011
1 parent caeb74d commit 6a17641
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/disqussion/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ module Configuration
# The adapter that will be used to connect if none is set
#
# @note The default faraday adapter is Net::HTTP.
DEFAULT_ADAPTER = if defined?(EventMachine) && EM.reactor_running?
EMSynchrony
else
Faraday.default_adapter
end
DEFAULT_ADAPTER = Faraday.default_adapter

# By default, don't set an application key
DEFAULT_API_KEY = nil
Expand Down
2 changes: 1 addition & 1 deletion lib/disqussion/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Disqussion
VERSION = '0.0.1'.freeze unless defined?(::Disqussion::VERSION)
VERSION = '0.0.2'.freeze unless defined?(::Disqussion::VERSION)
end

0 comments on commit 6a17641

Please sign in to comment.