Dne 4.4.2014 18:19, Ken Dreyer napsal(a):
On Thu, Apr 3, 2014 at 1:31 AM, Vít Ondruch
<vondruch(a)redhat.com> wrote:
> Dne 1.4.2014 12:46, Vít Ondruch napsal(a):
>> * I'd go with update to minitest 5 (probably tomorrow, unless you'll be
>> fast enough to point out some weak points ;)
> rubygem-minitest-5.3.1-1.fc21 is now available in Rawhide [1].
>
My first gem package broke yesterday on this :) rubygem-geoip-1.4.0-1
I've submitted patches upstream for Minitest 5 support, and
rubygem-geoip-1.4.0-2 builds successfully.
I did have to migrate away from testrb in %check in order to make my
backwards-compatibility-with-mintest-4 hack succeed. I don't know what
testrb was doing differently, but it's probably a good idea to remove
testrb in any regard.
Using testrb, you can specify the directory from which you should
execute the test suite. In theory, it used to be less hassle then
fiddling with "ruby -e" or rake. But we used "ruby -e" on many places
anyway, since tesrb cant find test files recursively in folder structure.
And yes, testrb is looking for minitest 4 classes, so it does not work
with minitest 5. It would need to be fixed, but testrb is provided by
ruby package .....
By the way, do you have a list of all the gems that failed to build
with Minitest 5? I'd like to take a look and see if I can help fix
some of them (particularly the ones that are mine... :)
I expect every package using minitest is FTBFS now (except the one
you've fixed ;), so this should be your list:
repoquery --repoid=rawhide-source --arch=src --whatrequires
'rubygem(minitest)' --qf="%{NAME}"
Vít
- Ken
On Thu, Apr 3, 2014 at 2:31 AM, Vít Ondruch <vondruch(a)redhat.com> wrote:
> Dne 1.4.2014 12:46, Vít Ondruch napsal(a):
>> * I'd go with update to minitest 5 (probably tomorrow, unless you'll be
>> fast enough to point out some weak points ;)
>>
>
> rubygem-minitest-5.3.1-1.fc21 is now available in Rawhide [1].
>
>
> Vít
>
>
>
>
> [1]
http://koji.fedoraproject.org/koji/taskinfo?taskID=6701679
> _______________________________________________
> ruby-sig mailing list
> ruby-sig(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
_______________________________________________
ruby-sig mailing list
ruby-sig(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig