Spec URL: https://download.copr.fedorainfracloud.org/results/pvalena/rubygems/fedora-rawhide-x86_64/01432339-rubygem-minitest-stub-const/rubygem-minitest-stub-const.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/pvalena/rubygems/fedora-rawhide-x86_64/01432339-rubygem-minitest-stub-const/rubygem-minitest-stub-const-0.6-1.fc33.src.rpm Description: Fedora Account System Username: pvalena Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=45554358 CORP build: https://copr.fedorainfracloud.org/coprs/pvalena/rubygems/build/1432339/ Required in tests for rubygem-puma-5.0.0.beta1.
Sorry, I forgot to fill in Description: Stub constants for the duration of a block in MiniTest.
https://src.fedoraproject.org/rpms/rubygem-minitest-stub-const
Thanks, I must've missed that as the require is inconsistent with the gem name (minitest/stub_const), so I was looking for minitest-stub_const at first...
(In reply to Pavel Valena from comment #3) > I was looking for minitest-stub_const at first... Maybe something to discuss upstream: https://guides.rubygems.org/name-your-gem/ But checking the source code of the gem, it seems there is possible [1]: ~~~ require 'minitest/stub/const' ~~~ as well as ~~~ require 'minitest/stub_const' ~~~ So you probably want to change this on consumer side. [1]: https://github.com/adammck/minitest-stub-const/pull/3
(In reply to Vít Ondruch from comment #4) > So you probably want to change this on consumer side. Sure, I'll look into that. Thanks!