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 a couple of remaining deprecations #1288

Merged
merged 2 commits into from
Feb 11, 2021
Merged

Conversation

pirj
Copy link
Member

@pirj pirj commented Feb 10, 2021

No description provided.

@pirj pirj self-assigned this Feb 10, 2021
@pirj pirj added this to the 4.0 milestone Feb 10, 2021
@pirj pirj mentioned this pull request Feb 10, 2021
53 tasks
# instance variable when a deprecated implicit block expectation
# syntax is used. This may be removed once `fail` is used, and the
# matcher never issues this warning.
@actual_after = UNDEFINED
Copy link
Member

Choose a reason for hiding this comment

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

Is this right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

No I mean the removal in this PR

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh. Yes. I've overlooked to remove this in #1285 after resolving conflicts with #1139.

I think this PR is the last change in Expectations to get it ready for the 4.0 release (apart from adding deprecation warnings to main and rebasing 4-0-dev on top of it).

Sanity check, however, shows that nothing fails on https://github.com/rspec/rspec-expectations/tree/fe0c4b7f (#1139) even with the removed @actual_after = UNDEFINED. Can't recall the exact reason I've added it in the first place.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll extract this removal into a separate PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done: #1289

@pirj pirj merged commit dde2edc into 4-0-dev Feb 11, 2021
@pirj pirj deleted the remove-deprecations-2 branch February 11, 2021 10:17
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 19, 2021
…rspec/remove-deprecations-2

Remove a couple of remaining deprecations

---
This commit was imported from rspec/rspec-expectations@dde2edc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants