about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-11-06 02:57:07 +0000
committerEric Wong <normalperson@yhbt.net>2012-11-06 02:58:02 +0000
commit31da4fee4f05cf3ba0359ae11c622440c01ff90b (patch)
tree027413669e84fac6cbe83311c0991bf75f55b899
parent9aebe2b94197aa2ad653ea971cb8f06e14c065fa (diff)
downloadclogger-31da4fee4f05cf3ba0359ae11c622440c01ff90b.tar.gz
Ruby 2.0.0preview1 is out, and we happen to be compatible
(with some harmless linker/build warnings)
-rw-r--r--README2
-rw-r--r--ext/clogger_ext/extconf.rb5
2 files changed, 1 insertions, 6 deletions
diff --git a/README b/README
index a560562..50e7e79 100644
--- a/README
+++ b/README
@@ -24,7 +24,7 @@ is customizable so you can specify exactly which fields to log.
 
 * Pure Ruby version for non-MRI versions of Ruby (or via CLOGGER_PURE=1
   in the environment).  The optional C extension is loaded by default
-  and supported under MRI 1.8.7, 1.9.1, 1.9.2, 1.9.3 and Rubinius.
+  and supported under MRI 1.8.7, 1.9, 2.0 and Rubinius.
 
 == SYNOPSIS
 
diff --git a/ext/clogger_ext/extconf.rb b/ext/clogger_ext/extconf.rb
index 1a28319..99f7deb 100644
--- a/ext/clogger_ext/extconf.rb
+++ b/ext/clogger_ext/extconf.rb
@@ -2,11 +2,6 @@ begin
   require 'mkmf'
   $CPPFLAGS += " -D_BSD_SOURCE=1 "
 
-  # XXX let me know if this works for you...
-  if ! defined?(RUBY_VERSION) || RUBY_VERSION !~ /\A1\.[89]\./
-    raise "Invalid RUBY_VERSION for C extension"
-  end
-
   have_header('ruby.h') or raise "ruby.h header not found!"
 
   if have_header('fcntl.h')