diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-11-06 02:57:07 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-11-06 02:58:02 +0000 |
commit | 31da4fee4f05cf3ba0359ae11c622440c01ff90b (patch) | |
tree | 027413669e84fac6cbe83311c0991bf75f55b899 | |
parent | 9aebe2b94197aa2ad653ea971cb8f06e14c065fa (diff) | |
download | clogger-31da4fee4f05cf3ba0359ae11c622440c01ff90b.tar.gz |
Ruby 2.0.0preview1 is out, and we happen to be compatible (with some harmless linker/build warnings)
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | ext/clogger_ext/extconf.rb | 5 |
2 files changed, 1 insertions, 6 deletions
@@ -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') |