minitest-handler-cookbook
minitest-handler-cookbook copied to clipboard
Bump rubocop from 0.34.2 to 0.48.1
Bumps rubocop from 0.34.2 to 0.48.1.
Release notes
Sourced from rubocop's releases.
RuboCop 0.48.1
Changes
- #4219: Add a link to style guide for
Style/IndentationConsistencycop. ([@pocke][])- #4168: Removed
-noption. ([@sadovnik][])- #4039: Change
Style/PercentLiteralDelimitersdefault configuration to match Style Guide update. ([@drenmi][])- #4235: Improved copy of offense message in
Lint/AmbiguousBlockAssociationcop. ([@smakagon][])Bug fixes
... (truncated)
- #4171: Prevent
Rails/Blankfrom breaking when RHS oforis a naked falsiness check. ([@drenmi][])- #4189: Make
Lint/AmbiguousBlockAssociationaware of lambdas passed as arguments. ([@drenmi][])- #4179: Prevent
Rails/Blankfrom breaking when LHS oforis a naked falsiness check. ([@rrosenblum][])- #4172: Fix false positives in
Style/MixinGroupingcop. ([@drenmi][])- #4185: Make
Lint/NestedMethodDefinitionaware of#*_execclass of methods. ([@drenmi][])- #4197: Fix false positive in
Style/RedundantSelfcop with parallel assignment. ([@drenmi][])- #4199: Fix incorrect auto correction in
Style/SymbolArrayandStyle/WordArraycop. ([@pocke][])- #4218: Make
Lint/NestedMethodDefinitionaware of class shovel scope. ([@drenmi][])- #4198: Make
Lint/AmbguousBlockAssociationaware of operator methods. ([@drenmi][])- #4152: Make
Style/MethodCallWithArgsParenthesesnot require parens on setter methods. ([@drenmi][])- #4226: Show in
--helpoutput that--stdintakes a file name argument. (@jonas054)- #4217: Fix false positive in
Rails/FilePathcop with non string argument. ([@soutaro][])- #4106: Make
Style/TernaryParenthesesunsafe autocorrect detector aware of literals and constants. ([@drenmi][])- #4228: Fix false positive in
Lint/AmbiguousBlockAssociationcop. ([@smakagon][])- #4234: Fix false positive in
Rails/RelativeDatefor lambdas and procs. ([@smakagon][])
Changelog
Sourced from rubocop's changelog.
0.48.1 (2017-04-03)
Changes
- #4219: Add a link to style guide for
Style/IndentationConsistencycop. ([@pocke][])- #4168: Removed
-noption. ([@sadovnik][])- #4039: Change
Style/PercentLiteralDelimitersdefault configuration to match Style Guide update. ([@drenmi][])- #4235: Improved copy of offense message in
Lint/AmbiguousBlockAssociationcop. ([@smakagon][])Bug fixes
- #4171: Prevent
Rails/Blankfrom breaking when RHS oforis a naked falsiness check. ([@drenmi][])- #4189: Make
Lint/AmbiguousBlockAssociationaware of lambdas passed as arguments. ([@drenmi][])- #4179: Prevent
Rails/Blankfrom breaking when LHS oforis a naked falsiness check. ([@rrosenblum][])- #4172: Fix false positives in
Style/MixinGroupingcop. ([@drenmi][])- #4185: Make
Lint/NestedMethodDefinitionaware of#*_execclass of methods. ([@drenmi][])- #4197: Fix false positive in
Style/RedundantSelfcop with parallel assignment. ([@drenmi][])- #4199: Fix incorrect auto correction in
Style/SymbolArrayandStyle/WordArraycop. ([@pocke][])- #4218: Make
Lint/NestedMethodDefinitionaware of class shovel scope. ([@drenmi][])- #4198: Make
Lint/AmbguousBlockAssociationaware of operator methods. ([@drenmi][])- #4152: Make
Style/MethodCallWithArgsParenthesesnot require parens on setter methods. ([@drenmi][])- #4226: Show in
--helpoutput that--stdintakes a file name argument. (@jonas054)- #4217: Fix false positive in
Rails/FilePathcop with non string argument. ([@soutaro][])- #4106: Make
Style/TernaryParenthesesunsafe autocorrect detector aware of literals and constants. ([@drenmi][])- #4228: Fix false positive in
Lint/AmbiguousBlockAssociationcop. ([@smakagon][])- #4234: Fix false positive in
Rails/RelativeDatefor lambdas and procs. ([@smakagon][])0.48.0 (2017-03-26)
New features
... (truncated)
- #4107: New
TargetRailsVersionconfiguration parameter can be used to specify which version of Rails the inspected code is intended to run on. ([@maxbeizer][])- #4104: Add
prefixandpostfixstyles toStyle/NegatedIf. ([@brandonweiss][])- #4083: Add new configuration
NumberOfEmptyLinesforStyle/EmptyLineBetweenDefs. ([@dorian][])- #4045: Add new configuration
StrictforStyle/NumericLiteralto make the change to this cop in 0.47.0 configurable. ([@iGEL][])- #4005: Add new
AllCops/EnabledByDefaultoption. ([@betesh][])- #3893: Add a new configuration,
IncludeActiveSupportAliases, toPerformance/DoublStartEndWith. This configuration will check for ActiveSupport'sstarts_with?andends_with?. ([@rrosenblum][])- #3889: Add new
Style/EmptyLineAfterMagicCommentcop. ([@backus][])- #3800: Make
Style/EndOfLineconfigurable withlf,crlf, andnative(default) styles. (@jonas054)- #3936: Add new
Style/MixinGroupingcop. ([@drenmi][])- #4003: Add new
Rails/RelativeDateConstantcop. ([@sinsoku][])- #3984: Add new
Style/EmptyLinesAroundBeginBodycop. ([@pocke][])- #3995: Add new
Style/EmptyLinesAroundExceptionHandlingKeywordscop. ([@pocke][])- #4019: Make configurable
Style/MultilineMemoizationcop. ([@pocke][])- #4018: Add autocorrect
Lint/EmptyEnsurecop. ([@pocke][])- #4028: Add new
Style/IndentHeredoccop. ([@pocke][])- #3931: Add new
Lint/AmbiguousBlockAssociationcop. ([@smakagon][])- Add new
Style/InverseMethodscop. ([@rrosenblum][])- #4038: Allow
defaultkey in theStyle/PercentLiteralDelimiterscop config to set all preferred delimiters. ([@kddeisz][])- Add
IgnoreMacrosoption toStyle/MethodCallWithArgsParentheses. ([@drenmi][])
Commits
33cda49Cut RuboCop 0.48.12dc72aeImprove a bit the code style in Rails/RelativeDateConstant212f68b[Fix #4196] Handle properly lambdas and procs in Rails/RelativeDateConstant (...67ca736[Fix #4181] Improve the message of the Lint/AmbiguousBlockAssociation cop (#4...6414db1[Fix #4227] Address an AmbiguousBlockAssociation false positive (#4228)022e732[Fix #4039] ChangeStyle/PercentLiteralDelimitersdefault configuration to ...ef729dfAllow visibility scoped node matchersef9607c[Fix #4106] MakeStyle/TernaryParenthesesunsafe autocorrect detector smarteraa05c64Fix Rails/FilePath join argument misdetection47f8671Declare --stdin with FILE argument for better help text- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.