Update rubocop: 0.54.0 → 0.58.2 (major) #62
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.
We've updated a dependency and here is what you need to know:
Additionally, the update changed a few other dependencies as well:
You should probably take a good look at the info here and the test results before merging this pull request, of course.
What changed?
✳️ rubocop (0.54.0 → 0.58.2) · Repo · Changelog
Release Notes
From the Github release:
Changes
New features
#6105: Support
{a,b}
file name globs inExclude
andInclude
config. (@mikeyhew)#6116: Add
ip
to allowed names ofNaming/UncommunicativeMethodParamName
cop in default config. (@nijikon)Bug fixes
Layout/IndentationWidth
when multiple modifiers are used in a block and a method call is made at end of the block. (@koic)Naming/MemoizedInstanceVariableName
cop to allow methods to have leading underscores. (@kenman345)Layout/ClassStructure
when there is a comment in the macro method to be auto-correct. (@koic)Lint/OrderedMagicComments
when using{ encoding: Encoding::SJIS }
hash object afterfrozen_string_literal
magic comment. (@koic)Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by 32 commits:
Update changelog.
Bump version.
- lexer.rl: Partially revert 5ba072d and properly handle 'm = -> *args do end'.
Update changelog.
Bump version.
Fix YARD type annotations for parameterized types
Fix YARD type annotation for nilable types
Fix doc typo
Revert parsing of '-> do rescue; end' for ruby25, it's valid only starting from 26. (#510)
- lexer.rl: Fix parsing of 'm = -> *args do end'.
Update changelog.
- AST::Processor: Properly recurse into "kwsplat" nodes
+ ruby26.y: Endless ranges support.
- ruby24, ruby25, ruby26: Fix cmdargs after command_args followed by tLBRACE_ARG.
- lexer.rl: Fix parsing of `let (:a) { m do; end }`.
Fix a wrong indentation in the AST_FORMAT.md
Update changelog.
Bump version.
- lexer.rl, Dedenter: Treat slash in heredocs as a line continuation.
- lexer.rl: Fix parsing of `a ? b + '': nil`.
- lexer.rl: Reject `m a: {} {}` and `m [] {}` since 25.
* Parser::Current: bump latest 2.2 branch to 2.2.10.
Parser::Current: bump latest versions to 2.3.7, 2.4.4, 2.5.1. (#489)
call String#getbyte
- builders/default: allow class/module/dynamic constant definition in the method body if there's a sclass between them. (bug #490)
- lexer.rl: Emit :!@ as :!, :~@ as :~.
- parse{23,24,25}.y: use only CMDARG/COND _PUSH/POP for cmdarg/cond management. (bug #481)
+ ruby26.y: Raise a syntax error on 'else' without 'rescue'.
- lexer.rl: emit tSTRING_BEG and tSTRING_DBEG one by one to allow parser to properly manipulate cmdarg stack. (bug #480)
ruby26.y: branch parser.
Bump version.
Update changelog.
Commits
See the full diff on Github. The new version differs by 13 commits:
Cut 0.1.2
[Fix #27] Don't return nils from remove_prefix and remove_suffix
[Fix #34] Revert "Fixing the tests and the definition of sum"
Bump the yard dependency
Update Enumerable#sum to match the builtin (#35)
Update Travis config (#36)
Add jruby-9.1.13.0 to the TravisCI matrix (#31)
Use SVG badges in the README [ci skip] (#32)
Fixing the tests and the definition of sum
Fixing rbx
Update the TravisCI config
Use the ISO date format in the changelog
Add some contribution guidelines
Commits
See the full diff on Github. The new version differs by 12 commits:
Release v1.4.0
Unicode 11
Release v1.3.3
Clarify supported Rubies
Replace Gem::Util.gunzip with direct zlib implementation
Release v1.3.2
Explicitly load rubygems/util, fixes regression in 1.3.1 (autoload issue)
Release v1.3.1
Update travis rubies
Merge pull request #15 from Schwad/master
Updates 'Gem.gunzip' to 'Gem::Util.gunzip'
Update travis 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
.