Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop requirement from ~> 0.40.0 to ~> 0.51.0 #79

Merged
merged 3 commits into from Dec 5, 2018

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Nov 1, 2018

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.50

New features

  • #4464: Add EnforcedStyleForEmptyBraces parameter to Layout/SpaceBeforeBlockBraces cop. ([palkan][])
  • #4453: New cop Style/RedundantConditional checks for conditionals that return true/false. ([petehamilton][])
  • #4448: Add new TapFormatter. ([cyberdelia][])
  • Add new Style/HeredocDelimiters cop. ([drenmi][])
  • #4153: New cop Lint/ReturnInVoidContext checks 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/YodaCondition to support checking all comparison operators or equality operators only. ([smakagon][])
  • Add new Lint/BooleanSymbol cop. ([droptheplot][])
  • Make Rails/PluralizationGrammar use singular methods for -1 / -1.0. ([promisedlandt][])
  • #4541: Add new Rails/HasManyOrHasOneDependent cop. ([oboxodo][])
  • Add new Style/Dir cop. ([drenmi][])
  • Add new Style/HeredocDelimiterCase cop. ([drenmi][])
  • #2943: Add new Lint/RescueWithoutErrorClass cop. ([drenmi][])
  • #4568: Fix autocorrection for Style/TrailingUnderscoreVariable. ([smakagon][])
  • #4586: Add new Performance/UnfreezeString cop. ([pocke][])
  • #2976: Add Whitelist configuration option to Style/NestedParenthesizedCalls cop. ([drenmi][])
  • #3965: Add new Style/DoublePipeEquals cop. ([donjar][])
  • Make rake new_cop create parent directories if they do not already exist. ([highb][])
  • #4368: Make Performance/HashEachMethod inspect send nodes with any receiver. ([gohdaniel15][])
  • #4508: Add new Style/ReturnNil cop. ([donjar][])
  • #4629: Add Metrics/MethodLength cop for define_method. ([jekuta][])
  • #4702: Add new Lint/UriEscapeUnescape cop. ([koic][])
  • #4696: Add new Performance/UriDefaultParser cop. ([koic][])
  • #4694: Add new Lint/UriRegexp cop. ([koic][])
  • Add new Style/MinMax cop. ([drenmi][])
  • #4720: Add new Bundler/InsecureProtocolSource cop. ([koic][])
  • #4708: Add new Lint/RedundantWithIndex cop`. ([koic][])

Bug fixes

  • #4709: Use cached remote config on network failure. ([kristjan][])
  • #4688: Accept yoda condition which isn't commutative. ([fujimura][])
  • #4676: Make Style/RedundantConditional cop work with elsif. ([akhramov][])
  • #4656: Modify Style/ConditionalAssignment autocorrection to work with unbracketed arrays. ([akhramov][])
  • #4615: Don't consider <=> a comparison method. ([iGEL][])
  • #4664: Fix typos in Rails/HttpPositionalArguments. ([JoeCohen][])
  • #4618: Fix Lint/FormatParameterMismatch false positive if format string includes %%5B (CGI encoded left bracket). ([barthez][])
  • #4604: Fix Style/LambdaCall to autocorrect obj.call to obj.. ([iGEL][])
  • #4443: Prevent Style/YodaCondition from breaking not LITERAL. ([pocke][])
  • #4434: Prevent bad auto-correct in Style/Alias for non-literal arguments. ([drenmi][])
  • #4451: Make Style/AndOr cop aware of comparison methods. ([drenmi][])
  • #4457: Fix false negative in Lint/Void with initialize and setter methods. ([pocke][])
  • #4418: Register an offense in Style/ConditionalAssignment when the assignment line is the longest line, and it does not exceed the max line length. ([rrosenblum][])
  • #4491: Prevent bad auto-correct in Style/EmptyElse for nested if. ([pocke][])
  • #4485: Handle 304 status for remote config files. ([daniloisr][])
  • #4529: Make Lint/UnreachableCode aware of if and case. ([pocke][])
  • #4469: Include permissions in file cache. ([pocke][])
... (truncated)
Changelog

Sourced from rubocop's changelog.

0.50.0 (2017-09-14)

