Update rubocop: 1.30.1 → 1.48.1 (minor) #3144
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (1.30.1 → 1.48.1) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
3.2.1.1 (from changelog)
3.2.1.0 (from changelog)
3.2.0.0 (from changelog)
3.1.3.0 (from changelog)
3.1.2.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 48 commits:
Update changelog.
Bump version.
* bump racc to 1.6.2 (#916)
* backport tests for mixed usage of anonymous kwarg/kwrestarg and forwarded-arguments (#915)
* add tests for kwopt+kwrest arguments and forwarded_kwrestarg. (#913)
- builders/default: allow forwarded_kwrestarg with additional kwargs (#912)
Fix broken link to ast gem documentation (#909)
Update changelog.
Update changelog.
Bump version.
* Bump maintenance branches to 3.2.1 (#908)
Update parsing Ruby versions in README.md (#906)
* lexer.rl: extract strings lexing to lexer-strings.rl (#905)
+ Ruby 3.3 support (#904)
Update changelog.
Update changelog.
Bump version.
Add full-release Ruby 3.2.0 support (#903)
Move blocks outside Lexer#advance (#902)
Code size reduction for advance method (#899)
Use -F1 on JRuby (#898)
Reduce the number of allocated Ranges (#896)
+ lexer.rl: use Ragel -F0 on non-CRuby (#894)
* lexer.rl: extract `extend_string_escaped` to a separate method (#893)
+ ruby32.y: Allow optional newlines before closing parenthesis (#892)
* bump Racc to 1.6.1 (#890)
- ruby32.y: fix a parse error when using forwarded argument with restarg (#889)
Add a missing whitespace to the warning message (#887)
Update changelog.
Update changelog.
Bump version.
* Bump maintenance branches to 3.1.3, 3.0.5, 2.7.7 (#886)
disable failing test on TruffleRuby (#883)
bump racc to 1.6.0 (#882)
remove 2.6 branch from CI matrix (#881)
add tests for multiple pattern matches in a single body. (#880)
* ruby32.y: reuse nonlocal_var rule. (#879)
* ruby32.y: reuse opt_nl rule. (#878)
add tests for newline after hash key in pattern matching. (#877)
add test for bare backslash error. (#876)
add tests for `class/module <keyword> ...` definition. (#875)
+ ruby32.y: implement forwarded restarg and kwrestarg. (#874)
lexer.rl: handle invalid escape sequences in regexes on the Ruby side since 3.2. (#873)
Update changelog.
Update changelog.
Bump version.
- ruby31.y: fix preparing the state for one-line patterns without braces (#864)
Update changelog.
Release Notes
2.7.0 (from changelog)
2.6.2 (from changelog)
2.6.1 (from changelog)
2.6.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
Release v2.7.0
Skip check on CI for now
Fix scanning of octal sequences in sets
Install ragel during build if needed
Fix for old rubies
Lint
Update docs
Remove unused Ragel definitions
Remove some redundant copy calls
Remove redundant #pack call
Clarify attribute name
Remove redundant checks
Make Lexer stream tokens
Performance: do not always collect scanner tokens
Performance: speed up #each_expression ...
Performance: avoid repeat updates of nesting_level
Performance: hard-code #terminal?, #referential?
Performance: do not always collect lexer tokens
Remove future Ruby warning ...
Release v2.6.2
Fix typo
Fix #clone for recursive subexp call
Check for Regexp#match? only once
Make MatchLength#to_re return a Regexp
Release v2.6.1
Don't scan `(?<!...>` as named group
Release v2.6.0
Update README.md
Rubocop
Add Expression#human_name
Fix typo in comments
Memoize Expression#repetitions
Warn when calling #to_re on set members
Add Expression#optional?
Update CHANGELOG.md ...
Update README.md
Test with repper
Fix some backref edge cases ...
Prevent invalid quantification of option switches
Update CHANGELOG
Release Notes
1.27.0 (from changelog)
1.26.0 (from changelog)
1.25.0 (from changelog)
1.24.0 (from changelog)
1.23.0 (from changelog)
1.22.0 (from changelog)
1.21.0 (from changelog)
1.20.1 (from changelog)
1.20.0 (from changelog)
1.19.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 67 commits:
Cut 1.27.0
Update Changelog
Add `source_range` method to `NodePattern`
Restore docs/antora.yml
Cut 1.26.0
Update Changelog
Make `Node#class_constructor?` aware of Ruby 2.7's numbered parameters
Make `Node#class_construcor?` aware of Ruby 3.2's `Data.define`
Restore docs/antora.yml
Cut 1.25.0
Update Changelog
Support `Parser::Ruby33`
Fix a documentation error for `xstr`
Use `csend` instead of `send` in CsendNode class documentation (#254)
Apply concurrency for GHA workflow `pull_requests` envents only
Use concurrency for GitHub Actions workflow
Add Ruby 3.2 to the CI matri
Fix visitor pattern link formatting
Restore docs/antora.yml
Cut 1.24.1
Several optimizations
Suppress `Layout/ClassStructure` offenses
Bump actions/setup-python from 2 to 4 (#248)
Bump paambaati/codeclimate-action from 2.6.0 to 3.2.0 (#247)
Suppress `Style/RedundantConstantBase`'s offenses
Added dependabot for GitHub Actions (#244)
Restore docs/antora.yml
Cut 1.24.0
Update Changelog
Add node types `forwarded_restarg` and `forwarded_kwrestarg`
Fix some offenses for `RSpec/ExampleWording`
Restore docs/antora.yml
Cut 1.23.0
Update Changelog
Add `character_literal?` to `StrNode`
Restore docs/antora.yml
Cut 1.22.0
Update Changelog
Use TRUFFLERUBYOPT=--engine.Mode=latency to speed up CI on TruffleRuby
Add token#new_line?
Suppress new warnings of `RSpec/NoExpectationExample` cop
Fix typo in doc comment
Restore docs/antora.yml
Cut 1.21.0
Update Changelog
Restore docs/antora.yml
Add a type predicate `dot?` to Token
Cut 1.20.1
Update Changelog
Fix #macro? for numblock nodes
Restore docs/antora.yml
Cut 1.20.0
Update Changelog
Make `RegexpNode` aware of fixed-encoding regopt
Suppress `Style/EmptyHeredoc` offenses
Restore docs/antora.yml
Cut 1.19.1
Update Changelog
Restore docs/antora.yml
Rename `RuboCop::AST::Token#regexp_dot?` to `RuboCop::AST::Token#regexp_dots`
Cut 1.19.0
Update Changelog
Add `ragexp_dot?` method to `RuboCop::AST::Token`. (#235)
Suppress `Lint/NonAtomicFileOperation` offense
Fix a typo at node_pattern.adoc (#234)
Suppress a RuboCop offense
Restore docs/antora.yml
Release Notes
1.13.0 (from changelog)
1.12.0 (from changelog)
Does any of this look wrong? Please let us know.
Release Notes
2.4.2 (from changelog)
2.4.1 (from changelog)
2.4.0 (from changelog)
2.3.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 26 commits:
Release v2.4.2
Avoid overwrite lookup if no overwrites are set
Favor instance_of? over is_a?
Avoid asignment before return result
Optimize lookup of first 4096 codepoints (direct array lookup)
README: Announce that version 2.4.1 is better than ever
Update license year
Release v2.4.1
Improve performance for ASCII and other common chars
Improve performance: Rewrite char lookup
Further improve performance for ASCII-only strings
Release v2.4.0
Performance optimization: Be more specific about forbidden control characters
Add more specs covering all C0 control codes
Require Ruby 2.4, improve Readme, update Changelog
Merge branch 'fatkodima-optimize-ascii'
Optimize for ASCII-only strings without control symbols
Update CI Rubies: Add Ruby 3.2
Merge pull request #25 from mishina2228/ci-on-ruby30
Fix to run CI with Ruby 3.0
Release v2.3.0
Merge pull request #24 from rivo/main
Added a reference to the Golang version.
Update Unicode version number
Unicode 15.0
Update CI Rubies
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands