-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Consider dropping support for older versions of Ruby #325
Comments
Why aren't we dropping support for at least 1.8.7 already? It hasn't even been possible for me to run This would also help clean up some code as well as close some open issues. |
This is long overdue. Extended maintenance of Ruby v1.8.7 ended on 31 Jul 2014 [1]. Actually dropping support will allow significant simplification of the code. See #325. [1]: https://www.ruby-lang.org/en/news/2014/07/01/eol-for-1-8-7-and-1-9-2/
No good reason. I think I was just agonising over how to deal with it within the confines of semantic versioning. I've just done this in c5f8496.
That's odd. Did you try deleting your
I agree. Thanks for the prompt! |
Extended maintenance of Ruby v1.8.7 ended on 31 Jul 2014 and Mocha support for Ruby v1.8 has been deprecated since v1.10. Recent work in #534 has run into problems with files containing keyword arguments not being parsable by Ruby v1.8 and so I think the time has come to drop support. |
I've just dropped support for Ruby v1.8 in #536. There's still some question about whether that should be a minor or major version release, but that decision can wait for now. |
This is long overdue. Extended maintenance of Ruby v1.9.3 ended on 23 Feb 2015 [1]. Actually dropping support will allow significant simplification of the code. The immediate motivation is to come up with better parameter matching for keyword arguments and we've run into parsing issues when trying to do this in conjunction with continuing to support Ruby v1.9. See #325. [1]: https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/
This is long overdue. Extended maintenance of Ruby v1.9.3 ended on 23 Feb 2015 [1]. Actually dropping support will allow significant simplification of the code. The immediate motivation is to come up with better parameter matching for keyword arguments and we've run into parsing issues when trying to do this in conjunction with continuing to support Ruby v1.9. See #325. [1]: https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/
This is long overdue. Extended maintenance of Ruby v1.9.3 ended on 23 Feb 2015 [1]. Actually dropping support will allow significant simplification of the code. The immediate motivation is to come up with better parameter matching for keyword arguments and we've run into parsing issues when trying to do this in conjunction with continuing to support Ruby v1.9. See #325. [1]: https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/
This is long overdue. Extended maintenance of Ruby v1.9.3 ended on 23 Feb 2015 [1]. Actually dropping support will allow significant simplification of the code. The immediate motivation is to come up with better parameter matching for keyword arguments and we've run into parsing issues when trying to do this in conjunction with continuing to support Ruby v1.9. Requiring 'mocha/ruby_version' from 'mocha/test_unit', 'mocha/minitest' and 'mocha/api' is intended to ensure the deprecation warning appears at the earliest possible time whether the library is being used via Test::Unit, Minitest or RSpec. See #325. [1]: https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/
This is long overdue. Extended maintenance of Ruby v1.9.3 ended on 23 Feb 2015 [1]. Actually dropping support will allow significant simplification of the code. The immediate motivation is to come up with better parameter matching for keyword arguments and we've run into parsing issues when trying to do this in conjunction with continuing to support Ruby v1.9. Requiring 'mocha/ruby_version' from 'mocha/test_unit', 'mocha/minitest' and 'mocha/api' is intended to ensure the deprecation warning appears at the earliest possible time whether the library is being used via Test::Unit, Minitest or RSpec. See #325. [1]: https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/
Hmm. I'm not sure how conscious the decision was, but the dropping of support for Ruby v1.8 ended up being in a minor version bump! |
From the rspec-rails versioning strategy:
|
For Mocha v2.0, I'm happy that we should drop support for Ruby versions earlier than Ruby v2.0.
I don't think it's worth keeping this issue around any longer. If we want to consider dropping support for later versions of Ruby we can always create a new issue. Closing. |
Ideally come up with rules to define how this works.
Some useful references:
The text was updated successfully, but these errors were encountered: