Release notes
*Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).*
> ## RuboCop 0.48.1
> ### Changes
>
> * [#4219](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4219): Add a link to style guide for `Style/IndentationConsistency` cop. ([@pocke][])
> * [#4168](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4168): Removed `-n` option. ([@sadovnik][])
> * [#4039](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4039): Change `Style/PercentLiteralDelimiters` default configuration to match Style Guide update. ([@drenmi][])
> * [#4235](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4235): Improved copy of offense message in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][])
>
> ### Bug fixes
>
> * [#4171](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4171): Prevent `Rails/Blank` from breaking when RHS of `or` is a naked falsiness check. ([@drenmi][])
> * [#4189](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4189): Make `Lint/AmbiguousBlockAssociation` aware of lambdas passed as arguments. ([@drenmi][])
> * [#4179](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4179): Prevent `Rails/Blank` from breaking when LHS of `or` is a naked falsiness check. ([@rrosenblum][])
> * [#4172](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4172): Fix false positives in `Style/MixinGrouping` cop. ([@drenmi][])
> * [#4185](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4185): Make `Lint/NestedMethodDefinition` aware of `#*_exec` class of methods. ([@drenmi][])
> * [#4197](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4197): Fix false positive in `Style/RedundantSelf` cop with parallel assignment. ([@drenmi][])
> * [#4199](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4199): Fix incorrect auto correction in `Style/SymbolArray` and `Style/WordArray` cop. ([@pocke][])
> * [#4218](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4218): Make `Lint/NestedMethodDefinition` aware of class shovel scope. ([@drenmi][])
> * [#4198](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4198): Make `Lint/AmbguousBlockAssociation` aware of operator methods. ([@drenmi][])
> * [#4152](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4152): Make `Style/MethodCallWithArgsParentheses` not require parens on setter methods. ([@drenmi][])
> * [#4226](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4226): Show in `--help` output that `--stdin` takes a file name argument. ([@jonas054][])
> * [#4217](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4217): Fix false positive in `Rails/FilePath` cop with non string argument. ([@soutaro][])
> * [#4106](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4106): Make `Style/TernaryParentheses` unsafe autocorrect detector aware of literals and constants. ([@drenmi][])
> * [#4228](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4228): Fix false positive in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][])
> * [#4234](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4234): Fix false positive in `Rails/RelativeDate` for lambdas and procs. ([@smakagon][])
>
> [@bbatsov]: https://github.com/bbatsov
> [@jonas054]: https://github.com/jonas054
> [@yujinakayama]: https://github.com/yujinakayama
> [@dblock]: https://github.com/dblock
> [@nevir]: https://github.com/nevir
> [@daviddavis]: https://github.com/daviddavis
> [@sds]: https://github.com/sds
> [@fancyremarker]: https://github.com/fancyremarker
> [@sinisterchipmunk]: https://github.com/sinisterchipmunk
> [@vonTronje]: https://github.com/vonTronje
> [@agrimm]: https://github.com/agrimm
> [@pmenglund]: https://github.com/pmenglund
> [@chulkilee]: https://github.com/chulkilee
> [@codez]: https://github.com/codez
> [@cyberdelia]: https://github.com/cyberdelia
> [@emou]: https://github.com/emou
> [@skanev]: http://github.com/skanev
> [@claco]: http://github.com/claco
> [@rifraf]: http://github.com/rifraf
> [@scottmatthewman]: https://github.com/scottmatthewman
> [@ma2gedev]: http://github.com/ma2gedev
> [@jeremyolliver]: https://github.com/jeremyolliver
> [@hannestyden]: https://github.com/hannestyden
> [@geniou]: https://github.com/geniou
> ... (truncated)
Changelog
*Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).*
> ## 0.48.1 (2017-04-03)
>
> ### Changes
>
> * [#4219](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4219): Add a link to style guide for `Style/IndentationConsistency` cop. ([@pocke][])
> * [#4168](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4168): Removed `-n` option. ([@sadovnik][])
> * [#4039](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4039): Change `Style/PercentLiteralDelimiters` default configuration to match Style Guide update. ([@drenmi][])
> * [#4235](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4235): Improved copy of offense message in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][])
>
> ### Bug fixes
>
> * [#4171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4171): Prevent `Rails/Blank` from breaking when RHS of `or` is a naked falsiness check. ([@drenmi][])
> * [#4189](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4189): Make `Lint/AmbiguousBlockAssociation` aware of lambdas passed as arguments. ([@drenmi][])
> * [#4179](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4179): Prevent `Rails/Blank` from breaking when LHS of `or` is a naked falsiness check. ([@rrosenblum][])
> * [#4172](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4172): Fix false positives in `Style/MixinGrouping` cop. ([@drenmi][])
> * [#4185](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4185): Make `Lint/NestedMethodDefinition` aware of `#*_exec` class of methods. ([@drenmi][])
> * [#4197](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4197): Fix false positive in `Style/RedundantSelf` cop with parallel assignment. ([@drenmi][])
> * [#4199](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4199): Fix incorrect auto correction in `Style/SymbolArray` and `Style/WordArray` cop. ([@pocke][])
> * [#4218](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4218): Make `Lint/NestedMethodDefinition` aware of class shovel scope. ([@drenmi][])
> * [#4198](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4198): Make `Lint/AmbguousBlockAssociation` aware of operator methods. ([@drenmi][])
> * [#4152](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4152): Make `Style/MethodCallWithArgsParentheses` not require parens on setter methods. ([@drenmi][])
> * [#4226](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4226): Show in `--help` output that `--stdin` takes a file name argument. ([@jonas054][])
> * [#4217](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4217): Fix false positive in `Rails/FilePath` cop with non string argument. ([@soutaro][])
> * [#4106](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4106): Make `Style/TernaryParentheses` unsafe autocorrect detector aware of literals and constants. ([@drenmi][])
> * [#4228](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4228): Fix false positive in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][])
> * [#4234](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4234): Fix false positive in `Rails/RelativeDate` for lambdas and procs. ([@smakagon][])
>
> ## 0.48.0 (2017-03-26)
>
> ### New features
>
> * [#4107](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4107): New `TargetRailsVersion` configuration parameter can be used to specify which version of Rails the inspected code is intended to run on. ([@maxbeizer][])
> * [#4104](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4104): Add `prefix` and `postfix` styles to `Style/NegatedIf`. ([@brandonweiss][])
> * [#4083](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4083): Add new configuration `NumberOfEmptyLines` for `Style/EmptyLineBetweenDefs`. ([@dorian][])
> * [#4045](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4045): Add new configuration `Strict` for `Style/NumericLiteral` to make the change to this cop in 0.47.0 configurable. ([@iGEL][])
> * [#4005](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4005): Add new `AllCops/EnabledByDefault` option. ([@betesh][])
> * [#3893](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3893): Add a new configuration, `IncludeActiveSupportAliases`, to `Performance/DoublStartEndWith`. This configuration will check for ActiveSupport's `starts_with?` and `ends_with?`. ([@rrosenblum][])
> * [#3889](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/3889): Add new `Style/EmptyLineAfterMagicComment` cop. ([@backus][])
> * [#3800](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3800): Make `Style/EndOfLine` configurable with `lf`, `crlf`, and `native` (default) styles. ([@jonas054][])
> * [#3936](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3936): Add new `Style/MixinGrouping` cop. ([@drenmi][])
> * [#4003](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4003): Add new `Rails/RelativeDateConstant` cop. ([@sinsoku][])
> * [#3984](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/3984): Add new `Style/EmptyLinesAroundBeginBody` cop. ([@pocke][])
> * [#3995](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/3995): Add new `Style/EmptyLinesAroundExceptionHandlingKeywords` cop. ([@pocke][])
> * [#4019](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4019): Make configurable `Style/MultilineMemoization` cop. ([@pocke][])
> * [#4018](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4018): Add autocorrect `Lint/EmptyEnsure` cop. ([@pocke][])
> * [#4028](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4028): Add new `Style/IndentHeredoc` cop. ([@pocke][])
> * [#3931](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3931): Add new `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][])
> * Add new `Style/InverseMethods` cop. ([@rrosenblum][])
> * [#4038](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4038): Allow `default` key in the `Style/PercentLiteralDelimiters` cop config to set all preferred delimiters. ([@kddeisz][])
> * Add `IgnoreMacros` option to `Style/MethodCallWithArgsParentheses`. ([@drenmi][])
> ... (truncated)
Commits
- [`33cda49`](https://github.com/rubocop-hq/rubocop/commit/33cda4978a3576e93d69c301e3a764a9b7e4c0d7) Cut RuboCop 0.48.1
- [`2dc72ae`](https://github.com/rubocop-hq/rubocop/commit/2dc72aea550f1513f7f1670d57069755d8c61898) Improve a bit the code style in Rails/RelativeDateConstant
- [`212f68b`](https://github.com/rubocop-hq/rubocop/commit/212f68b8679d443110f1251d2ad8dd75dec8ee55) [Fix [#4196](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4196)] Handle properly lambdas and procs in Rails/RelativeDateConstant (...
- [`67ca736`](https://github.com/rubocop-hq/rubocop/commit/67ca7369eec4ba331add8df5a26ce39013428fb9) [Fix [#4181](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4181)] Improve the message of the Lint/AmbiguousBlockAssociation cop ([#4](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4)...
- [`6414db1`](https://github.com/rubocop-hq/rubocop/commit/6414db11f6999c2e7d6e454567b3d567851fc2e3) [Fix [#4227](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4227)] Address an AmbiguousBlockAssociation false positive ([#4228](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4228))
- [`022e732`](https://github.com/rubocop-hq/rubocop/commit/022e7322b731b06bd31ce5ef1bac378b27551ed0) [Fix [#4039](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4039)] Change `Style/PercentLiteralDelimiters` default configuration to ...
- [`ef729df`](https://github.com/rubocop-hq/rubocop/commit/ef729dfcc5d15e038db24579b761bc0b56991de0) Allow visibility scoped node matchers
- [`ef9607c`](https://github.com/rubocop-hq/rubocop/commit/ef9607c809828b16ab84c9e87d5cfae3cf44535a) [Fix [#4106](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4106)] Make `Style/TernaryParentheses` unsafe autocorrect detector smarter
- [`aa05c64`](https://github.com/rubocop-hq/rubocop/commit/aa05c64b72e0f18d7d0ec2f57e4e711afd86a994) Fix Rails/FilePath join argument misdetection
- [`47f8671`](https://github.com/rubocop-hq/rubocop/commit/47f8671d50060b60cf43449949e8175736463925) Declare --stdin with FILE argument for better help text
- Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.34.2...v0.48.1)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will 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](https://github.com/btm/minitest-handler-cookbook/network/alerts).
Bumps rubocop from 0.34.2 to 0.48.1.
Release notes
*Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).* > ## RuboCop 0.48.1 > ### Changes > > * [#4219](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4219): Add a link to style guide for `Style/IndentationConsistency` cop. ([@pocke][]) > * [#4168](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4168): Removed `-n` option. ([@sadovnik][]) > * [#4039](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4039): Change `Style/PercentLiteralDelimiters` default configuration to match Style Guide update. ([@drenmi][]) > * [#4235](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4235): Improved copy of offense message in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][]) > > ### Bug fixes > > * [#4171](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4171): Prevent `Rails/Blank` from breaking when RHS of `or` is a naked falsiness check. ([@drenmi][]) > * [#4189](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4189): Make `Lint/AmbiguousBlockAssociation` aware of lambdas passed as arguments. ([@drenmi][]) > * [#4179](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4179): Prevent `Rails/Blank` from breaking when LHS of `or` is a naked falsiness check. ([@rrosenblum][]) > * [#4172](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4172): Fix false positives in `Style/MixinGrouping` cop. ([@drenmi][]) > * [#4185](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4185): Make `Lint/NestedMethodDefinition` aware of `#*_exec` class of methods. ([@drenmi][]) > * [#4197](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4197): Fix false positive in `Style/RedundantSelf` cop with parallel assignment. ([@drenmi][]) > * [#4199](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4199): Fix incorrect auto correction in `Style/SymbolArray` and `Style/WordArray` cop. ([@pocke][]) > * [#4218](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4218): Make `Lint/NestedMethodDefinition` aware of class shovel scope. ([@drenmi][]) > * [#4198](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4198): Make `Lint/AmbguousBlockAssociation` aware of operator methods. ([@drenmi][]) > * [#4152](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4152): Make `Style/MethodCallWithArgsParentheses` not require parens on setter methods. ([@drenmi][]) > * [#4226](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4226): Show in `--help` output that `--stdin` takes a file name argument. ([@jonas054][]) > * [#4217](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4217): Fix false positive in `Rails/FilePath` cop with non string argument. ([@soutaro][]) > * [#4106](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4106): Make `Style/TernaryParentheses` unsafe autocorrect detector aware of literals and constants. ([@drenmi][]) > * [#4228](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4228): Fix false positive in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][]) > * [#4234](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4234): Fix false positive in `Rails/RelativeDate` for lambdas and procs. ([@smakagon][]) > > [@bbatsov]: https://github.com/bbatsov > [@jonas054]: https://github.com/jonas054 > [@yujinakayama]: https://github.com/yujinakayama > [@dblock]: https://github.com/dblock > [@nevir]: https://github.com/nevir > [@daviddavis]: https://github.com/daviddavis > [@sds]: https://github.com/sds > [@fancyremarker]: https://github.com/fancyremarker > [@sinisterchipmunk]: https://github.com/sinisterchipmunk > [@vonTronje]: https://github.com/vonTronje > [@agrimm]: https://github.com/agrimm > [@pmenglund]: https://github.com/pmenglund > [@chulkilee]: https://github.com/chulkilee > [@codez]: https://github.com/codez > [@cyberdelia]: https://github.com/cyberdelia > [@emou]: https://github.com/emou > [@skanev]: http://github.com/skanev > [@claco]: http://github.com/claco > [@rifraf]: http://github.com/rifraf > [@scottmatthewman]: https://github.com/scottmatthewman > [@ma2gedev]: http://github.com/ma2gedev > [@jeremyolliver]: https://github.com/jeremyolliver > [@hannestyden]: https://github.com/hannestyden > [@geniou]: https://github.com/geniou > ... (truncated)Changelog
*Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.48.1 (2017-04-03) > > ### Changes > > * [#4219](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4219): Add a link to style guide for `Style/IndentationConsistency` cop. ([@pocke][]) > * [#4168](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4168): Removed `-n` option. ([@sadovnik][]) > * [#4039](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4039): Change `Style/PercentLiteralDelimiters` default configuration to match Style Guide update. ([@drenmi][]) > * [#4235](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4235): Improved copy of offense message in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][]) > > ### Bug fixes > > * [#4171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4171): Prevent `Rails/Blank` from breaking when RHS of `or` is a naked falsiness check. ([@drenmi][]) > * [#4189](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4189): Make `Lint/AmbiguousBlockAssociation` aware of lambdas passed as arguments. ([@drenmi][]) > * [#4179](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4179): Prevent `Rails/Blank` from breaking when LHS of `or` is a naked falsiness check. ([@rrosenblum][]) > * [#4172](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4172): Fix false positives in `Style/MixinGrouping` cop. ([@drenmi][]) > * [#4185](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4185): Make `Lint/NestedMethodDefinition` aware of `#*_exec` class of methods. ([@drenmi][]) > * [#4197](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4197): Fix false positive in `Style/RedundantSelf` cop with parallel assignment. ([@drenmi][]) > * [#4199](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4199): Fix incorrect auto correction in `Style/SymbolArray` and `Style/WordArray` cop. ([@pocke][]) > * [#4218](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4218): Make `Lint/NestedMethodDefinition` aware of class shovel scope. ([@drenmi][]) > * [#4198](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4198): Make `Lint/AmbguousBlockAssociation` aware of operator methods. ([@drenmi][]) > * [#4152](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4152): Make `Style/MethodCallWithArgsParentheses` not require parens on setter methods. ([@drenmi][]) > * [#4226](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4226): Show in `--help` output that `--stdin` takes a file name argument. ([@jonas054][]) > * [#4217](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4217): Fix false positive in `Rails/FilePath` cop with non string argument. ([@soutaro][]) > * [#4106](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4106): Make `Style/TernaryParentheses` unsafe autocorrect detector aware of literals and constants. ([@drenmi][]) > * [#4228](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4228): Fix false positive in `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][]) > * [#4234](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4234): Fix false positive in `Rails/RelativeDate` for lambdas and procs. ([@smakagon][]) > > ## 0.48.0 (2017-03-26) > > ### New features > > * [#4107](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4107): New `TargetRailsVersion` configuration parameter can be used to specify which version of Rails the inspected code is intended to run on. ([@maxbeizer][]) > * [#4104](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4104): Add `prefix` and `postfix` styles to `Style/NegatedIf`. ([@brandonweiss][]) > * [#4083](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4083): Add new configuration `NumberOfEmptyLines` for `Style/EmptyLineBetweenDefs`. ([@dorian][]) > * [#4045](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4045): Add new configuration `Strict` for `Style/NumericLiteral` to make the change to this cop in 0.47.0 configurable. ([@iGEL][]) > * [#4005](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4005): Add new `AllCops/EnabledByDefault` option. ([@betesh][]) > * [#3893](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3893): Add a new configuration, `IncludeActiveSupportAliases`, to `Performance/DoublStartEndWith`. This configuration will check for ActiveSupport's `starts_with?` and `ends_with?`. ([@rrosenblum][]) > * [#3889](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/3889): Add new `Style/EmptyLineAfterMagicComment` cop. ([@backus][]) > * [#3800](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3800): Make `Style/EndOfLine` configurable with `lf`, `crlf`, and `native` (default) styles. ([@jonas054][]) > * [#3936](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3936): Add new `Style/MixinGrouping` cop. ([@drenmi][]) > * [#4003](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4003): Add new `Rails/RelativeDateConstant` cop. ([@sinsoku][]) > * [#3984](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/3984): Add new `Style/EmptyLinesAroundBeginBody` cop. ([@pocke][]) > * [#3995](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/3995): Add new `Style/EmptyLinesAroundExceptionHandlingKeywords` cop. ([@pocke][]) > * [#4019](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4019): Make configurable `Style/MultilineMemoization` cop. ([@pocke][]) > * [#4018](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4018): Add autocorrect `Lint/EmptyEnsure` cop. ([@pocke][]) > * [#4028](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4028): Add new `Style/IndentHeredoc` cop. ([@pocke][]) > * [#3931](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3931): Add new `Lint/AmbiguousBlockAssociation` cop. ([@smakagon][]) > * Add new `Style/InverseMethods` cop. ([@rrosenblum][]) > * [#4038](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4038): Allow `default` key in the `Style/PercentLiteralDelimiters` cop config to set all preferred delimiters. ([@kddeisz][]) > * Add `IgnoreMacros` option to `Style/MethodCallWithArgsParentheses`. ([@drenmi][]) > ... (truncated)Commits
- [`33cda49`](https://github.com/rubocop-hq/rubocop/commit/33cda4978a3576e93d69c301e3a764a9b7e4c0d7) Cut RuboCop 0.48.1 - [`2dc72ae`](https://github.com/rubocop-hq/rubocop/commit/2dc72aea550f1513f7f1670d57069755d8c61898) Improve a bit the code style in Rails/RelativeDateConstant - [`212f68b`](https://github.com/rubocop-hq/rubocop/commit/212f68b8679d443110f1251d2ad8dd75dec8ee55) [Fix [#4196](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4196)] Handle properly lambdas and procs in Rails/RelativeDateConstant (... - [`67ca736`](https://github.com/rubocop-hq/rubocop/commit/67ca7369eec4ba331add8df5a26ce39013428fb9) [Fix [#4181](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4181)] Improve the message of the Lint/AmbiguousBlockAssociation cop ([#4](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4)... - [`6414db1`](https://github.com/rubocop-hq/rubocop/commit/6414db11f6999c2e7d6e454567b3d567851fc2e3) [Fix [#4227](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4227)] Address an AmbiguousBlockAssociation false positive ([#4228](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4228)) - [`022e732`](https://github.com/rubocop-hq/rubocop/commit/022e7322b731b06bd31ce5ef1bac378b27551ed0) [Fix [#4039](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4039)] Change `Style/PercentLiteralDelimiters` default configuration to ... - [`ef729df`](https://github.com/rubocop-hq/rubocop/commit/ef729dfcc5d15e038db24579b761bc0b56991de0) Allow visibility scoped node matchers - [`ef9607c`](https://github.com/rubocop-hq/rubocop/commit/ef9607c809828b16ab84c9e87d5cfae3cf44535a) [Fix [#4106](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4106)] Make `Style/TernaryParentheses` unsafe autocorrect detector smarter - [`aa05c64`](https://github.com/rubocop-hq/rubocop/commit/aa05c64b72e0f18d7d0ec2f57e4e711afd86a994) Fix Rails/FilePath join argument misdetection - [`47f8671`](https://github.com/rubocop-hq/rubocop/commit/47f8671d50060b60cf43449949e8175736463925) Declare --stdin with FILE argument for better help text - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.34.2...v0.48.1)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will 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](https://github.com/btm/minitest-handler-cookbook/network/alerts).