diff options
author | Bundlerbot <bot@bundler.io> | 2020-02-20 20:17:56 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2020-02-20 20:17:56 +0000 |
commit | 447cdd69004239a850fc12225ce2a47e3c473d39 (patch) | |
tree | 95daf53a85d98a8abad17a4359bddf0fba98ccbd /spec/commands/show_spec.rb | |
parent | 860f8665f0211d22328a12c9e5ac8dcefbcbe0f0 (diff) | |
parent | 61bc8fda26836e270f191f776a0a6d5575626a0c (diff) | |
download | bundler-447cdd69004239a850fc12225ce2a47e3c473d39.tar.gz |
Merge #7649
7649: Fix resolving specs when run against a dev ruby snapshot r=deivid-rodriguez a=deivid-rodriguez
<!--
Thanks so much for the contribution!
If you're updating documentation, make sure you run `bin/rake man:build` and
squash the result into your changes, so that all documentation formats are
updated.
To make reviewing this PR a bit easier, please fill out answers to the following questions.
-->
### What was the end-user or developer problem that led to this PR?
The problem is that in some dev ruby builds, `RUBY_PATCHLEVEL` is `-1`, so the spec crashes because of an ill-formed requirement.
See for example https://github.com/rubygems/rubygems/pull/3077/checks?check_run_id=457988784.
<!-- Write a clear and complete description of the problem -->
### What is your fix for the problem, implemented in this PR?
<!-- Explain the fix being implemented. Include any diagnosis you run to
determine the cause of the issue and your conclusions. If you considered other
alternatives, explain why you end up choosing the current implementation -->
My fix is to change the spec to respect a `RUBY_PATCHLEVEL` equal to `-1`, by reusing code that handles that case.
Co-authored-by: David RodrÃguez <deivid.rodriguez@riseup.net>
Diffstat (limited to 'spec/commands/show_spec.rb')
0 files changed, 0 insertions, 0 deletions