cocoapods-amicable
cocoapods-amicable copied to clipboard
Bump rubocop from 0.49.1 to 0.50.0
⚠️ Dependabot Preview has been deactivated ⚠️
This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.
If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.
Bumps rubocop from 0.49.1 to 0.50.0.
Release notes
Sourced from rubocop's releases.
RuboCop 0.50
New features
- #4464: Add
EnforcedStyleForEmptyBracesparameter toLayout/SpaceBeforeBlockBracescop. ([palkan][])- #4453: New cop
Style/RedundantConditionalchecks for conditionals that return true/false. ([petehamilton][])- #4448: Add new
TapFormatter. ([cyberdelia][])- Add new
Style/HeredocDelimiterscop. ([drenmi][])- #4153: New cop
Lint/ReturnInVoidContextchecks for the use of a return with a value in a context where it will be ignored. ([harold-s][])- Add auto-correct support to
Lint/ScriptPermission. ([rrosenblum][])- #4514: Add configuration options to
Style/YodaConditionto support checking all comparison operators or equality operators only. ([smakagon][])- Add new
Lint/BooleanSymbolcop. ([droptheplot][])- Make
Rails/PluralizationGrammaruse singular methods for-1/-1.0. ([promisedlandt][])- #4541: Add new
Rails/HasManyOrHasOneDependentcop. ([oboxodo][])- Add new
Style/Dircop. ([drenmi][])- Add new
Style/HeredocDelimiterCasecop. ([drenmi][])- #2943: Add new
Lint/RescueWithoutErrorClasscop. ([drenmi][])- #4568: Fix autocorrection for
Style/TrailingUnderscoreVariable. ([smakagon][])- #4586: Add new
Performance/UnfreezeStringcop. ([pocke][])- #2976: Add
Whitelistconfiguration option toStyle/NestedParenthesizedCallscop. ([drenmi][])- #3965: Add new
Style/DoublePipeEqualscop. ([donjar][])- Make
rake new_copcreate parent directories if they do not already exist. ([highb][])- #4368: Make
Performance/HashEachMethodinspect send nodes with any receiver. ([gohdaniel15][])- #4508: Add new
Style/ReturnNilcop. ([donjar][])- #4629: Add Metrics/MethodLength cop for
define_method. ([jekuta][])- #4702: Add new
Lint/UriEscapeUnescapecop. ([koic][])- #4696: Add new
Performance/UriDefaultParsercop. ([koic][])- #4694: Add new
Lint/UriRegexpcop. ([koic][])- Add new
Style/MinMaxcop. ([drenmi][])- #4720: Add new
Bundler/InsecureProtocolSourcecop. ([koic][])- #4708: Add new
Lint/RedundantWithIndexcop`. ([koic][])Bug fixes
... (truncated)
- #4709: Use cached remote config on network failure. ([kristjan][])
- #4688: Accept yoda condition which isn't commutative. ([fujimura][])
- #4676: Make
Style/RedundantConditionalcop work with elsif. ([akhramov][])- #4656: Modify
Style/ConditionalAssignmentautocorrection to work with unbracketed arrays. ([akhramov][])- #4615: Don't consider
<=>a comparison method. ([iGEL][])- #4664: Fix typos in Rails/HttpPositionalArguments. ([JoeCohen][])
- #4618: Fix
Lint/FormatParameterMismatchfalse positive if format string includes%%5B(CGI encoded left bracket). ([barthez][])- #4604: Fix
Style/LambdaCallto autocorrectobj.calltoobj.. ([iGEL][])- #4443: Prevent
Style/YodaConditionfrom breakingnot LITERAL. ([pocke][])- #4434: Prevent bad auto-correct in
Style/Aliasfor non-literal arguments. ([drenmi][])- #4451: Make
Style/AndOrcop aware of comparison methods. ([drenmi][])- #4457: Fix false negative in
Lint/Voidwith initialize and setter methods. ([pocke][])- #4418: Register an offense in
Style/ConditionalAssignmentwhen the assignment line is the longest line, and it does not exceed the max line length. ([rrosenblum][])- #4491: Prevent bad auto-correct in
Style/EmptyElsefor nestedif. ([pocke][])- #4485: Handle 304 status for remote config files. ([daniloisr][])
- #4529: Make
Lint/UnreachableCodeaware ofifandcase. ([pocke][])- #4469: Include permissions in file cache. ([pocke][])
Changelog
Sourced from rubocop's changelog.
0.50.0 (2017-09-14)
New features
- #4464: Add
EnforcedStyleForEmptyBracesparameter toLayout/SpaceBeforeBlockBracescop. ([palkan][])- #4453: New cop
Style/RedundantConditionalchecks for conditionals that return true/false. ([petehamilton][])- #4448: Add new
TapFormatter. ([cyberdelia][])- #4467: Add new
Style/HeredocDelimiterscop(Note: This cop was renamed toNaming/HeredocDelimiterNaming). ([drenmi][])- #4153: New cop
Lint/ReturnInVoidContextchecks for the use of a return with a value in a context where it will be ignored. ([harold-s][])- #4506: Add auto-correct support to
Lint/ScriptPermission. ([rrosenblum][])- #4514: Add configuration options to
Style/YodaConditionto support checking all comparison operators or equality operators only. ([smakagon][])- #4515: Add new
Lint/BooleanSymbolcop. ([droptheplot][])- #4535: Make
Rails/PluralizationGrammaruse singular methods for-1/-1.0. ([promisedlandt][])- #4541: Add new
Rails/HasManyOrHasOneDependentcop. ([oboxodo][])- #4552: Add new
Style/Dircop. ([drenmi][])- #4548: Add new
Style/HeredocDelimiterCasecop(Note: This cop is renamed toNaming/HeredocDelimiterCase). ([drenmi][])- #2943: Add new
Lint/RescueWithoutErrorClasscop. ([drenmi][])- #4568: Fix autocorrection for
Style/TrailingUnderscoreVariable. ([smakagon][])- #4586: Add new
Performance/UnfreezeStringcop. ([pocke][])- #2976: Add
Whitelistconfiguration option toStyle/NestedParenthesizedCallscop. ([drenmi][])- #3965: Add new
Style/OrAssignmentcop. ([donjar][])- #4655: Make
rake new_copcreate parent directories if they do not already exist. ([highb][])- #4368: Make
Performance/HashEachMethodinspect send nodes with any receiver. ([gohdaniel15][])- #4508: Add new
Style/ReturnNilcop. ([donjar][])- #4629: Add Metrics/MethodLength cop for
define_method. ([jekuta][])- #4702: Add new
Lint/UriEscapeUnescapecop. ([koic][])- #4696: Add new
Performance/UriDefaultParsercop. ([koic][])- #4694: Add new
Lint/UriRegexpcop. ([koic][])- #4711: Add new
Style/MinMaxcop. ([drenmi][])- #4720: Add new
Bundler/InsecureProtocolSourcecop. ([koic][])- #4708: Add new
Lint/RedundantWithIndexcop. ([koic][])- #4480: Add new
Lint/InterpolationCheckcop. ([GauthamGoli][])- #4628: Add new
Lint/NestedPercentLiteralcop. ([asherkach][])Bug fixes
... (truncated)
- #4709: Use cached remote config on network failure. ([kristjan][])
- #4688: Accept yoda condition which isn't commutative. ([fujimura][])
- #4676: Make
Style/RedundantConditionalcop work with elsif. ([akhramov][])- #4656: Modify
Style/ConditionalAssignmentautocorrection to work with unbracketed arrays. ([akhramov][])- #4615: Don't consider
<=>a comparison method. ([iGEL][])- #4664: Fix typos in Rails/HttpPositionalArguments. ([JoeCohen][])
- #4618: Fix
Lint/FormatParameterMismatchfalse positive if format string includes%%5B(CGI encoded left bracket). ([barthez][])- #4604: Fix
Style/LambdaCallto autocorrectobj.calltoobj.. ([iGEL][])- #4443: Prevent
Style/YodaConditionfrom breakingnot LITERAL. ([pocke][])- #4434: Prevent bad auto-correct in
Style/Aliasfor non-literal arguments. ([drenmi][])- #4451: Make
Style/AndOrcop aware of comparison methods. ([drenmi][])- #4457: Fix false negative in
Lint/Voidwith initialize and setter methods. ([pocke][])- #4418: Register an offense in
Style/ConditionalAssignmentwhen the assignment line is the longest line, and it does not exceed the max line length. ([rrosenblum][])- #4491: Prevent bad auto-correct in
Style/EmptyElsefor nestedif. ([pocke][])
Commits
0f319cbCut 0.50.099a5498Add newLint/RedundantWithIndexcop (#4708)c46bf72[Fix #4723] RaiseArgs shouldn't autocorrect 3-args form (#4725)b3a4c1cChange a todo message atrake new_coptask54a3477Add newBundler/InsecureProtocolSourcecop (#4720)bf52e75Add gemspec metadataeb42226Fixrake new_copproblem that doesn't addrequireline (#4722)04087f9Make Style/AutoResourceCleanup examples equivalente0fdb0bAdd newStyle/MinMaxcop4fc5e2d[Fix #4322] Fix Style/MultilineMemoization autocorrection- 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 will not automatically merge this PR because this dependency is pre-1.0.0.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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 cancel mergewill cancel a previously requested merge@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@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.