Looks like everything should work as before under 2.1.0.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
PATH
remote: .
specs:
- wikitext (4.0.2)
+ wikitext (4.0.2.99)
GEM
remote: https://rubygems.org/
specs:
- ZenTest (4.9.0)
+ ZenTest (4.9.5)
diff-lcs (1.2.1)
rake (10.0.3)
rspec (2.13.0)
exit 1
end
-case RUBY_VERSION
-when /\A2\.0/
- $CFLAGS += ' -DRUBY_2_0_x'
-else
+if RUBY_VERSION !~ /\A2\.[01]\./
raise "unsupported Ruby version: #{RUBY_VERSION}"
end
# prepend local directories to search path if not already present
basedir = Pathname.new(__dir__) + '..'
-extdir = (basedir + 'ext').realpath
+extdir = (basedir + 'ext' + 'wikitext').realpath
libdir = (basedir + 'lib').realpath
normalized = $:.map { |path| Pathname.new(path).realpath rescue path }
[libdir, extdir].each { |d| $:.unshift(d) unless normalized.include?(d) }