Skip to content

Bump rails and rubocop#67

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/multi-d77622deed
Open

Bump rails and rubocop#67
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/multi-d77622deed

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 21, 2025

Bumps rails and rubocop. These dependencies needed to be updated together.
Updates rails from 0.9.5 to 8.0.1

Release notes

Sourced from rails's releases.

8.0.1

Active Support

  • Fix a bug in ERB::Util.tokenize that causes incorrect tokenization when ERB tags are preceeded by multibyte characters.

    Martin Emde

  • Restore the ability to decorate methods generated by class_attribute.

    It always has been complicated to use Module#prepend or an alias method chain to decorate methods defined by class_attribute, but became even harder in 8.0.

    This capability is now supported for both reader and writer methods.

    Jean Boussier

Active Model

  • No changes.

Active Record

  • Fix removing foreign keys with :restrict action for MySQ

    fatkodima

  • Fix a race condition in ActiveRecord::Base#method_missing when lazily defining attributes.

    If multiple thread were concurrently triggering attribute definition on the same model, it could result in a NoMethodError being raised.

    Jean Boussier

  • Fix MySQL default functions getting dropped when changing a column's nullability.

    Bastian Bartmann

  • Fix add_unique_constraint/add_check_constraint/add_foreign_key to be revertible when given invalid options.

    fatkodima

  • Fix asynchronous destroying of polymorphic belongs_to associations.

    fatkodima

  • Fix insert_all to not update existing records.

    fatkodima

... (truncated)

