Skip to content

Add Bundler version conditions#2823

Merged
hannahramadan merged 8 commits intodevfrom
shhhh_bundler
Aug 21, 2024
Merged

Add Bundler version conditions#2823
hannahramadan merged 8 commits intodevfrom
shhhh_bundler

Conversation

@hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented Aug 20, 2024

Bundler 2+ deprecated all_specs in favor of installed_specs and emits warnings when all_specs is used. We still support Bundler 1, so need to keep all_specs around while using installed_specs when appropriate.

Checking for the version proved faster in benchmarking than checking to see if installed_specs is defined.

closes #2733

@hannahramadan hannahramadan changed the title Bundler version conditions Add Bundler version conditions Aug 20, 2024
@hannahramadan hannahramadan marked this pull request as ready for review August 20, 2024 20:08
hannahramadan and others added 3 commits August 20, 2024 13:48
hannahramadan and others added 2 commits August 20, 2024 16:22
Co-authored-by: James Bunch <fallwith@gmail.com>
fallwith
fallwith previously approved these changes Aug 20, 2024
kaylareopelle
kaylareopelle previously approved these changes Aug 21, 2024
Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Great, as-is! A few small suggestions.

@hannahramadan hannahramadan dismissed stale reviews from kaylareopelle and fallwith via b33eac4 August 21, 2024 17:06
@github-actions
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 93.82% 93%
Branch 70.35% 50%

Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Avoid deprecated Bundler method all_specs

3 participants