This project is read-only.
1

Closed

ci_files set needed in mspec config

description

mspec ci fails:
 
C:\Git\ironruby\Merlin\Main\Languages\Ruby>mspec ci
IronRuby 0.3 0.3.0.0 on .NET 2.0.0.0
script.rb:172:in files': undefined methodinject' for nil:NilClass (NoMethodError)
    from mspec-ci.rb:11:in `options'
    from script.rb:189:in `main'
    from mspec-ci:0
Closed Apr 29, 2009 at 11:21 PM by sborde

comments

thbar wrote Apr 17, 2009 at 2:20 PM

I had a closer look and saw that the files methods in script.rb is passed a nil files argument. This is caused by

C:\git\ironruby\Merlin\External.LCA_RESTRICTED\Languages\IronRuby\mspec\mspec\lib\mspec\commands\mspec-ci.rb

line 54: patterns = config[:ci_files] if patterns.empty?

config[:ci_files] is nil.

I searched for ci_files on all the files but can't find anything that would set this key in the hash (except for tests).

jredville wrote Apr 17, 2009 at 5:05 PM

Fixed in my branch. I'll push after I finish updating rubyspec.

wrote Apr 17, 2009 at 5:05 PM

wrote Apr 29, 2009 at 11:21 PM

wrote Feb 5, 2010 at 12:52 AM

wrote Feb 22, 2013 at 12:40 AM

wrote May 16, 2013 at 12:05 PM