Permalink
Browse files

fixed problem with compiling on the latest rubinius

  • Loading branch information...
1 parent fc23d0f commit 22d462713059d57eab382483779401a1108a7be8 @ohler55 committed Dec 1, 2013
Showing with 571 additions and 637 deletions.
  1. +2 −2 README.md
  2. +5 −49 build_test.sh
  3. +548 −568 ext/ox/dump.c
  4. +2 −1 ext/ox/extconf.rb
  5. +1 −1 lib/ox/version.rb
  6. +1 −0 test/sax/sax_test.rb
  7. +12 −16 test/tests.rb
View
@@ -34,9 +34,9 @@ A fast XML parser and Object marshaller as a Ruby gem.
## <a name="release">Release Notes</a>
-### Release 2.0.11
+### Release 2.0.12
- - Added support for BigDecimals in :object mode.
+ - Fixed problem compiling with latest version of Rubinius.
## <a name="description">Description</a>
View
@@ -1,15 +1,11 @@
#!/bin/sh
-export RBXOPT=-X19
-
for ruby in \
- 1.8.7-p334\
- 1.9.2-p290\
- rbx-1.2.4\
- rbx-2.0.0-dev\
+ 1.8.7-p374\
+ rubinius\
ree-1.8.7-2012.02\
- 1.9.3-p448 \
- 2.0.0-p247
+ 1.9.3-p484\
+ 2.0.0-p353
do
echo "\n********************************************************************************"
echo "Building $ruby\n"
@@ -32,46 +28,6 @@ do
echo "\n"
done
-echo "\n********************************************************************************"
-echo "Building jruby-1.6.7.2 --1.8\n"
-export JRUBY_OPTS="-Xcext.enabled=true --1.8"
-cd ext/ox
-rbenv local jruby-1.6.7.2
-ruby extconf.rb
-make clean
-make
-
-echo "\nRunning tests for jruby-1.6.7.2 --1.8"
-cd ../../test
-rbenv local jruby-1.6.7.2
-./tests.rb
-cd sax
-rbenv local jruby-1.6.7.2
-./sax_test.rb
-cd ../..
-
-echo "\n"
-
-echo "\n********************************************************************************"
-echo "Building jruby-1.6.7.2 --1.9\n"
-export JRUBY_OPTS="-Xcext.enabled=true --1.9"
-cd ext/ox
-rbenv local jruby-1.6.7.2
-ruby extconf.rb
-make clean
-make
-
-echo "\nRunning tests for jruby-1.6.7.2 --1.9"
-cd ../../test
-rbenv local jruby-1.6.7.2
-./tests.rb
-cd sax
-rbenv local jruby-1.6.7.2
-./sax_test.rb
-cd ../..
-
-echo "\n"
-
PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin:$PATH
echo "\n********************************************************************************"
echo "Building OS X Ruby\n"
@@ -86,7 +42,7 @@ cd ../../test
./sax/sax_test.rb
cd ..
-echo "resetting to 1.9.3-p374\n"
+echo "resetting to 2.0.0\n"
cd ext/ox
rbenv local 2.0.0-p247
Oops, something went wrong.

0 comments on commit 22d4627

Please sign in to comment.