about summary refs log tree commit homepage
path: root/lib/rainbows/rev.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-26 00:46:00 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-26 02:26:22 -0700
commit9248ead0ae16091ea0c362930391834c0f32891c (patch)
treed2413604803925316d9238f6478b315bea69ab80 /lib/rainbows/rev.rb
parent75dc614539e2045cc8b4189c2c8e92654e77c78f (diff)
downloadrainbows-9248ead0ae16091ea0c362930391834c0f32891c.tar.gz
rev: enforce Rev::VERSION >= 0.3.0
We depend on the ability to create listeners from existing IO
objects here.
Diffstat (limited to 'lib/rainbows/rev.rb')
-rw-r--r--lib/rainbows/rev.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb
index e726ad2..d2bbc49 100644
--- a/lib/rainbows/rev.rb
+++ b/lib/rainbows/rev.rb
@@ -1,5 +1,6 @@
 # -*- encoding: binary -*-
 require 'rev'
+Rev::VERSION >= '0.3.0' or abort 'rev >= 0.3.0 is required'
 require 'rainbows/ev_core'
 
 module Rainbows