diff --git a/ext/shadow/extconf.rb b/ext/shadow/extconf.rb index 3e74834..449f26e 100644 --- a/ext/shadow/extconf.rb +++ b/ext/shadow/extconf.rb @@ -6,7 +6,7 @@ require 'mkmf' -$CFLAGS = RUBY_VERSION =~ /1\.8/ ? '-DRUBY18' : '' +$CFLAGS = RUBY_VERSION =~ /^1\.8/ ? '-DRUBY18' : '' if( ! (ok = have_library("shadow","getspent")) ) ok = have_func("getspent") diff --git a/lib/libshadow.rb b/lib/libshadow.rb index e70706b..ab2c8e2 100644 --- a/lib/libshadow.rb +++ b/lib/libshadow.rb @@ -1,5 +1,5 @@ require "shadow" module Shadow - VERSION = "1.0.1" + VERSION = "1.0.2" end diff --git a/libshadow.gemspec b/libshadow.gemspec index b76592d..1f24fbd 100644 --- a/libshadow.gemspec +++ b/libshadow.gemspec @@ -3,7 +3,7 @@ Gem::Specification.new do |s| s.summary = %q{shadow.h} s.description = %q{Ruby C Extension for shadow access} s.homepage = %q{http://github.com/railsmachine/libshadow} - s.version = '1.0.1' + s.version = '1.0.2' s.authors = ["Jesse Newland", "Lee Jones"] s.email = %q{ops@railsmachine.com}