New features

  • #4464: Add EnforcedStyleForEmptyBraces parameter to Layout/SpaceBeforeBlockBraces cop. ([palkan][])
  • #4453: New cop Style/RedundantConditional checks for conditionals that return true/false. ([petehamilton][])
  • #4448: Add new TapFormatter. ([cyberdelia][])
  • #4467: Add new Style/HeredocDelimiters cop(Note: This cop was renamed to Naming/HeredocDelimiterNaming). ([drenmi][])
  • #4153: New cop Lint/ReturnInVoidContext checks 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/YodaCondition to support checking all comparison operators or equality operators only. ([smakagon][])
  • #4515: Add new Lint/BooleanSymbol cop. ([droptheplot][])
  • #4535: Make Rails/PluralizationGrammar use singular methods for -1 / -1.0. ([promisedlandt][])
  • #4541: Add new Rails/HasManyOrHasOneDependent cop. ([oboxodo][])
  • #4552: Add new Style/Dir cop. ([drenmi][])
  • #4548: Add new Style/HeredocDelimiterCase cop(Note: This cop is renamed to Naming/HeredocDelimiterCase). ([drenmi][])
  • #2943: Add new Lint/RescueWithoutErrorClass cop. ([drenmi][])
  • #4568: Fix autocorrection for Style/TrailingUnderscoreVariable. ([smakagon][])
  • #4586: Add new Performance/UnfreezeString cop. ([pocke][])
  • #2976: Add Whitelist configuration option to Style/NestedParenthesizedCalls cop. ([drenmi][])
  • #3965: Add new Style/OrAssignment cop. ([donjar][])
  • #4655: Make rake new_cop create parent directories if they do not already exist. ([highb][])
  • #4368: Make Performance/HashEachMethod inspect send nodes with any receiver. ([gohdaniel15][])
  • #4508: Add new Style/ReturnNil cop. ([donjar][])
  • #4629: Add Metrics/MethodLength cop for define_method. ([jekuta][])
  • #4702: Add new Lint/UriEscapeUnescape cop. ([koic][])
  • #4696: Add new Performance/UriDefaultParser cop. ([koic][])
  • #4694: Add new Lint/UriRegexp cop. ([koic][])
  • #4711: Add new Style/MinMax cop. ([drenmi][])
  • #4720: Add new Bundler/InsecureProtocolSource cop. ([koic][])
  • #4708: Add new Lint/RedundantWithIndex cop. ([koic][])
  • #4480: Add new Lint/InterpolationCheck cop. ([GauthamGoli][])
  • #4628: Add new Lint/NestedPercentLiteral cop. ([asherkach][])

Bug fixes

  • #4709: Use cached remote config on network failure. ([kristjan][])
  • #4688: Accept yoda condition which isn't commutative. ([fujimura][])
  • #4676: Make Style/RedundantConditional cop work with elsif. ([akhramov][])
  • #4656: Modify Style/ConditionalAssignment autocorrection to work with unbracketed arrays. ([akhramov][])
  • #4615: Don't consider <=> a comparison method. ([iGEL][])
  • #4664: Fix typos in Rails/HttpPositionalArguments. ([JoeCohen][])
  • #4618: Fix Lint/FormatParameterMismatch false positive if format string includes %%5B (CGI encoded left bracket). ([barthez][])
  • #4604: Fix Style/LambdaCall to autocorrect obj.call to obj.. ([iGEL][])
  • #4443: Prevent Style/YodaCondition from breaking not LITERAL. ([pocke][])
  • #4434: Prevent bad auto-correct in Style/Alias for non-literal arguments. ([drenmi][])
  • #4451: Make Style/AndOr cop aware of comparison methods. ([drenmi][])
  • #4457: Fix false negative in Lint/Void with initialize and setter methods. ([pocke][])
  • #4418: Register an offense in Style/ConditionalAssignment when the assignment line is the longest line, and it does not exceed the max line length. ([rrosenblum][])
  • #4491: Prevent bad auto-correct in Style/EmptyElse for nested if. ([pocke][])
... (truncated)
Commits

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.


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 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 cancel merge will cancel a previously requested merge
  • @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
  • @dependabot badge me will 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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 1, 2018
@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rubocop-tw-0.50.0 branch from 516d664 to 21f8510 Compare November 18, 2018 00:02
@majormoses majormoses self-assigned this Nov 18, 2018
@majormoses majormoses force-pushed the dependabot/bundler/rubocop-tw-0.50.0 branch 3 times, most recently from f0ad1d4 to 78d9767 Compare November 18, 2018 01:50
@majormoses
Copy link
Member

@majormoses majormoses requested a review from a team November 18, 2018 01:52
@majormoses majormoses mentioned this pull request Nov 18, 2018
8 tasks
@majormoses majormoses changed the title Update rubocop requirement from ~> 0.40.0 to ~> 0.50.0 Update rubocop requirement from ~> 0.40.0 to ~> 0.51.0 Nov 18, 2018
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/commits/v0.50.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Breaking Changes:
- removed ruby `< 2.3` support as they are EOL
- appeased the cops

Signed-off-by: Ben Abrams <me@benabrams.it>
@majormoses majormoses force-pushed the dependabot/bundler/rubocop-tw-0.50.0 branch from 78d9767 to 90b160a Compare November 22, 2018 17:02
@majormoses majormoses merged commit 73480b0 into master Dec 5, 2018
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-tw-0.50.0 branch December 5, 2018 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants