[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Libraries with tests, but not included in the gem: what to do?



Cédric Boutillier escreveu isso aí:
> Hi,
> 
> I come again to you with probably a trivial question.
> 
> Some ruby libraries have a test suite that one can find in their
> repository, but the tests are not shipped in the gem. Two such examples
> are:
> ruby-liquid: needed to run the tests of tilt;
> ruby-pdf-reader: dependency for a new version of ruby-prawn.
> 
> Including the test suite using patches seems difficult. 
> I see two other solutions:
> - since the source to create the gem are available in a repository in
>   github, I could recreate a gem after having modified the .gemspec file
>   to include the spec/, but I am not sure this is a good practice

You don't need to recreate a .gem, just use the tarballs produced by
github from the git repository tags. You can then use
http://githubredir.debian.net/ in your debian/watch file.

-- 
Antonio Terceiro <terceiro@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: