Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

Bump rubocop from 0.61.1 to 0.63.1 #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rubocop from 0.61.1 to 0.63.1.

Release notes

Sourced from rubocop's releases.

RuboCop 0.63.1

Bug fixes

  • #6678: Fix Lint/DisjunctiveAssignmentInConstructor when it finds an empty constructor. ([rmm5t][])
  • Do not attempt to auto-correct mass assignment or optional assignment in Rails/RelativeDateConstant. ([rrosenblum][])
  • Fix auto-correction of Style/WordArray and Style/SymbolArray when all elements are on separate lines and there is a trailing comment after the closing bracket. ([rrosenblum][])
  • Fix an exception that occurs when auto-correcting Layout/ClosingParenthesesIndentation when there are no arguments. ([rrosenblum][])

[rmm5t]: https://github.com/rmm5t
[rrosenblum]: https://github.com/rrosenblum

RuboCop 0.63

New features

  • #6604: Add auto-correct support to Rails/LinkToBlank. ([Intrepidd][])
  • #6660: Add new Rails/IgnoredSkipActionFilterOption cop. ([wata727][])
  • #6363: Allow Style/YodaCondition cop to be configured to enforce yoda conditions. ([tejasbubane][])
  • #6150: Add support to enforce disabled cops to be executed. ([roooodcastro][])
  • #6596: Add new Rails/BelongsTo cop with auto-correct for Rails >= 5. ([petehamilton][])

Bug fixes

  • #6627: Fix handling of hashes in trailing comma. ([abrom][])
  • #6623: Fix heredoc detection in trailing comma. ([palkan][])
  • #6100: Fix a false positive in Naming/ConstantName cop when rhs is a conditional expression. ([tatsuyafw][])
  • #6526: Fix a wrong line highlight in Lint/ShadowedException cop. ([tatsuyafw][])
  • #6617: Prevent traversal error on infinite ranges. ([drenmi][])
  • #6625: Revert the "auto-exclusion of files ignored by git" feature. ([bbatsov][])
  • #4460: Fix the determination of unsafe auto-correct in Style/TernaryParentheses. ([jonas054][])
  • #6651: Fix auto-correct issue in Style/RegexpLiteral cop when there is string interpolation. ([roooodcastro][])
  • #6670: Fix a false positive for Style/SafeNavigation when a method call safeguarded with a negative check for the object. ([koic][])
  • #6633: Fix Lint/SafeNavigation complaining about use of to_d. ([tejasbubane][])
  • #6575: Fix Naming/PredicateName suggesting invalid rename. ([tejasbubane][])
  • #6673: Fix Style/DocumentationMethod cop to recognize documentation comments for def inline with module_function. ([tejasbubane][])

Changes

  • #6607: Improve CLI usage message for --stdin option. ([jaredbeck][])
  • #6641: Specify Performance/RangeInclude as unsafe because Range#include? and Range#cover? are not equivalent. ([koic][])
  • #6636: Move FlipFlop cop from Style to Lint department because flip-flop is deprecated since Ruby 2.6.0. ([koic][])
  • #6661: Abandon making frozen string literals default for Ruby 3.0. ([koic][])

[Intrepidd]: https://github.com/Intrepidd
[wata727]: https://github.com/wata727
[tejasbubane]: https://github.com/tejasbubane
[roooodcastro]: https://github.com/roooodcastro
[petehamilton]: https://github.com/petehamilton
[abrom]: https://github.com/abrom
[palkan]: https://github.com/palkan
[tatsuyafw]: https://github.com/tatsuyafw

... (truncated)
Changelog

Sourced from rubocop's changelog.

0.63.1 (2019-01-22)

