Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Conversation

@pirj
Copy link
Member

@pirj pirj commented Dec 24, 2020

  1. Remove support for legacy RSpec 1&2 matchers

As per http://rspec.info/blog/2013/07/the-plan-for-rspec-3/:

compatibility layer so that existing matchers will continue to work, with the plan to remove that compatibility layer in RSpec 4

  1. Remove deprecated LegacyMacherAdapter (with typo)

@pirj pirj self-assigned this Dec 24, 2020
@pirj pirj requested a review from JonRowe December 24, 2020 08:36
@pirj pirj added the rspec 4 label Dec 24, 2020
# should include clauses from methods defined using `chain`.
def include_chain_clauses_in_custom_matcher_descriptions?
@include_chain_clauses_in_custom_matcher_descriptions ||= false
@include_chain_clauses_in_custom_matcher_descriptions
Copy link
Member Author

Choose a reason for hiding this comment

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

||= true obviously doesn't work when false is assigned explicitly.

@pirj pirj force-pushed the remove-monkey-patching branch 2 times, most recently from b330730 to 2926bc9 Compare December 25, 2020 14:02
Copy link
Member

@JonRowe JonRowe left a comment

Choose a reason for hiding this comment

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

👍 Minor change log tweak

@JonRowe
Copy link
Member

JonRowe commented Dec 25, 2020

Some how the last change has messed up the history to include all the other changes?

@pirj pirj marked this pull request as draft December 25, 2020 21:01
@pirj
Copy link
Member Author

pirj commented Dec 25, 2020

I've branched this PR off #1245, so this is as expected.

History needs some commit juggling anyway. I want to spread the Changelog changes over commits. Also, the base PR was fixed up, so a rebase on it will be needed.

Can't tell for sure, but I believe there might be some overlapping changes. Converted this to draft until #1245 is merged.

@pirj pirj force-pushed the remove-deprecations branch from ddc7545 to db4806c Compare December 26, 2020 17:07
@pirj pirj force-pushed the remove-monkey-patching branch from 2926bc9 to bbaef45 Compare December 26, 2020 18:45
@pirj pirj force-pushed the remove-deprecations branch from db4806c to d52d1f7 Compare December 26, 2020 18:46
@pirj pirj force-pushed the remove-monkey-patching branch from bbaef45 to 6996e4f Compare December 27, 2020 19:42
@pirj pirj force-pushed the remove-deprecations branch from d52d1f7 to fedb7ec Compare December 27, 2020 19:55
@JonRowe JonRowe force-pushed the remove-monkey-patching branch 3 times, most recently from 1ab4671 to e8e8bfc Compare December 31, 2020 14:50
Base automatically changed from remove-monkey-patching to 4-0-dev December 31, 2020 15:33
pirj added 2 commits January 9, 2021 02:27
As per http://rspec.info/blog/2013/07/the-plan-for-rspec-3/:

> compatibility layer so that existing matchers will continue to work, with the plan to remove that compatibility layer in RSpec 4
@pirj pirj force-pushed the remove-deprecations branch from fedb7ec to 33f07d8 Compare January 8, 2021 23:28
@pirj pirj changed the title Remove deprecations and set new config defaults Remove legacy RSpec1&RSpec2 matcher support Jan 8, 2021
@pirj pirj added this to the 4.0 milestone Jan 8, 2021
@pirj pirj mentioned this pull request Nov 27, 2024
64 tasks
@pirj pirj changed the title Remove legacy RSpec1&RSpec2 matcher support Remove support for legacy RSpec matchers (pre 3) Jan 8, 2021
@pirj pirj marked this pull request as ready for review January 8, 2021 23:32
@pirj pirj merged commit c167e5f into 4-0-dev Jan 8, 2021
@pirj pirj deleted the remove-deprecations branch January 8, 2021 23:40
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 19, 2021
…rspec/remove-deprecations

Remove support for legacy RSpec matchers (pre 3)

---
This commit was imported from rspec/rspec-expectations@c167e5f.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants