pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/ruby-activerecord71



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Feb  4 15:14:03 UTC 2024

Modified Files:
        pkgsrc/databases/ruby-activerecord71: distinfo

Log Message:
databases/ruby-activerecord71: update to 7.1.3

Active Record (2024-01-16)

* Fix Migrations with versions older than 7.1 validating options given to
  add_reference.  [Hartley McGuire]

* Ensure reload sets correct owner for each association.  [Dmytro Savochkin]

* Fix view runtime for controllers with async queries.  [fatkodima]

* Fix load_async to work with query cache.  [fatkodima]

* Fix polymorphic belongs_to to correctly use parent's
  query_constraints. [fatkodima]

* Fix Preloader to not generate a query for already loaded association with
  query_constraints.  [fatkodima]

* Fix multi-database polymorphic preloading with equivalent table names.

  When preloading polymorphic associations, if two models pointed to two
  tables with the same name but located in different databases, the
  preloader would only load one.  [Ari Summer]

* Fix encrypted_attribute? to take into account context properties passed to
  encrypts.  [Maxime Réty]

* Fix find_by to work correctly in presence of composite primary keys.
  [fatkodima]

* Fix async queries sometimes returning a raw result if they hit the query
  cache.

  ShipPart.async_count could return a raw integer rather than a Promise if
  it found the result in the query cache.  [fatkodima]

* Fix Relation#transaction to not apply a default scope.

  The method was incorrectly setting a default scope around its block:

        Post.where(published: true).transaction do
          Post.count # SELECT COUNT(*) FROM posts WHERE published = FALSE;
        end

  [Jean Boussier]

* Fix calling async_pluck on a none relation.

  Model.none.async_pluck(:id) was returning a naked value instead of a
  promise.  [Jean Boussier]

* Fix calling load_async on a none relation.

  Model.none.load_async was returning a broken result.  [Lucas Mazza]

* TrilogyAdapter: ignore host if socket parameter is set.

  This allows to configure a connection on a UNIX socket via DATABASE_URL:

        DATABASE_URL=trilogy://does-not-matter/my_db_production?socket=/var/run/mysql.sock

  [Jean Boussier]

* Fix has_secure_token calls the setter method on initialize.  [Abeid Ahmed]

* Allow using object_id as a database column name.

  It was available before rails 7.1 and may be used as a part of polymorphic
  relationship to object where object can be any other database record.
  [Mikhail Doronin]

* Fix rails db:create:all to not touch databases before they are created.
  [fatkodima]


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/ruby-activerecord71/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/ruby-activerecord71/distinfo
diff -u pkgsrc/databases/ruby-activerecord71/distinfo:1.1 pkgsrc/databases/ruby-activerecord71/distinfo:1.2
--- pkgsrc/databases/ruby-activerecord71/distinfo:1.1   Thu Nov 30 15:24:17 2023
+++ pkgsrc/databases/ruby-activerecord71/distinfo       Sun Feb  4 15:14:03 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/11/30 15:24:17 taca Exp $
+$NetBSD: distinfo,v 1.2 2024/02/04 15:14:03 taca Exp $
 
-BLAKE2s (activerecord-7.1.2.gem) = 8ef45a37a639eb6220d9b60ccdd7ea6565b028e8182a3c50fcb6e8e9c16f6d7b
-SHA512 (activerecord-7.1.2.gem) = 3d99656613a009e17e5790e83df33a26f460090f3a1df35f1c940ae98d54896039438f648461088bd5a8a05ac15c95fff678c64425b743a2807f746a2a4d3519
-Size (activerecord-7.1.2.gem) = 542208 bytes
+BLAKE2s (activerecord-7.1.3.gem) = 8a1caef9f15d30179f56bff4975de3999773e824a0188d44fae51454b9f6af2e
+SHA512 (activerecord-7.1.3.gem) = 3b7385049da0b218c4fcc08d8ec7b22d58ba5545ad3eb8b7af057e95186dda4b5c788da6f03343ae402e717cda4188dd201cc7479d423a0517a99a2fc7023674
+Size (activerecord-7.1.3.gem) = 544256 bytes
 SHA1 (patch-lib_active__record.rb) = ddc1a5547242e0694fb1737b07b592fd3dfcc5b4



Home | Main Index | Thread Index | Old Index