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

Re: RFS: ruby-bcrypt, ruby-polyglot, ruby-hmac



Hi!

On Wed, Jun 20, 2012 at 5:38 AM, Vasudev Kamath <kamathvasudev@gmail.com> wrote:
> On Wed, Jun 20, 2012 at 2:02 AM, Paul van Tilburg <paulvt@debian.org> wrote:
>>>  ruby-bcrypt (3.0.1-2) unstable; urgency=low
>>>  [...]
>>
>> It seems the test suite is not run.  That is, the spec files are included
>> by debian/ruby-tests.rb but nothing seems to happen.  (I've seen this happen
>> in other packages.)  Otherwise the package is fine.
>
> I don't have a clue on getting this fixed as I'm not a ruby
> programmer. If you can give me some hints on how to fix this I will
> get it corrected :-)

I took the liberty of fixing this. To get tests to run I changed to
require 'rspec/autorun' instead of just 'rspec' in debian/ruby-tests.rb.
I also added 'ext/mri', 'lib', and 'spec' to the path (global variable $: ).
Runs fine. :-)


--
Per


Reply to: