ecosyste-ms / diff

An open API service to generate diffs between package releases for many open source software ecosystems.
https://diff.ecosyste.ms
GNU Affero General Public License v3.0
4 stars 1 forks source link

Bump activemodel from 7.2.1.2 to 7.2.2 #651

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 week ago

Bumps activemodel from 7.2.1.2 to 7.2.2.

Release notes

Sourced from activemodel's releases.

7.2.2

Active Support

  • Include options when instrumenting ActiveSupport::Cache::Store#delete and ActiveSupport::Cache::Store#delete_multi.

    Adam Renberg Tamm

  • Print test names when running rails test -v for parallel tests.

    John Hawthorn, Abeid Ahmed

Active Model

  • Fix regression in alias_attribute to work with user defined methods.

    alias_attribute would wrongly assume the attribute accessor was generated by Active Model.

    class Person
      include ActiveModel::AttributeMethods
    

    define_attribute_methods :name attr_accessor :name

    alias_attribute :full_name, :name end

    person.full_name # => NoMethodError: undefined method `attribute' for an instance of Person

    Jean Boussier

Active Record

  • Fix support for query_cache: false in database.yml.

    query_cache: false would no longer entirely disable the Active Record query cache.

    zzak

  • Set .attributes_for_inspect to :all by default.

    For new applications it is set to [:id] in config/environment/production.rb.

    In the console all the attributes are always shown.

    Andrew Novoselac

... (truncated)

Changelog

Sourced from activemodel's changelog.

Rails 7.2.2 (October 30, 2024)

  • Fix regression in alias_attribute to work with user defined methods.

    alias_attribute would wrongly assume the attribute accessor was generated by Active Model.

    class Person
      include ActiveModel::AttributeMethods
    

    define_attribute_methods :name attr_accessor :name

    alias_attribute :full_name, :name end

    person.full_name # => NoMethodError: undefined method `attribute' for an instance of Person

    Jean Boussier

Commits
  • d0dcb8f Preparing for 7.2.2 release
  • 2975a88 Merge remote-tracking branch 'origin/7-2-sec' into 7-2-stable
  • 5f5349f Merge remote-tracking branch 'origin/7-2-sec' into 7-2-stable
  • d0e9e01 Fix another Ruby 3.4 Hash#inspect failure
  • abe904d alias_attribute: handle user defined source methods
  • 9fb3c81 Revert "Merge pull request #52822 from byroot/active-model-alias"
  • 2cb3582 Add missing authorship in CHANGELOG
  • c0988ee Merge pull request #52822 from byroot/active-model-alias
  • See full diff 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 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 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)
dependabot[bot] commented 1 week ago

Looks like activemodel is up-to-date now, so this is no longer needed.