about summary refs log tree commit homepage
path: root/lib/rainbows/rev.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-27 23:25:12 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-27 23:25:59 +0000
commitef66567984780b2ce8daa155c367bcf7e049ab77 (patch)
tree4b1af5aec8a45d8364255cc74019a43e95004b38 /lib/rainbows/rev.rb
parent728496a31f34234b46d7025a23933aa06dd824f5 (diff)
downloadrainbows-ef66567984780b2ce8daa155c367bcf7e049ab77.tar.gz
We still use and define Rev internally, but that's
mostly just manual labor of converting stuff over.
Diffstat (limited to 'lib/rainbows/rev.rb')
-rw-r--r--lib/rainbows/rev.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb
index 1e425fe..16d00aa 100644
--- a/lib/rainbows/rev.rb
+++ b/lib/rainbows/rev.rb
@@ -1,13 +1,5 @@
 # -*- encoding: binary -*-
-begin
-  require 'coolio'
-  Coolio::VERSION >= '1.0.0' or abort 'cool.io >= 1.0.0 is required'
-rescue LoadError
-  require 'rev'
-  Rev::VERSION >= '0.3.0' or abort 'rev >= 0.3.0 is required'
-end
-require 'rev' if defined?(Coolio)
-
+require 'rainbows/coolio_support'
 # Coolio is the new version of this, use that instead.
 #
 # Implements a basic single-threaded event model with