Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remnants of bundler 1.x support #20

Merged
merged 2 commits into from
May 5, 2021

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented May 4, 2021

If the code was previously bundled with 1.17, the tests will try to run
with 1.17 locally. This change ensures that locally it runs with the
latest installed bundler.

Additionally, one spec was written with multiple versions in mind, which
we can now drop.

Build on top of #21

@kbrock Please review.

@Fryguy Fryguy force-pushed the remove_1_17_completely branch 5 times, most recently from ad51447 to f233f2e Compare May 4, 2021 18:14
Copy link
Member

@kbrock kbrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - waiting on first merge

@kbrock
Copy link
Member

kbrock commented May 4, 2021

@Fryguy the versions of bundler that we are supporting are arbitrary - do you want to support 2.1 and 2.2? seems like it would clean up the code

Fryguy added 2 commits May 5, 2021 11:22
This commit fixes a bug based on the partial matching to detect the bundler
version.  Previously a simple substring comparison was done, but then "2.1"
would match "2.2.15", which is wrong.
If the code was previously bundled with 1.17, the tests will try to run
with 1.17 locally.  This change ensures that locally it runs with the
latest installed bundler.

Additionally, one spec was written with multiple versions in mind, which
we can now drop.
@Fryguy
Copy link
Member Author

Fryguy commented May 5, 2021

@Fryguy the versions of bundler that we are supporting are arbitrary - do you want to support 2.1 and 2.2? seems like it would clean up the code

It's a good question - I thought you chose the version numbers based on what the "supported" versions of bundler/ruby/rubygems are. If 2.0 is still supported, I'd rather keep it for now.

@kbrock kbrock merged commit 7b634b2 into ManageIQ:master May 5, 2021
@Fryguy Fryguy deleted the remove_1_17_completely branch May 5, 2021 20:27
agrare added a commit that referenced this pull request Jan 9, 2024
Fixed
* Remove remnants of bundler 1.x support (#20)
* Fix detection of bundler version (#21)
* Fix spec issues after release of bundler 2.4.17 (#32)

Added
* Switch to GitHub Actions (#25)
* Add bundler 2.4 to the test matrix (#28)
* Add Ruby 3.1 and 3.2 to test matrix (#29)
* Allow user to specify a PATH to search for gem overrides (#34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants