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

Drop support for Ruby v2.1 #695

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

floehopper
Copy link
Member

@floehopper floehopper commented Dec 8, 2024

⚠️ #694 must be released before this PR is merged ⚠️

Ruby v2.1 has been EOL since 31 Mar 2017, which is almost 8 years ago.

Mocha::Configuration#stubbing_method_on_nil and StubbingNilTest are now moot, because as of Ruby v2.2 nil is frozen. The behaviour tested in the latter is already tested in the more generic StubbingFrozenObjectTest. See this commit for details.

Closes #628.

This version has been EOL since 31 Mar 2017 [1], which is almost 8 years
ago.

`Mocha::Configuration#stubbing_method_on_nil` and `StubbingNilTest` are
now moot, because as of Ruby v2.2 `nil` is frozen.  The behaviour tested
in the latter is already tested in the more generic
`StubbingFrozenObjectTest`. See this commit [2] for details.

Closes #628.

[1]: https://www.ruby-lang.org/en/downloads/branches/
[2]: a65ea1e
@floehopper
Copy link
Member Author

This page looks useful. As does bkeepers/dotenv#521.

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.

Drop support for Ruby v2.1
1 participant