diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-27 23:25:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-27 23:25:59 +0000 |
commit | ef66567984780b2ce8daa155c367bcf7e049ab77 (patch) | |
tree | 4b1af5aec8a45d8364255cc74019a43e95004b38 /lib/rainbows/coolio_support.rb | |
parent | 728496a31f34234b46d7025a23933aa06dd824f5 (diff) | |
download | rainbows-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/coolio_support.rb')
-rw-r--r-- | lib/rainbows/coolio_support.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/rainbows/coolio_support.rb b/lib/rainbows/coolio_support.rb new file mode 100644 index 0000000..d345395 --- /dev/null +++ b/lib/rainbows/coolio_support.rb @@ -0,0 +1,10 @@ +# -*- encoding: binary -*- +# :enddoc: +begin + require "coolio" + Coolio::VERSION >= "1.0.0" or abort "cool.io >= 1.0.0 is required" + Rev = Coolio +rescue LoadError + require "rev" + Rev::VERSION >= "0.3.0" or abort "rev >= 0.3.0 is required" +end |