mysociety / foi-for-councils

https://www.mysociety.org/transparency/foi-works/
Other
1 stars 0 forks source link

Bump rubocop-rails from 2.14.2 to 2.15.1 #559

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps rubocop-rails from 2.14.2 to 2.15.1.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.15.1

Bug fixes

  • #723: Fix include value in Rails/AttributeDefaultBlockValue. (@​kkitadate)
  • #717: Fix an error for Rails/DeprecatedActiveModelErrorsMethods when root receiver is a variable. (@​koic)
  • #719: Fix a false negative for Rails/FormattedS when using safe navigation operator. (@​koic)
  • #725: Fix an incorrect autocorrect for Rails/DotSeparatedKeys when a key starts with dot. (@​koic)

RuboCop Rails 2.15.0

New features

Bug fixes

  • #696: Fix a false negative for Rails/TransactionExitStatement when return is used in rescue. (@​koic)
  • #700: Fix a false positive for Rails/FilePath when a list of paths separated by colon including Rails.root. (@​tk0miya)
  • #680: Fix a false positive for Rails/ReversibleMigrationMethodDefinition when using an inner class. (@​koic)
  • #692: Fix an error for Rails/UnusedIgnoredColumns when using no tables db/schema.rb. (@​koic)
  • #707: Fix an error when a variable is passed to has_many or has_one with double splat. (@​nobuyo)
  • #695: Fixes a false negative where the in_rescue? check would bypass situations where the return was inside a transaction but outside of a rescue. (@​dorkrawk)
  • #703: Fix not autocorrected for Rails/DuplicateAssociation. (@​ydah)
  • #708: Recover Ruby 2.2 code analysis using TargetRubyVersion: 2.2. (@​koic)

Changes

  • #697: (Compatibility) Drop Ruby 2.5 support. (@​koic)
  • #705: Add mailers to default filter/action callbacks cops. (@​ojab)
  • #710: Rails/TransactionExitStatement - Inspect ActiveRecord::Locking::Pessimistic#with_lock too, as #with_lock opens a transaction. (@​FunnyHector)
Changelog

Sourced from rubocop-rails's changelog.

2.15.1 (2022-06-26)

Bug fixes

  • #723: Fix include value in Rails/AttributeDefaultBlockValue. ([@​kkitadate][])
  • #717: Fix an error for Rails/DeprecatedActiveModelErrorsMethods when root receiver is a variable. ([@​koic][])
  • #719: Fix a false negative for Rails/FormattedS when using safe navigation operator. ([@​koic][])
  • #725: Fix an incorrect autocorrect for Rails/DotSeparatedKeys when a key starts with dot. ([@​koic][])

2.15.0 (2022-06-14)

New features

  • #325: Add new Rails/DotSeparatedKeys cop. ([@​fatkodima][])
  • #704: Add new Rails/StripHeredoc cop. ([@​koic][])
  • #691: Add new Rails/ToFormattedS cop. ([@​koic][])
  • #588: Add new Rails/RootPublicPath cop. ([@​leoarnold][])
  • #702: Make keys method aware of Rails/DeprecatedActiveModelErrorsMethods cop. ([@​koic][])
  • #688: Support autocorrection for Rails/DeprecatedActiveModelErrorsMethods. ([@​koic][])

Bug fixes

  • #696: Fix a false negative for Rails/TransactionExitStatement when return is used in rescue. ([@​koic][])
  • #700: Fix a false positive for Rails/FilePath when a list of paths separated by colon including Rails.root. ([@​tk0miya][])
  • #680: Fix a false positive for Rails/ReversibleMigrationMethodDefinition when using an inner class. ([@​koic][])
  • #692: Fix an error for Rails/UnusedIgnoredColumns when using no tables db/schema.rb. ([@​koic][])
  • #707: Fix an error when a variable is passed to has_many or has_one with double splat. ([@​nobuyo][])
  • #695: Fixes a false negative where the in_rescue? check would bypass situations where the return was inside a transaction but outside of a rescue. ([@​dorkrawk][])
  • #703: Fix not autocorrected for Rails/DuplicateAssociation. ([@​ydah][])
  • #708: Recover Ruby 2.2 code analysis using TargetRubyVersion: 2.2. ([@​koic][])

Changes

  • #697: (Compatibility) Drop Ruby 2.5 support. ([@​koic][])
  • #705: Add mailers to default filter/action callbacks cops. ([@​ojab][])
  • #710: Rails/TransactionExitStatement - Inspect ActiveRecord::Locking::Pessimistic#with_lock too, as #with_lock opens a transaction. ([@​FunnyHector][])
Commits
  • 08238fc Cut 2.15.1
  • 1b941bf Update Changelog
  • e9a043d Merge pull request #726 from koic/fix_an_incorrect_autocorrect_for_rails_dot_...
  • d085218 [Fix #725] Fix an incorrect autocorrect for Rails/DotSeparatedKeys
  • b671caa Suppress RuboCop offenses
  • 5f38b74 Merge pull request #720 from koic/fix_a_false_negative_for_rails_to_formatted_s
  • 5190a68 Merge pull request #723 from kkitadate/fix-attribute_default_block_value-include
  • 496c633 Fix include value in Rails/AttributeDefaultBlockValue
  • 9b454fa Merge pull request #721 from koic/fix_an_error_for_rails_deprecated_active_mo...
  • ac65854 Add settings to Naming/InclusiveLanguage
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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[bot] commented 2 years ago

Superseded by #567.