OTWO-1206 Updates SWIG bindings to Ruby 1.9.2
authorRobin Luckey <rluckey@blackducksoftware.com>
Sat, 7 Jan 2012 00:12:28 +0000 (16:12 -0800)
committerSathishkumar Natesan <sathish.n@imaginea.com>
Mon, 30 Sep 2013 06:14:24 +0000 (11:44 +0530)
commitcd81878ffe11003f3f88a82c1c8e135fcbe651a4
tree07932186864cdfac83fb9a80707d732896e53f72
parent4fb66a8bff6756965ca9b6694ad57439d4af6f0c
OTWO-1206 Updates SWIG bindings to Ruby 1.9.2

- Requires SWIG 2.0.4 (SWIG 1.3 is not compatible with Ruby 1.9.2)

This updates the SWIG bindings only. This code tree does not build:

- Build fails for me when using RVM Ruby 1.9.2 because 'ruby.h' and
  'config.h' headers cannot be found. I am currenty working around
  this by manually placing absolute paths in the build script.

- test/unit/ruby/source_file_test.rb is currently failing because the
  round trip from Ruby -> C -> Ruby causes the string encoding
  metadata to be lost. UTF-8 input strings are output with identical
  content bits, but are marked as ASCII-8BIT.
ruby/ohcount.i