-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Fix #11405] Fix Style/WhileUntilModifier with ruby 3.1 #11406
Conversation
CHANGELOG.md
Outdated
@@ -2,6 +2,10 @@ | |||
|
|||
## master (unreleased) | |||
|
|||
### Bug fixes | |||
|
|||
* [#11405](https://github.com/rubocop/rubocop/issues/11405): Fix undefined method `range_between' for Style/WhileUntilModifier. ([@such][]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you write the changelog entry with the below instead?
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
CHANGELOG.md
Outdated
@@ -6742,3 +6742,4 @@ | |||
[@arika]: https://github.com/arika | |||
[@soroktree]: https://github.com/soroktree | |||
[@alexevanczuk]: https://github.com/alexevanczuk | |||
[@such]: https://github.com/such |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove it? Because it is automatically generated by release task.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Fix crash when while/until body last argument is a hash with value omission
Thanks! |
No problem. When do you think this can be released? |
Probably before the end of this week. |
Occasionally I review direct edit to the CHANGELOG.md: - rubocop#11559 (comment) - rubocop#11406 (comment) - rubocop#11395 (comment) It might be communicated a little more efficiently if listed in the CHANGELOG.md. And the triple dash for commenting out is used intentionally. https://stackoverflow.com/questions/4823468/comments-in-markdown/4829998#4829998 It affects when markdown is viewed on GitHub. This is unnecessary note for user viewing the CHANGELOG.md on GitHub. Also add changelog/.gitkeep to prevent dead link after release.
Occasionally I review direct edit to the CHANGELOG.md: - #11559 (comment) - #11406 (comment) - #11395 (comment) It might be communicated a little more efficiently if listed in the CHANGELOG.md. And the triple dash for commenting out is used intentionally. https://stackoverflow.com/questions/4823468/comments-in-markdown/4829998#4829998 It affects when markdown is viewed on GitHub. This is unnecessary note for user viewing the CHANGELOG.md on GitHub. Also add changelog/.gitkeep to prevent dead link after release.
Fixes #11405
Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).bundle exec rake default
. It executes all tests and runs RuboCop on its own code.{change_type}_{change_description}.md
if the new code introduces user-observable changes. See changelog entry format for details.