Closed mschout closed 6 years ago
Hi Michael, sorry for the long wait on this. The metadata for Term::ReadKey seems broken to me. I can't think of a reason why the metadata should say that META.yml
is the file that provides the package. I'll open a ticket with the author to get an explanation.
thanks
I left a comment over in jonathanstowe/TermReadKey#29 about this, I believe that the fix in the PR should be generalized for any case where the file is META.{json,yaml}
.
@mschout -- are you up for that or should I swing at it?
Alternatively, a cleaner change might be to touch up is_simile
so that it considers META.{yaml,json}
to be a simile for any module that uses it as it's file
attribute.
@hartzell I'll update my workaround today with your suggestions. Thanks
I removed the Term::ReadKey hack, and fixed it in is_simile as suggested. I also added a test case.
It appears Travis-CI is broken (fails to fetch Dist::Zilla). All tests pass on my machine
Merged. Thanks. I'll fix the Travis problems on the master branch.
As of Term::ReadKey v2.34, Pinto was unable to pull this module. In v2.37, the author added Term::ReadKey to the "provides" section of META.yml. This workaround fixes can_index() so that Pinto is able to index Term::ReadKey 2.37 or later.
Fixes #240