New version of rubocop (0.54.0) produced dependency conflicts
Created by: depfu[bot]
Welcome to Depfu
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
We've tried to upgrade a dependency and got errors running Bundler.
| name | version specification | new version |
|---|---|---|
| rubocop | ~> 0.53.0 | 0.54.0 |
It looks like there is a version conflict between two or more dependencies. Depfu doesn't try to solve these, as this would mean to update more than one dependency at a time.
Please take a look at the exact failure to figure out if this is something you need to work on.
The bundler error message was:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 1.16)
Current Bundler version:
bundler (1.15.2)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (~> 1.16)' in any of the sources
What changed?
✳ ️ rubocop ( → 0.54.0) · Repo · Changelog
Release Notes
From the Github release:
New features
-
#5597: Add new
Rails/HttpStatuscop. (@anthony-robin) -
#5643: Add new
Style/UnpackFirstcop. (@bdewater)
Bug fixes
-
#5683: Fix message for
Naming/UncommunicativeXParamNamecops. (@jlfaber) -
#5680: Fix
Layout/ElseAlignmentforrescue/else/ensureinsidedo/endblocks. (@YukiJikumaru) -
#5642: Fix
Style/Documentation:nodoc:for compact-style nested modules/classes. (@ojab) - #5648: Suggest valid memoized instance variable for predicate method. (@satyap)
- #5670: Suggest valid memoized instance variable for bang method. (@pocke)
-
#5623: Fix
Bundler/OrderedGemswhen a group includes duplicate gems. (@colorbox) -
#5633: Fix broken
--fail-fast. (@mmyoji) -
#5630: Fix false positive for
Style/FormatStringTokenwhen using placeholder arguments informatmethod. (@koic) - #5651: Fix NoMethodError when specified config file that does not exist. (@onk)
- #5647: Fix encoding method of RuboCop::MagicComment::SimpleComment. (@htwroclau)
-
#5619: Do not register an offense in
Style/InverseMethodswhen comparing constants with<,>,<=, or>=. If the code is being used to determine class hierarchy, the correction might not be accurate. (@rrosenblum) -
#5641: Disable
Style/TrivialAccessorsauto-correction fordefwithprivate. (@pocke) - Fix bug where
Style/SafeNavigationdoes not auto-correct all chained methods resulting in aLint/SafeNavigationChainoffense. (@rrosenblum) -
#5436: Allow empty kwrest args in
UncommunicativeNamecops. (@pocke) -
#5674: Fix auto-correction of
Layout/EmptyCommentwhen the empty comment appears on the same line as code. (@rrosenblum) -
#5679: Fix a false positive for
Style/EmptyLineAfterGuardClausewhen guard clause is beforerescueorensure. (@koic) - #5694: Match Rails versions with multiple digits when reading the TargetRailsVersion from the bundler lock files. (@roberts1000)
-
#5700: Fix a false positive for
Style/EmptyLineAfterGuardClausewhen guard clause is beforeelse. (@koic) - Fix false positive in
Naming/ConstantNamewhen using conditional assignment. (@drenmi)
Changes
-
#5626: Change
Naming/UncommunicativeMethodParamNameaddtoto allowed names in default config. (@unused) -
#5640: Warn about user configuration overriding other user configuration only with
--debug. (@jonas054) -
#5637: Fix error for
Layout/SpaceInsideArrayLiteralBracketswhen contains an array literal as an argument after a heredoc is started. (@koic) -
#5498: Correct IndentHeredoc message for Ruby 2.3 when using
<<~operator with invalid indentation. (@hamada14) -
#5610: Use
gems.lockedorGemfile.lockto determine the bestTargetRubyVersionwhen it is not specified in the config. (@roberts1000) -
#5390: Allow exceptions to
Style/InlineCommentfor inline comments which enable or disable rubocop cops. (@jfelchner) - Add progress bar to offenses formatter. (@drewpterry)
-
#5498: Correct
IndentHeredocmessage for Ruby 2.3 when using<<~operator with invalid indentation. (@hamada14)
Commits
See the full diff on Github. The new version differs by 40 commits:
Cut 0.54Improve a bit the changelog markupRemove unnecessary condition in rubocop.gemspecFix false positive for `Style/EmptyLineAfterGuardClause` (#5700)Prevent false positive in Naming/ConstantName when using conditional assignmentAdd 'Style/UnpackFirst' cop[Fix #5694] Match Rails versions with multiple digits[#5390] Allow exceptions to Style/InlineComment for RuboCop comments (#5697)Add progress bar to offense formatter (#5675)Fix build error in project_spec.rb[#5610] Infer TargetRubyVersion from bundler lock files[#5641] Disable `Style/TrivialAccessors` auto-correction for `def` with `private` (#5691)Fix auto-correction of chained methods in SafeNavigation (#5692)[Fix #5683] Fix message for Naming/UncommunicativeXParamName cops[Fix #5436] Allow empty kwrest args in UncommunicativeName cops (#5681)[Fix #5670] Suggest valid memoized instance variable for bang method[Fix #5674] Fix auto-correction of EmptyComment when the comment is next to code (#5676)Fix false positive for `Style/EmptyLineAfterGuardClause`Update the formatter manual[Fix #5680] Support Layout/ElseAlignment in do/end blocks (#5687)ADD Rails/HttpStatus cop (#5597)[Fix #5619] - Do not register an offense when in InverseMethods when determining class hierarchyAdd pry-byebug gem to GemfileFix false-negative on EmptyLinesAroundAccessModifier (#5625)Fix Style/Documentation :nodoc: for compact-style nested modules/classes (#5642)[Fix #5498] Correct Heredoc message when using '<<~' with invalid indentationFix encoding method of RuboCop::MagicComment::SimpleComment[Fix #5637] Fix error for `Layout/SpaceInsideArrayLiteralBrackets`Improve examples of Style/RedundantBegin copFix undefined method `status' for #<RuboCop::ConfigNotFoundError> (NoMethodError)[Fix #5630] Fix false positive `Style/FormatStringToken`[Fix #5648] Suggest valid memoized instance variable for predicate method (#5649)[Fix #5640] Only warn about parameter overrides with --debugFix broken `--fail-fast` (#5633)Improve examples of `Rails/SkipsModelValidations` copAllow `to` as method parameter in default config (#5626)Add the issue tracker URL to error messageRemove workaround for parser gem in the RakefileFix `Bundler/OrderedGems` autocorrect behaviorFix typo in changelog