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 old versions of Ruby #817

Merged
merged 1 commit into from
Jul 29, 2019

Commits on Jul 29, 2019

  1. Drop support for old versions of Ruby

    Drops support for Ruby 2.1 (EOL March 31, 2017) and 2.2 (EOL March 31,
    2018). They're removed from `.travis.yml` and the gemspec and RuboCop
    configuration have also been updated to the new lower bound.
    
    Most of the diff here are minor updates to styling as required by
    RuboCop:
    
    * String literals are frozen by default, so the `.freeze` we had
      everywhere is now considered redundant.
    
    * We can now use Ruby 1.9 style hash syntax with string keys like `{
      "foo": "bar" }`.
    
    * Converted a few heredocs over to use squiggly (leading whitespace
      removed) syntax.
    
    As discussed in Slack, I didn't drop support for Ruby 2.3 (EOL March 31,
    2019) as we still have quite a few users on it. As far as I know
    dropping it doesn't get us access to any major syntax improvements or
    anything, so it's probably not a big deal.
    brandur committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    9ff42b6 View commit details
    Browse the repository at this point in the history