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-govuk requirement from = 4.12.0 to = 4.13.0 #300

Merged
merged 3 commits into from
Dec 28, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 21, 2023

Updates the requirements on rubocop-govuk to permit the latest version.

Changelog

Sourced from rubocop-govuk's changelog.

4.13.0

  • Update rubocop to 1.59.0
  • Update rubocop-ast to 1.30.0
  • Update rubocop-rails to 2.23.0
  • Update rubocop-rspec to 2.25.0

4.12.0

  • Update rubocop to 1.55.0

4.11.0

  • Drop support for Ruby 2.7.
  • Update rubocop to 1.53.1
  • Update rubocop-ast to 1.29.0
  • Update rubocop-rails 2.20.2
  • Update rubocop-rake to 0.6.0
  • Update rubocop-rspec to 2.22.0

4.10.0

  • Update rubocop to 1.44.1
  • Update rubocop-ast to 1.24.1
  • Update rubocop-rails to 2.17.4
  • Update rubocop-rspec to 2.18.1

4.9.0

  • Update rubocop to 1.39.0
  • Update rubocop-rails to 2.17.3
  • Update rubocop-rspec to 2.15.0

4.8.0

  • Update rubocop to 1.37.1
  • Update rubocop-ast to 1.23.0
  • Update rubocop-rails to 2.17.1
  • Update rubocop-rspec to 2.14.1

4.7.0

  • Update rubocop to 1.35.0
  • Update rubocop-ast to 1.21.0

4.6.0

  • Update rubocop to 1.31.2
  • Update rubocop-ast to 1.19.1
  • Update rubocop-rails to 2.15.2

... (truncated)

Commits
  • 51e44ae Merge pull request #338 from alphagov/bump-version
  • 2bf3ab8 Bump to 4.13.0
  • 52de757 Merge pull request #337 from alphagov/dependabot/bundler/rubocop-rails-eq-2.23.0
  • 96b74af Update rubocop-rails requirement from = 2.22.2 to = 2.23.0
  • 49bf3f3 Merge pull request #336 from alphagov/dependabot/bundler/rubocop-eq-1.59.0
  • 210aac4 Update rubocop requirement from = 1.58.0 to = 1.59.0
  • bdfbeef Merge pull request #335 from alphagov/dependabot/bundler/rubocop-eq-1.58.0
  • 3e7dd46 Update rubocop requirement from = 1.57.2 to = 1.58.0
  • c9cf9ee Merge pull request #334 from alphagov/add-sca-sast-scans
  • ad93f12 Add CodeQL (SAST) scan and Dependency Review (SCA) scan to CI pipeline
  • 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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [rubocop-govuk](https://github.com/alphagov/rubocop-govuk) to permit the latest version.
- [Changelog](https://github.com/alphagov/rubocop-govuk/blob/main/CHANGELOG.md)
- [Commits](alphagov/rubocop-govuk@v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: rubocop-govuk
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 21, 2023
Copy link

This repo is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

What

Why

Visual Changes

@JonathanHallam JonathanHallam force-pushed the dependabot/bundler/rubocop-govuk-eq-4.13.0 branch 2 times, most recently from e2e21ba to 286de12 Compare December 22, 2023 15:53
@JonathanHallam
Copy link
Contributor

this is failing on a test because a method rubocop told me to use doesn't exist, don't have time to investigate, sorry!

We have a false positive here from the unsafe Style/HashEachMethods cop.
Rubocop thinks that we are calling `each` on a hash, but we are actually
calling it on an array of two-element arrays.

By putting parentheses around the block arguments we can indicate that we're
not working with a hash, and suppress RuboCop offenses. See
https://docs.rubocop.org/rubocop/cops_style.html#stylehasheachmethods
@jkempster34 jkempster34 force-pushed the dependabot/bundler/rubocop-govuk-eq-4.13.0 branch from 286de12 to fe89a6a Compare December 28, 2023 12:53
@jkempster34 jkempster34 merged commit 8be5ab8 into main Dec 28, 2023
9 checks passed
@jkempster34 jkempster34 deleted the dependabot/bundler/rubocop-govuk-eq-4.13.0 branch December 28, 2023 12:58
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants