[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] enabling ruby in the subversion build

From: Michael Chletsos <mpchlets_at_gmail.com>
Date: Thu, 8 Nov 2012 07:34:59 -1000

Initial support for ruby 1.9.3 when creating swig bindings for subversion.

* Makefile.in:
  Ruby 1.8 uses --verbose, 1.9 does not for run-test.rb
* subversion/bindings/swig/ruby/test/test_core.rb:
  Updated for ruby1.9 time, which uses nanoseconds
* subversion/bindings/swig/ruby/test/test_repos.rb:
  ruby1.8 carries the assignment through block, ruby1.9 does not carry
assignments, we need to explicitly do this.
* subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:
  run priority tests only for ruby1.8
* subversion/bindings/swig/ruby/test/test_delta.rb:
  fix nil return in ruby1.9,
  ruby1.8 carries the assignment through block, ruby1.9 does not carry
assignments, we need to explicitly do this
  fix StringIO encoding to be ASCII-8BIT, no longer assumed as in ruby1.8
* subversion/bindings/swig/ruby/test/test-unit-ext.rb:
  turn off some tests for ruby1.9, they should be fixed still
* subversion/bindings/swig/ruby/test/test_fs.rb:
  update md5 to digest/md5 in require
* subversion/bindings/swig/ruby/test/test_wc.rb,
subversion/bindings/swig/ruby/test/test_client.rb:
  ruby1.8 carries the assignment through block, ruby1.9 does not carry
assignments, we need to explicitly do this
* subversion/bindings/swig/ruby/test/my-assertions.rb:
  create intermediary assertion block handler
* subversion/bindings/swig/ruby/svn/util.rb:
  convert to string before splitting for ruby1.9 compat
* subversion/bindings/swig/ruby/svn/info.rb:
  use each_line for ruby1.9 and each for ruby1.8
* configure.ac:
  detect ruby1.9.3 - added teeny version detection
  restrict build to 1.8.x and >= 1.9.3

Patch by: Michael Chletsos <mpchlets_at_gmail.com>,
               Vincent Batts <vbatts_at_slackware.com>

On Thu, Nov 8, 2012 at 1:03 AM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> Michael Chletsos <mpchlets_at_gmail.com> writes:
>
>> OK - this should fix your issues, tested on ruby1.9.3 and ruby1.8.7 -
>> passed for me, let me know what you get.
>
> That works for me. It needs a log message before it can be committed.
> If you want to write it look at some old log messages and
> http://subversion.apache.org/docs/community-guide/conventions.html#log-messages
> for guidance.
>
> --
> Certified & Supported Apache Subversion Downloads:
> http://www.wandisco.com/subversion/download
Received on 2012-11-08 18:35:32 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.