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

Require Parser 3.0.0.0 or higher #9288

Merged
merged 1 commit into from Dec 26, 2020
Merged

Require Parser 3.0.0.0 or higher #9288

merged 1 commit into from Dec 26, 2020

Conversation

koic
Copy link
Member

@koic koic commented Dec 25, 2020

Ruby 3.0 and Parser 3.0.0.0 have been released.

This PR requires Parser 3.0.0.0 or higher due to suppress the following warning when using Ruby 3.0.0.

% ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
% rubocop
warning: parser/current is loading parser/ruby30, which recognizes
warning: 3.0.0-dev-compliant syntax, but you are running 3.0.0.
warning: please see
https://github.com/whitequark/parser#compatibility-with-ruby-mri.

And this PR removes "experimental" label from support matrix.
CI matrix will be updated when CI image is released.


Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@koic koic changed the title [Doc] Ruby 3.0 has been released Require Parser 3.0.0.0 or higher Dec 25, 2020
Ruby 3.0 and Parser 3.0.0.0 have been released.

- https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
- https://rubygems.org/gems/parser/versions/3.0.0.0

This PR requires Parser 3.0.0.0 or higher due to suppress
the following warning when using Ruby 3.0.0.

```console
% ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
% rubocop
warning: parser/current is loading parser/ruby30, which recognizes
warning: 3.0.0-dev-compliant syntax, but you are running 3.0.0.
warning: please see
https://github.com/whitequark/parser#compatibility-with-ruby-mri.
```

And this PR removes "experimental" label from support matrix.
CI matrix will be updated when CI image is released.
@bbatsov
Copy link
Collaborator

bbatsov commented Dec 26, 2020

So many zeroes! Thanks!

@bbatsov bbatsov merged commit 2004383 into rubocop:master Dec 26, 2020
@koic koic deleted the ruby_30 branch December 26, 2020 21:29
@koic koic mentioned this pull request Dec 29, 2020
8 tasks
koic added a commit to koic/rubocop that referenced this pull request Dec 29, 2020
Follow rubocop#9288.

Ruby 3.0.0 has been released and this Ruby version is available on
`circleci/ruby:3.0` image.

- https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
- https://hub.docker.com/r/circleci/ruby/tags/
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.

None yet

2 participants