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 support for Ruby v1.8 #536

Merged
merged 1 commit into from
Aug 21, 2022
Merged

Commits on Aug 21, 2022

  1. Remove support for Ruby v1.8

    Extended maintenance of Ruby v1.8.7 ended on 31 Jul 2014 [1] and Mocha
    support for Ruby v1.8 has been deprecated since v1.10 [2].
    
    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.
    
    Note that I had to change a couple of hard-coded line numbers in unit
    tests to match up with the changed source code in
    lib/mocha/stubbed_method.rb.
    
    [1]: https://www.ruby-lang.org/en/news/2014/07/01/eol-for-1-8-7-and-1-9-2/
    [2]: c5f8496
    floehopper committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    90d6d6a View commit details
    Browse the repository at this point in the history