Skip to content

Fix incorrect error when Gemfile overrides a gemspec development dependency#7319

Merged
deivid-rodriguez merged 2 commits into
masterfrom
fix-more-dev-deps-warnings
Dec 21, 2023
Merged

Fix incorrect error when Gemfile overrides a gemspec development dependency#7319
deivid-rodriguez merged 2 commits into
masterfrom
fix-more-dev-deps-warnings

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

What was the end-user or developer problem that led to this PR?

We added a warning when gemspec development dependencies are being overridden, but it was incorrect in certain situations and causing a hard error.

What is your fix for the problem, implemented in this PR?

Properly account of the potential different parsing order between Gemfile and gemspec development dependencies.

Fixes #6014 (comment).

Make sure the following tasks are checked

It's a bit of a mess right now, just trying to make it a bit easier to
parse.
@deivid-rodriguez deivid-rodriguez force-pushed the fix-more-dev-deps-warnings branch from a087e2c to 48589e4 Compare December 21, 2023 14:27
@deivid-rodriguez deivid-rodriguez merged commit ae670d2 into master Dec 21, 2023
@deivid-rodriguez deivid-rodriguez deleted the fix-more-dev-deps-warnings branch December 21, 2023 16:41
deivid-rodriguez added a commit that referenced this pull request Dec 22, 2023
Fix incorrect error when Gemfile overrides a gemspec development dependency

(cherry picked from commit ae670d2)
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.

2 participants