lib/em-synchrony.rb in em-synchrony-0.2.0 vs lib/em-synchrony.rb in em-synchrony-0.3.0.beta.1

- old
+ new

@@ -10,10 +10,10 @@ require "em-synchrony/thread" require "em-synchrony/em-multi" require "em-synchrony/tcpsocket" require "em-synchrony/connection_pool" -require "em-synchrony/iterator" unless EventMachine::VERSION >= '0.12.10' +require "em-synchrony/iterator" if EventMachine::VERSION > '0.12.10' module EventMachine # A convenience method for wrapping EM.run body within # a Ruby Fiber such that async operations can be transparently