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

Re: make_gem.rb

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-04-07 14:20:48 CEST

Hi Joe,

In <ae6cb1100704062216o478d2d62of719d9aaf2c4d517@mail.gmail.com>
  "Re: make_gem.rb" on Fri, 6 Apr 2007 22:16:57 -0700,
  "Joe Swatosh" <joe.swatosh@gmail.com> wrote:

> Sorry for the long delay.

No problem.

> It generated a gem for me. I was mostly
> concerned about other attributes that should be set for the gem since
> it is not a pure Ruby gem. kou took care of most of that by setting
> the s.platform. The other attribute that should probably be set is
> s.required_ruby_version maybe to '>= 1.8.1' (what
> http://rubygems.org/read/chapter/20#required_ruby_version says is
> common "these days"). kou, what are the binary compatibility
> guarentees that ruby gives for the 1.8.x series?

I added "s.required_ruby_version = '>= 1.8.2'" because we
used Kernel.URI which is introduced in 1.8.2 and Ruby on
Rails also requires 1.8.2 or later.

> I could require the files with the gem installed, but I didn't get the
> tests to run. After some more experimentation we may want to use
> s.test_files also.

Uhm... We need to write run-test.rb and SetupEnvironment
module for this...


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 7 14:21:16 2007

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.