Update rubocop: 1.24.1 → 1.25.0 (minor)
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.24.1 → 1.25.0) · Repo · Changelog
Release Notes
1.25.0
New features
- #10351: Support
EnforcedShorthandSyntax: either
option forStyle/HashSyntax
. (@koic)- #10339: Support auto-correction for
EnforcedStyle: explicit
ofNaming/BlockForwarding
. (@koic)Bug fixes
- #10344: Fix a false positive for
Style/CollectionCompact
when without receiver for bad methods. (@koic)- #10353: Use
:ambiguous_regexp
to detect ambiguous Regexp in Ruby 3. (@danieldiekmeier, @joergschiller)- #10336: Fix a false positive for
Style/TernaryParentheses
when usingin
keyword pattern matching as a ternary condition. (@koic)- #10317: Fix a false positive for
Style/MethodCallWithArgsParentheses
when using hash value omission. (@koic)- #8032: Improve ArgumentAlignment detection and correction for keyword arguments. (@mvz)
- #10331: Fix cop generator for nested departments. (@fatkodima)
- #10357: Fix a false positive for
Style/HashSyntax
when omitting the value. (@berkos)- #10335: Fix a false positive for
Naming/BlockForwarding
when using multiple proc arguments. (@koic)- #10350: Fix a false negative for
Lint/IncompatibleIoSelectWithFiberScheduler
when usingIO.select
with the first argument only. (@koic)- #10358: Fix Style/Sample crash on beginless and endless range shuffle indexes. (@gsamokovarov)
- #10354: Fix Gemspec/RequiredRubyVersion version matcher when Gem::Requirement.new is used and initialised with multiple requirements. (@nickpellant)
Changes
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 32 commits:
Cut 1.25.0
Update Changelog
Fix cop generator for nested departments
[Doc] Tweak example desc for `Style/IfWithBooleanLiteralBranches`
Merge pull request #10357 from berkos/hash-syntax/change-ommit-value
Fix Style/HashSyntax: Omit the hash value cases
Merge pull request #10358 from gsamokovarov/style-sample-endless-range
Fix Style/Sample crash on {begin,end}less range shuffle indexes
Fix Gemspec/RequiredRubyVersion version matcher
Merge pull request #10355 from koic/ci_against_ruby_3_1_on_windows
CI against Ruby 3.1 on Windows
Merge pull request #10353 from danieldiekmeier/fix-ambiguous-regexp-literal-on-ruby-3
Merge pull request #10352 from mvz/improve-fixed-intentation-autocorrect
Use `:ambiguous_regexp` in Ruby 3
[Fix #8032] Improve argument alignment correction for kwargs
Support `EnforcedShorthandSyntax: either` for `Style/HashSyntax`
[Fix #10317] Fix a false positive for `Style/MethodCallWithArgsParentheses`
[Fix #10339] Support auto-correction for `Naming/BlockForwarding`
Fix a false positive for `Style/CollectionCompact`
Merge pull request #10350 from koic/fix_false_negative_for_lint_incompatible_io_select_with_fiber_scheduler
Fix a false negative for `Lint/IncompatibleIoSelectWithFiberScheduler`
Require Parser 3.1.0.0 or higher
Merge pull request #10341 from koic/fix_false_positive_for_style_ternary_parentheses
Merge pull request #10327 from koic/ci_against_ruby_3_1
CI against Ruby 3.1
[Fix #10336] Fix a false positive for `Style/TernaryParentheses`
Add the changelog entry for #10338
[Fix #10335] Fix a false positive for `Naming/BlockForwarding`
Bump license years to 2022
Merge pull request #10334 from fynsta/patch-1
Switch back the docs version
Correct language
↗ ️ parser (indirect, 3.0.3.2 → 3.1.0.0) · Repo · Changelog
Release Notes
3.1.0.0 (from changelog)
API modifications:
- parser/current: update for 3.1.0 release. (#840) (Ilya Bylich)
Features implemented:
- ruby31.y: accept forward arg without parentheses. (#839) (Ilya Bylich)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 3 commits:
↗ ️ rainbow (indirect, 3.0.0 → 3.1.1) · Repo · Changelog
Release Notes
3.1.1 (from changelog)
- fix: Ensure
files
directive in gemspec adds all files
3.1.0 (from changelog)
- Bad release: superseded by 3.1.1.
- added
cross_out
akastrike
- hexadecimal color names supported better, see #83
- gemspec: list files using a Ruby expression, avoiding git
(2020-08-26 was the planned release date, but the real release date is reflected in the heading.)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 29 commits:
v3.1.1
fix: Include all lib/ files
Add screenshot of example in README
Update .travis.yml
Update .travis.yml
RuboCop: configure new 0.81.0 rules
Pin RuboCop to 0.81.0 to support Ruby 2.3
v3.1.0
v3.1.0 Changelog
(chore) Add v0.80 RuboCop cops
CI: Use JRuby 9.2.11.0
CI: Update matrix
Fix RuboCop offenses and warnings about .rubocop.yml
Gemspec: List files using Ruby
CI: Use 2.4.6, 2.5.5, 2.6.3, jruby-9.2.7.0 (#94)
Use rubocop latest, drop support for Ruby 2.1, 2.2 (#91)
CI: Allow Bundler 2, add Rubies to CI matrix (#89)
Remove specific TargetRubyVersion from .rubocop.yml (#88)
README: Add cross_out, strike to presenters docs
Add test with non-existent :color (#86)
introducing #cross_out (#84)
Simplify `wrap_with_sgr` method (#85)
Merge pull request #83 from chiting/add-hex-check
Make rubocop happy
Add hexadecimal format checking
Add unit test for non hexadecimal string
Merge pull request #81 from nicolasleger/patch-1
[CI] Test against new Ruby 2.5 and patched
Update changelog
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
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)