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

Update check for installed_specs #2853

Merged
merged 5 commits into from
Sep 20, 2024

Conversation

kaylareopelle
Copy link
Contributor

@kaylareopelle kaylareopelle commented Sep 18, 2024

The Bundler::RubygemsIntegration.installed_specs method was added in version 2.5.12. This PR updates the check to see if Bundler.rubygems responds to installed_specs.

2.5.11: https://github.com/rubygems/rubygems/blame/bundler-v2.5.11/bundler/lib/bundler/rubygems_integration.rb#L471 (all_specs only)
2.5.12: https://github.com/rubygems/rubygems/blame/bundler-v2.5.12/bundler/lib/bundler/rubygems_integration.rb#L479 (both all_specs and installed_specs)

The Bundler::RubygemsIntegration.installed_specs method was added in
version 2.5.12.
@kaylareopelle kaylareopelle changed the title Update min bundler version for installed_specs? Update min bundler version for installed_specs Sep 18, 2024
fallwith
fallwith previously approved these changes Sep 18, 2024
hannahramadan
hannahramadan previously approved these changes Sep 18, 2024
fallwith
fallwith previously approved these changes Sep 18, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Tanna McClure <tmcclure@newrelic.com>
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 93.79% 93%
Branch 69.6% 50%

@kaylareopelle kaylareopelle merged commit 768eb6d into dev Sep 20, 2024
32 checks passed
@kaylareopelle kaylareopelle changed the title Update min bundler version for installed_specs Update check for installed_specs Sep 25, 2024
@kaylareopelle kaylareopelle deleted the update-bundled-gem-version-condition branch October 9, 2024 19:01
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.

4 participants