>
> http://pkgs.fedoraproject.org/cgit/rubygem-
> capillary.git/commit/?id=2bba5fe91ea333344b965720670289be9535be64
>
> The "Ruby 2.1" part of that change was when I added the "%if 0%{?fc19}
> || 0%{?fc20} || 0%{?el7}" conditionals.


Ah, yeah. Much easier to read too.


>
> The "Minitest 5" part of that change was when I changed the code in
> %check to run "ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb",
> &method(:require)'" instead of using testrb.
>


I have seen something similar (ruby -Ilib:test -e '...') to this in Fedora 
rubygem- packages. I don't quite understand why this would be done vs testrb or 
even use the gems' supplied method for running its' test suite (e.g. rake test).

Are you wanting to "require 'file_from_dir_array""? Or does it require the 
whole lot at once?

You don't (wouldn't) want to patch the test suite of the gem?

Thanks for the spec pointers,

/allen

________________________________

Disclaimer Confidentiality Notice: This e-mail, and any attachments and/or 
documents linked to this email, are intended for the addressee and may contain 
information that is privileged, confidential, proprietary, or otherwise 
protected by law. Any dissemination, distribution, or copying is prohibited. 
This notice serves as a confidentiality marking for the purpose of any 
confidentiality or nondisclosure agreement. If you have received this 
communication in error, please contact the original sender.
_______________________________________________
ruby-sig mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig

Reply via email to