Hi,

the reason gem2deb (or rather the resulting build) fails is quite simple:

'by default' it'll not honour rake tests, thus it'll try to run the testsuite 
with all the files listed, instead of encapsulating it into a proper rake task.

Thus I'd suggest replacing debian/ruby-tests.yaml with debian/ruby-tests.rake 
with the following content:

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:test) do |t|
        t.pattern = 'spec/**/*_spec.rb'
        t.rspec_opts = File.read("spec/spec.opts").chomp || ""
end

task :default => [:test]


+ honouring 'rake' and 'rspec' as Build-Depend


Yet, due to (an already fixed) upstream regression in their testsuite and 
partly in code it'll not build/run with 1.9.1 tho.

I am (still) a member of pkg-ruby-extras (at least I hope so :P), so I'd really 
love to maintain hiera (since I also use it myself). So the questions remains:

building 0.3.0 or waiting for 1.0 to get stable (rc3 has been released ~25 days 
ago).


@PREM: what do you think? :-)



regards,
Patrick


-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to