Bug fixes

  • #6678: Fix Lint/DisjunctiveAssignmentInConstructor when it finds an empty constructor. ([rmm5t][])
  • Do not attempt to auto-correct mass assignment or optional assignment in Rails/RelativeDateConstant. ([rrosenblum][])
  • Fix auto-correction of Style/WordArray and Style/SymbolArray when all elements are on separate lines and there is a trailing comment after the closing bracket. ([rrosenblum][])
  • Fix an exception that occurs when auto-correcting Layout/ClosingParenthesesIndentation when there are no arguments. ([rrosenblum][])

0.63.0 (2019-01-16)

New features

  • #6604: Add auto-correct support to Rails/LinkToBlank. ([Intrepidd][])
  • #6660: Add new Rails/IgnoredSkipActionFilterOption cop. ([wata727][])
  • #6363: Allow Style/YodaCondition cop to be configured to enforce yoda conditions. ([tejasbubane][])
  • #6150: Add support to enforce disabled cops to be executed. ([roooodcastro][])
  • #6596: Add new Rails/BelongsTo cop with auto-correct for Rails >= 5. ([petehamilton][])

Bug fixes

  • #6627: Fix handling of hashes in trailing comma. ([abrom][])
  • #6623: Fix heredoc detection in trailing comma. ([palkan][])
  • #6100: Fix a false positive in Naming/ConstantName cop when rhs is a conditional expression. ([tatsuyafw][])
  • #6526: Fix a wrong line highlight in Lint/ShadowedException cop. ([tatsuyafw][])
  • #6617: Prevent traversal error on infinite ranges. ([drenmi][])
  • #6625: Revert the "auto-exclusion of files ignored by git" feature. ([bbatsov][])
  • #4460: Fix the determination of unsafe auto-correct in Style/TernaryParentheses. ([jonas054][])
  • #6651: Fix auto-correct issue in Style/RegexpLiteral cop when there is string interpolation. ([roooodcastro][])
  • #6670: Fix a false positive for Style/SafeNavigation when a method call safeguarded with a negative check for the object. ([koic][])
  • #6633: Fix Lint/SafeNavigation complaining about use of to_d. ([tejasbubane][])
  • #6575: Fix Naming/PredicateName suggesting invalid rename. ([tejasbubane][])
  • #6673: Fix Style/DocumentationMethod cop to recognize documentation comments for def inline with module_function. ([tejasbubane][])
  • #6648: Fix auto-correction of Style/EmptyLiteral when Hash.new is passed as the first argument to super. ([rrosenblum][])

Changes

  • #6607: Improve CLI usage message for --stdin option. ([jaredbeck][])
  • #6641: Specify Performance/RangeInclude as unsafe because Range#include? and Range#cover? are not equivalent. ([koic][])
  • #6636: Move FlipFlop cop from Style to Lint department because flip-flop is deprecated since Ruby 2.6.0. ([koic][])
  • #6661: Abandon making frozen string literals default for Ruby 3.0. ([koic][])

0.62.0 (2019-01-01)

New features

  • #6580: New cop Rails/LinkToBlank checks for link_to calls with target: '_blank' and no rel: 'noopener'. ([Intrepidd][])
  • #6586: New cop Style/DisjunctiveAssignmentInConstructor checks constructors for disjunctive assignments that should be plain assignments. ([jaredbeck][])

Bug fixes

... (truncated)
Commits
  • bb62640 Merge pull request #6691 from Drenmi/release/0-63-1
  • b9c3ef9 Cut 0.63.1
  • eca97b8 Merge pull request #6690 from rubocop-hq/add-missing-space-in-message
  • 317e414 Add space before in and your
  • 19d65af Merge pull request #6170 from rrosenblum/expect_correction
  • 9050e40 Merge branch 'master' into expect_correction
  • 9402436 Merge pull request #6679 from rmm5t/fix-lint-disjunctive-assignment-in-constr...
  • 608943f [Fix #6678] Allow empty constructors on Lint/DisjunctiveAssignmentInConstruct...
  • 457cd4f Cut 0.63
  • c95b534 [Fix #6673] Fix Style/DocumentationMethod for inline module_function
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant