Update rubocop: 1.11.0 → 1.12.1 (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.11.0 → 1.12.1) · Repo · Changelog
Release Notes
1.12.1
Bug fixes
- #9649: Fix when highlights contain multibyte characters. (@osyo-manga)
- #9646: Fix an incorrect auto-correct for
EnforcedStyle: require_parentheses
ofStyle/MethodCallWithArgsParentheses
withEnforcedStyle: conditionals
ofStyle/AndOr
. (@koic)- #9608: Fix a false positive for
Layout/EmptyLineAfterGuardClause
when using guard clause is afterrubocop:enable
comment. (@koic)- #9637: Allow parentheses for forwarded args in
Style/MethodCallWithArgsParentheses
'somit_parentheses
style to avoid endless range ambiguity. (@gsamokovarov)- #9641: Fix
Layout/MultilineMethodCallIndentation
triggering on method calls that look like operators. (@dvandersluis)- #9638: Fix an error for
Layout/LineLength
when over limit at right hand side of multiple assignment. (@koic)- #9639: Fix
Style/RedundantBegin
removing comments on assignment statement correction. (@marcotc)- #9671: Fix an incorrect auto-correct for
Lint/AmbiguousOperator
withStyle/MethodCallWithArgsParentheses
. (@koic)- #9645: Fix an incorrect auto-correct for
Style/SingleLineMethods
when using single line class method definition. (@koic)- #9644: Fix an error and an incorrect auto-correct for
Style/MultilineMethodSignature
when line break after opening parenthesis. (@koic)- #9672: Fix an incorrect auto-correct for
Style/HashConversion
when using multi-argumentHash[]
as a method argument. (@koic)
1.12.0
New features
- #9615: Add new
Style/StringChars
cop. (@koic)- #9629: Add
AllowParenthesesInStringInterpolation
configuration toStyle/MethodCallWithArgsParentheses
to allow parenthesized calls in string interpolation. (@gsamokovarov)- #9219: Allow excluding some constants from Style/Documentation. (@fsateler)
- Add
AllowNil
option forLint/SuppressedException
to allow/disallowrescue nil
. (@corroded)Bug fixes
- #9560: Fix an error for
Lint/ClassMethodsDefinitions
when defining class methods withclass << self
with comment only body. (@koic)- #9551: Fix a false positive for
Style/UnlessLogicalOperators
when using||
operator and invoked method name includes "or" in the conditional branch. (@koic)- #9620: Allow parentheses in operator methods calls for
Style/MethodCallWithArgsParentheses
EnforcedStyle: omit_parentheses
. (@gsamokovarov)- #9622: Fixed
Style/BisectedAttrAccessor
autocorrection to handle multiple bisected attrs in the same macro. (@dvandersluis)- #9606: Fix an error for
Layout/IndentationConsistency
when using access modifier at the top level. (@koic)- #9619: Fix infinite loop between
Layout/IndentationWidth
andLayout/RescueEnsureAlignment
autocorrection. (@dvandersluis)- #9633: Fix an incorrect auto-correct for
Lint/NumberConversion
whento_i
method in symbol form. (@koic)- #9616: Fix an incorrect auto-correct for
Style/EvalWithLocation
when using#instance_eval
with a string argument in parentheses. (@koic)- #9429: Fix
Style/NegatedIfElseCondition
autocorrect to keep comments in correct branch. (@tejasbubane)- #9631: Fix an incorrect auto-correct for
Style/RedundantReturn
when usingreturn
with splat argument. (@koic)- #9627: Fix an incorrect auto-correct for
Style/StructInheritance
when extending instance of Struct withoutdo
...end
and class body is empty. (@koic)- #5953: Fix a false positive for
Style/AccessModifierDeclarations
when usingmodule_function
with symbol. (@koic)- #9593: Fix an error when processing a directory is named
{}
. (@koic)- #9599: Fix an error for
Style/CaseLikeIf
when usinginclude?
without a receiver. (@koic)- #9582: Fix incorrect auto-correct for
Style/ClassEqualityComparison
when comparingModule#name
for equality. (@koic)- #9603: Fix a false positive for
Style/SoleNestedConditional
when using nested modifier on value assigned in condition. (@koic)- #9598: Fix RuboCop::MagicComment#valid_shareable_constant_value?. (@kachick)
- #9625: Allow parentheses in yield arguments with
Style/MethodCallWithArgsParentheses
EnforcedStyle: omit_parentheses
to fix invalid Ruby auto-correction. (@gsamokovarov)- #9558: Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. (@dvandersluis)
- #9613: Fix a false positive for
Style/RedundantSelf
when a self receiver on an lvalue of mlhs arguments. (@koic)- #9586: Update
Naming/RescuedExceptionsVariableName
to not register on inner rescues when nested. (@dvandersluis)Changes
- #9487: Mark Naming/MemoizedInstanceVariableName as unsafe. (@marcandre)
- #9601: Make
Style/RedundantBegin
aware of redundantbegin
/end
blocks around memoization. (@koic)- #9617: Disable suggested extensions when using the
--stdin
option. (@dvandersluis)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗ ️ rexml (indirect, 3.2.4 → 3.2.5) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 56 commits:
Add 3.2.5 entry
Fix a parser bug that some data may be ignored before DOCTYPE
Fix a bug that invalid document declaration may be accepted
Fix a bug that invalid document declaration may be generated
Fix a bug that invalid element end may be accepted
Fix a bug that invalid element start may be accepted
Fix a bug that invalid notation declaration may be accepted
Fix a bug that invalid notation declaration may be generated
Use ruby/setup-ruby (#66)
Clean up and enhance high-level RDoc (#65)
Task-oriented documentation (#64)
Enhanced RDoc for Element (#62)
Enhanced RDoc for Element (#61)
REXML::DocType: remove needless quote strip
test: fix invalid XML
test: fix invalid XML
test: remove invalid XML
test: fix a bug that XML path not content is parsed
test: use setup not initialize
REXML::DocType: fix a bug that #clone doesn't copy external ID info
Enhanced RDoc for Element (#57)
Enhanced RDoc for Element (#55)
Enhanced RDoc for Attributes (#54)
Enhanced RDoc for Elements (#53)
Adding method Elements#parent (#52)
Enhanced RDoc for Elements (#50)
Enhanced RDoc for Document (#49)
Enhanced RDoc for Element (#48)
Enhanced RDoc for Document (#47)
ci: use actions/setup-ruby to use the default Ruby
ci: remove garbage
Enhanced RDoc for Element (#46)
Add support for generating RDoc HTML
Enhanced RDoc for Element (#45)
doc: add Element::Context (#44)
Fix indent
Enhanced RDoc for Element (#41)
ci use "rake test" for JRuby on Windows
ci: disable TruffleRuby
test: ensure comparing as Hash
ci: disable JRuby on Windows
ci: use TruffleRuby only on Ubuntu
test: use test-unit to work with JRuby
test: ensure using rexml_test_utils
ci: use gem only with Ruby 3.0 or later
ci: fix a typo
ci: migrate to GitHub Actions from Travis CI
Test on ruby 3.0 (#40)
Exclude useless files after installation (#39)
Use Refinements to define dclone methods that are used only in xpath_parser.rb (#37)
`require "rexml/document"` by default (#36)
xpath: add more invalid cases
xpath: add an error check for unprocessed rest data
Already `$SAFE` has been removed in master
travis: update Ruby versions
Bump version
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)