Commits
  • cf6ff17 Preparing for 8.0.1 release
  • 0bba3c2 Merge pull request #53936 from jsharpify/jsharpify/prism-parsing
  • 8521b99 [RF-DOCS] Update Rails Testing Guide [ci skip] (#53872)
  • dbe61a7 Merge pull request #53907 from p8/guides/fix-canonical
  • f8d559d [RF-DOCS] Asset Pipeline Documentation (Propshaft) [ci-skip] (#53875)
  • 2ae1d69 [RF-DOCS] Solid Cache updates in Caching with Rails: An Overview [ci-skip] (...
  • 85bde83 Merge pull request #53926 from Ridhwana/Ridhwana/solid-queue
  • c167cbe Merge pull request #53941 from byroot/rack-server-protocol
  • 656e209 Merge pull request #53940 from mjankowski/rdoc-link-to-add-check-constraint
  • b9608a6 Merge pull request #53937 from fatkodima/mysql-fix-remove-foreign-key-restrict
  • Additional commits viewable in compare view

Updates rubocop from 1.59.0 to 1.72.2

Release notes

Sourced from rubocop's releases.

RuboCop 1.72.2

Bug fixes

  • #13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. (@​koic)
  • #13844: Fix an error for Style/RedundantFormat when a template argument is used without keyword arguments. (@​koic)
  • #13857: Fix an error for Style/RedundantFormat when numeric placeholders is used in the template argument. (@​koic)
  • #13861: Fix ArgumentError related to two deprecated AllowedPattern APIs. (@​koic)
  • #13849: Fix an error for Lint/UselessConstantScoping when multiple assigning to constants after private access modifier. (@​koic)
  • #13856: Fix false positives for Lint/UselessConstantScoping when a constant is used after private access modifier with arguments. (@​koic)

Changes

  • #13846: Mark Style/RedundantFormat as unsafe autocorrect. (@​koic)

RuboCop 1.72.1

Bug fixes

  • #13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. (@​koic)
  • #13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. (@​koic)

Changes

  • #13839: Extension plugin is loaded automatically with require 'rubocop/rspec/support'. (@​koic)

RuboCop 1.72

New features

  • #13740: Add new Lint/CopDirectiveSyntax cop. ([@​kyanagi][])
  • #13800: Add new Lint/SuppressedExceptionInNumberConversion cop. (@​koic)
  • #13702: Add new Lint/RedundantTypeConversion cop. ([@​dvandersluis][])
  • #13831: Add new Lint/UselessConstantScoping cop. (@​koic)
  • #13793: Add new Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. ([@​dvandersluis][])
  • #13581: Add new InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. ([@​dvandersluis][])
  • #13661: Make server mode detect local paths in .rubocop.yml under inherit_from and require for automatically restart. (@​koic)
  • #13721: Naming/PredicateName: Optionally use Sorbet to detect predicate methods. ([@​issyl0][])
  • #6012: Support RuboCop extension plugin. (@​koic)

Bug fixes

  • #13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. (@​koic)
  • #13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. (@​koic)
  • #13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. (@​koic)
  • #13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. ([@​dvandersluis][])
  • #13817: Fix false positive for format specifier with non-numeric precision. ([@​dvandersluis][])
  • #12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. ([@​dvandersluis][])
  • #12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. ([@​dvandersluis][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.72.2 (2025-02-17)

Bug fixes

  • #13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. ([@​koic][])
  • #13844: Fix an error for Style/RedundantFormat when a template argument is used without keyword arguments. ([@​koic][])
  • #13857: Fix an error for Style/RedundantFormat when numeric placeholders is used in the template argument. ([@​koic][])
  • #13861: Fix ArgumentError related to two deprecated AllowedPattern APIs. ([@​koic][])
  • #13849: Fix an error for Lint/UselessConstantScoping when multiple assigning to constants after private access modifier. ([@​koic][])
  • #13856: Fix false positives for Lint/UselessConstantScoping when a constant is used after private access modifier with arguments. ([@​koic][])

Changes

  • #13846: Mark Style/RedundantFormat as unsafe autocorrect. ([@​koic][])

1.72.1 (2025-02-15)

Bug fixes

  • #13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. ([@​koic][])
  • #13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. ([@​koic][])

Changes

  • #13839: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([@​koic][])

1.72.0 (2025-02-14)

New features

  • #13740: Add new Lint/CopDirectiveSyntax cop. ([@​kyanagi][])
  • #13800: Add new Lint/SuppressedExceptionInNumberConversion cop. ([@​koic][])
  • #13702: Add new Lint/RedundantTypeConversion cop. ([@​dvandersluis][])
  • #13831: Add new Lint/UselessConstantScoping cop. ([@​koic][])
  • #13793: Add new Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. ([@​dvandersluis][])
  • #13581: Add new InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. ([@​dvandersluis][])
  • #13661: Make server mode detect local paths in .rubocop.yml under inherit_from and require for automatically restart. ([@​koic][])
  • #13721: Naming/PredicateName: Optionally use Sorbet to detect predicate methods. ([@​issyl0][])
  • #6012: Support RuboCop extension plugin. ([@​koic][])

Bug fixes

  • #13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. ([@​koic][])
  • #13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. ([@​koic][])
  • #13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. ([@​koic][])
  • #13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. ([@​dvandersluis][])
  • #13817: Fix false positive for format specifier with non-numeric precision. ([@​dvandersluis][])
  • #12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. ([@​dvandersluis][])
  • #12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. ([@​dvandersluis][])
  • #13822: Fix undefined method Logger when processing watched file notifications. ([@​vinistock][])

... (truncated)

Commits
  • 869b5d4 Cut 1.72.2
  • 7c36177 Update Changelog
  • d4525d6 Correct Style/RedundantParentheses documentation
  • 7fc05f8 [Fix #13861] Fix ArgumentError related to two deprecated AllowedPattern APIs
  • aa8c0a9 [Fix #13849] Fix an error for Lint/UselessConstantScoping
  • 241fe6b Fix an error for Style/RedundantFormat
  • b573711 [Fix #13856] Fix false positives for Lint/UselessConstantScoping
  • e8119f7 [Fix #13844] Fix an error for Style/RedundantFormat
  • a807f7c Fix exclusion of relative paths in plugin's AllCops: Exclude as expected
  • 28c2fe8 [Fix #13850] Fix false negatives for InternalAffairs/ExampleDescription
  • Additional commits viewable in compare view

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 21, 2025
@dependabot dependabot Bot mentioned this pull request Feb 21, 2025
Bumps [rails](https://github.com/rails/rails) and [rubocop](https://github.com/rubocop/rubocop). These dependencies needed to be updated together.

Updates `rails` from 0.9.5 to 8.0.1
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v0.9.5...v8.0.1)

Updates `rubocop` from 1.59.0 to 1.72.2
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.59.0...v1.72.2)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/multi-d77622deed branch from 796e857 to 9b6ef76 Compare March 14, 2025 09:15
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.

0 participants