pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/ruby-activerecord61



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jul  4 08:02:13 UTC 2021

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

Log Message:
databases/ruby-activerecord61: update to 6.1.4

Active Record

* Do not try to rollback transactions that failed due to a
  ActiveRecord::TransactionRollbackError.  (Jamie McCarthy)

* Raise an error if pool_config is nil in set_pool_config.  (Eileen
  M. Uchitelle)

* Fix compatibility with psych >= 4.

  Starting in Psych 4.0.0 YAML.load behaves like YAML.safe_load.  To
  preserve compatibility Active Record's schema cache loader and
  YAMLColumn now uses YAML.unsafe_load if available.  (Jean Boussier)

* Support using replicas when using rails dbconsole.  (Christopher
  Thornton)

* Restore connection pools after transactional tests.  (Eugene Kenny)

* Change upsert_all to fails cleanly for MySQL when :unique_by is
  used.  (Bastian Bartmann)

* Fix user-defined self.default_scope to respect table alias.  (Ryuta
  Kamizono)

* Clear @cache_keys cache after update_all, delete_all, destroy_all.
  (Ryuta Kamizono)

* Changed Arel predications contains and overlaps to use quoted_node
  so that PostgreSQL arrays are quoted properly.  (Bradley Priest)

* Fix merge when the where clauses have string contents.  (Ryuta
  Kamizono)

* Fix rollback of parent destruction with nested dependent: :destroy.
  (Jacopo Beschi)

* Fix binds logging for "WHERE ... IN ..." statements.  (Ricardo Díaz)

* Handle false in relation strict loading checks.

  Previously when a model had strict loading set to true and then had
  a relation set strict_loading to false the false wasn't considered
  when deciding whether to raise/warn about strict loading.

        class Dog < ActiveRecord::Base
          self.strict_loading_by_default = true

          has_many :treats, strict_loading: false
        end

  In the example, dog.treats would still raise even though
  strict_loading was set to false.  This is a bug effecting more than
  Active Storage which is why I made this PR superceeding #41461.  We
  need to fix this for all applications since the behavior is a little
  surprising.  I took the test from ##41461 and the code suggestion
  from #41453 with some additions.  (Eileen M. Uchitelle, Radamés Roriz)

* Fix numericality validator without precision.  (Ryuta Kamizono)

* Fix aggregate attribute on Enum types.  (Ryuta Kamizono)

* Fix CREATE INDEX statement generation for PostgreSQL.  (eltongo)

* Fix where clause on enum attribute when providing array of strings.
  (Ryuta Kamizono)

* Fix unprepared_statement to work it when nesting.  (Ryuta Kamizono)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/ruby-activerecord61/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-activerecord61/distinfo
diff -u pkgsrc/databases/ruby-activerecord61/distinfo:1.4 pkgsrc/databases/ruby-activerecord61/distinfo:1.5
--- pkgsrc/databases/ruby-activerecord61/distinfo:1.4   Sat May  8 14:08:56 2021
+++ pkgsrc/databases/ruby-activerecord61/distinfo       Sun Jul  4 08:02:13 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/05/08 14:08:56 taca Exp $
+$NetBSD: distinfo,v 1.5 2021/07/04 08:02:13 taca Exp $
 
-SHA1 (activerecord-6.1.3.2.gem) = bc97a08ae6f12fba8371f3db2662942ad6a614c9
-RMD160 (activerecord-6.1.3.2.gem) = df9ae6abd736c3b4218e53341caf02d54de182bf
-SHA512 (activerecord-6.1.3.2.gem) = f8cf79bee4b97467fdaf22bce63a645b3402b4f394ce9a4ccb13235f8fb21c095871d014d11563802b4cbff39b77358528c12333e543a0bc72a0ca7357f151dd
-Size (activerecord-6.1.3.2.gem) = 429056 bytes
+SHA1 (activerecord-6.1.4.gem) = 74b573fadd9a54361089be2531aec4e608ac483b
+RMD160 (activerecord-6.1.4.gem) = 0c00c8746b982e9ee539b4f64f140993b32c9e81
+SHA512 (activerecord-6.1.4.gem) = 0fe36b2d11c30e05f2957577467bcf14726fdd6cccfec32381a4a580554917008028f89338d716e3931a05f8526673950ddb69a0b15c4685c43d1d0af2317445
+Size (activerecord-6.1.4.gem) = 430592 bytes



Home | Main Index | Thread Index | Old Index