gemstash
gemstash copied to clipboard
Fix failing spec on ruby 3.3
Signed-off-by: Samuel Giddins [email protected]
Description:
Tasks:
- Describe the problem / feature
- Write tests
I will abide by the code of conduct.
Weirdly, this change made jruby test fail, hm. Were they also failing without this? (Not 13h ago. Hm.)
Gem::GemNotFoundException: can't find gem gem_server_conformance (>= 0) with executable gem_server_conformance
3.3 failed now, on: The presence of the ruby platform in the version parentheses. JRuby passed, though.
expect(execute("gem", ["search", "-ar", "speaker"], env: env)).
to exit_success.and_output(/speaker \(0.1.0\)/)
expected 'gem search -ar speaker' in '/home/runner/work/gemstash/gemstash' to output:
(?-mix:speaker \(0.1.0\))
but instead it output:
speaker (0.1.0 ruby)
I merged #407 with a fix that passed CI and locally. Please let me know if it causes any issues.
The test suite currently passes, so I will boldly close this PR - thanks, everyone! ❤️