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

Bump the minor_updates group with 3 updates #377

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

Bumps the minor_updates group with 3 updates: mocha, rubocop-rails and activesupport.

Updates mocha from 2.6.1 to 2.7.1

Changelog

Sourced from mocha's changelog.

2.7.1

External changes

  • Deprecate Configuration#stubbing_method_on_nil= (#694)
  • Indicate when parameter matcher logic is defined by block passed to Expectation#with (#698, b30e4434)
  • Improve documentation for Expectation#with, especially when it is passed a block (#698, #682, #606 & #681)

2.7.0

External changes

Internal changes

  • Workaround for JRuby jar-dependencies issue (#690)
  • Ruby v3.4 stacktrace uses single-quote vs backtick (#688 & #689) - thanks to Vít Ondruch

WARNING: This release fixes a very old bug

  • The bug relates to the use of Expectation#never in combination with other expectations on the same method.

  • Please ensure you fix the relevant deprecation warnings when running against v2.6.1 before upgrading to v2.7.0.

  • Previously, the following test would have passed, but now it will fail with an unexpected invocation error on the foo.bar line.

    foo = mock('foo') foo.stubs(:bar) foo.expects(:bar).never foo.bar

Commits
  • cb0909e [skip ci] Update documentation for v2.7.1
  • d6ba8b9 Bump version to 2.7.1 & prepare for release
  • 4d4a027 Merge pull request #698 from freerange/expectation-with-improvements
  • b30e443 Indicate when matcher logic is defined by block
  • fed3387 Add custom matcher example to Expectatation#with docs
  • 17a4856 Improve docs for Expectation#with when passed block
  • 3ca865f Document argument precedence for Expectation#with
  • 558d521 Add docs for Expectation#with when passed block
  • 99f3f6b Document Expectation#with called multiple times
  • c3b4b8e Clarify docs for Expectation#with yieldparam
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.27.0 to 2.29.1

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.29.1

Bug fixes

  • #1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. (@​koic)
  • #1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. (@​koic)
  • #1356: Enhance Rails/DuplicateAssociation to handle alias. (@​ydakuka)
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. (@​ydakuka)
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. (@​ydakuka)
  • #1228: Enhance Rails/SaveBang to properly handle instance variables. (@​ydakuka)

RuboCop Rails 2.29.0

New features

Bug fixes

  • #1409: Fix an error for Rails/ReversibleMigration when calling drop_table without any arguments. (@​earlopain)
  • #1397: Fix an incorrect autocorrect for Rails/TimeZone when Time.new has a string argument. (@​mterada1228)
  • #1406: Fix autocorrection for Rails/IndexBy and Rails/IndexWith when map { ... }.to_h is enclosed in another block. (@​franzliedke, @​eugeneius)
  • #1404: Update Rails/IndexBy and Rails/IndexWith to support numbered block parameters. (@​eugeneius)
  • #1405: Fix autocorrection for Rails/IndexWith when the value is a hash literal without braces. (@​koic, @​eugeneius)
  • #1414: Fix Rails/HttpPositionalArguments cop false positives with arguments forwarding. (@​viralpraxis)

Changes

  • #1410: Make registered cops aware of AllCops: MigratedSchemaVersion. (@​koic)

RuboCop Rails 2.28.0

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. (@​koic)

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. (@​viralpraxis)
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. (@​viralpraxis)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.29.1 (2025-01-25)

Bug fixes

  • #1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. ([@​koic][])
  • #1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. ([@​koic][])
  • #1356: Enhance Rails/DuplicateAssociation to handle alias. ([@​ydakuka][])
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. ([@​ydakuka][])
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. ([@​ydakuka][])
  • #1228: Enhance Rails/SaveBang to properly handle instance variables. ([@​ydakuka][])

2.29.0 (2025-01-18)

New features

Bug fixes

  • #1409: Fix an error for Rails/ReversibleMigration when calling drop_table without any arguments. ([@​earlopain][])
  • #1397: Fix an incorrect autocorrect for Rails/TimeZone when Time.new has a string argument. ([@​mterada1228][])
  • #1406: Fix autocorrection for Rails/IndexBy and Rails/IndexWith when map { ... }.to_h is enclosed in another block. ([@​franzliedke][], [@​eugeneius][])
  • #1404: Update Rails/IndexBy and Rails/IndexWith to support numbered block parameters. ([@​eugeneius][])
  • #1405: Fix autocorrection for Rails/IndexWith when the value is a hash literal without braces. ([@​koic][], [@​eugeneius][])
  • #1414: Fix Rails/HttpPositionalArguments cop false positives with arguments forwarding. ([@​viralpraxis][])

Changes

  • #1410: Make registered cops aware of AllCops: MigratedSchemaVersion. ([@​koic][])

2.28.0 (2024-12-25)

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. ([@​koic][])

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. ([@​viralpraxis][])
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. ([@​viralpraxis][])
  • #1392: Fix Rails/FilePath cop error with rescued Rails.root. ([@​viralpraxis][])

Changes

  • #1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. ([@​masato-bkn][])
Commits
  • a54b408 Cut 2.29.1
  • 18f5484 Update Changelog
  • c0f086f Apply bundle exec rubocop --regenerate-todo
  • d1443ca Merge pull request #1419 from ydakuka/fix/enhance-rails-duplicate-association...
  • 10829d3 [Fix rubocop#1356] Enhance Rails/DuplicateAssociation to handle alias
  • 7024ab5 Merge pull request #1415 from ydakuka/fix/typeerror_in_the_file_path_cop
  • 3677f7b [Fix rubocop#1389] Handle TypeError caused by an array in Rails/FilePath cop
  • 158cd38 Merge pull request #1424 from koic/fix_an_error_for_rails_strong_parameters_e...
  • ce69ef7 Merge pull request #1416 from ydakuka/fix/typeerror_in_the_root_pathname_meth...
  • e48fec2 [Fix #1423] Fix an error for Rails/StrongParametersExpect
  • Additional commits viewable in compare view

Updates activesupport from 7.2.2 to 7.2.2.1

Release notes

Sourced from activesupport's releases.

7.2.2.1

Active Support

  • No changes.

Active Model

  • No changes.

Active Record

  • No changes.

Action View

  • No changes.

Action Pack

  • Add validation to content security policies to disallow spaces and semicolons. Developers should use multiple arguments, and different directive methods instead.

    [CVE-2024-54133]

    Gannon McGibbon

Active Job

  • No changes.

Action Mailer

  • No changes.

Action Cable

  • No changes.

Active Storage

  • No changes.

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


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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Feb 3, 2025
@mmenanno
Copy link
Owner

mmenanno commented Feb 8, 2025

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 8, 2025

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@mmenanno
Copy link
Owner

mmenanno commented Feb 8, 2025

@dependabot recreate

Bumps the minor_updates group with 3 updates: [mocha](https://github.com/freerange/mocha), [rubocop-rails](https://github.com/rubocop/rubocop-rails) and [activesupport](https://github.com/rails/rails).


Updates `mocha` from 2.6.1 to 2.7.1
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](freerange/mocha@v2.6.1...v2.7.1)

Updates `rubocop-rails` from 2.27.0 to 2.29.1
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.27.0...v2.29.1)

Updates `activesupport` from 7.2.2 to 7.2.2.1
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.1/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v7.2.2...v7.2.2.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor_updates
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor_updates
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor_updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/minor_updates-e636988dc7 branch from 753edb3 to cf99ca5 Compare February 8, 2025 22:11
@mmenanno
Copy link
Owner

mmenanno commented Feb 9, 2025

https://github.com/dependabot recreate

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 9, 2025

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Feb 9, 2025
@dependabot dependabot bot deleted the dependabot/bundler/minor_updates-e636988dc7 branch February 9, 2025 00:38
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.

1 participant