Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-activerecord60 databases/ruby-activerec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/616b48076387
branches: trunk
changeset: 431771:616b48076387
user: taca <taca%pkgsrc.org@localhost>
date: Sat May 16 14:18:56 2020 +0000
description:
databases/ruby-activerecord60: update to 6.0.3
Update ruby-activerecord60 to 6.0.3.
## Rails 6.0.3 (May 06, 2020) ##
* Recommend applications don't use the `database` kwarg in `connected_to`
The database kwarg in `connected_to` was meant to be used for one-off scripts but is often used in requests. This is really dangerous because it re-establishes a connection every time. It's
deprecated in 6.1 and will be removed in 6.2 without replacement. This change soft deprecates it in 6.0 by removing documentation.
*Eileen M. Uchitelle*
* Fix support for PostgreSQL 11+ partitioned indexes.
*Sebastián Palma*
* Add support for beginless ranges, introduced in Ruby 2.7.
*Josh Goodall*
* Fix insert_all with enum values
Fixes #38716.
*Joel Blum*
* Regexp-escape table name for MS SQL
Add `Regexp.escape` to one method in ActiveRecord, so that table names with regular expression characters in them work as expected. Since MS SQL Server uses "[" and "]" to quote table and column
names, and those characters are regular expression characters, methods like `pluck` and `select` fail in certain cases when used with the MS SQL Server adapter.
*Larry Reid*
* Store advisory locks on their own named connection.
Previously advisory locks were taken out against a connection when a migration started. This works fine in single database applications but doesn't work well when migrations need to open new
connections which results in the lock getting dropped.
In order to fix this we are storing the advisory lock on a new connection with the connection specification name `AdisoryLockBase`. The caveat is that we need to maintain at least 2 connections
to a database while migrations are running in order to do this.
*Eileen M. Uchitelle*, *John Crepezzi*
* Ensure `:reading` connections always raise if a write is attempted.
Now Rails will raise an `ActiveRecord::ReadOnlyError` if any connection on the reading handler attempts to make a write. If your reading role needs to write you should name the role something
other than `:reading`.
*Eileen M. Uchitelle*
* Enforce fresh ETag header after a collection's contents change by adding
ActiveRecord::Relation#cache_key_with_version. This method will be used by
ActionController::ConditionalGet to ensure that when collection cache versioning
is enabled, requests using ConditionalGet don't return the same ETag header
after a collection is modified. Fixes #38078.
*Aaron Lipman*
* A database URL can now contain a querystring value that contains an equal sign. This is needed to support passing PostgresSQL `options`.
*Joshua Flanagan*
* Retain explicit selections on the base model after applying `includes` and `joins`.
Resolves #34889.
*Patrick Rebsch*
diffstat:
databases/ruby-activerecord60/PLIST | 3 ++-
databases/ruby-activerecord60/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r 55e8558d116f -r 616b48076387 databases/ruby-activerecord60/PLIST
--- a/databases/ruby-activerecord60/PLIST Sat May 16 14:18:09 2020 +0000
+++ b/databases/ruby-activerecord60/PLIST Sat May 16 14:18:56 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/03/20 16:55:38 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/05/16 14:18:56 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/MIT-LICENSE
@@ -6,6 +6,7 @@
${GEM_LIBDIR}/examples/performance.rb
${GEM_LIBDIR}/examples/simple.rb
${GEM_LIBDIR}/lib/active_record.rb
+${GEM_LIBDIR}/lib/active_record/advisory_lock_base.rb
${GEM_LIBDIR}/lib/active_record/aggregations.rb
${GEM_LIBDIR}/lib/active_record/association_relation.rb
${GEM_LIBDIR}/lib/active_record/associations.rb
diff -r 55e8558d116f -r 616b48076387 databases/ruby-activerecord60/distinfo
--- a/databases/ruby-activerecord60/distinfo Sat May 16 14:18:09 2020 +0000
+++ b/databases/ruby-activerecord60/distinfo Sat May 16 14:18:56 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/03/20 16:55:38 taca Exp $
+$NetBSD: distinfo,v 1.2 2020/05/16 14:18:56 taca Exp $
-SHA1 (activerecord-6.0.2.2.gem) = e87748fc622d675b58b00eceff6022cb39ac9e17
-RMD160 (activerecord-6.0.2.2.gem) = 02b0ec5e9faf30f8f852ce467c6c02f74ace54e5
-SHA512 (activerecord-6.0.2.2.gem) = 8bfb7874af9bbe4b2e31c8d77acb2f8b16eebd9764a93b81ce09bed8bb71ef02bf6dbc0b809b9b8a9c42fff578388a1bb339408ade767bef8002ccf06083c6c9
-Size (activerecord-6.0.2.2.gem) = 406528 bytes
+SHA1 (activerecord-6.0.3.gem) = eb2ac06e4efc5d81b31a0369a8090b80fb57eba8
+RMD160 (activerecord-6.0.3.gem) = e84cc148e4b1e8093660cb2838f48b13cb3c2fc2
+SHA512 (activerecord-6.0.3.gem) = 91504d2b23ed1d6f68ddf73bf773d963194f239b31cb43462621f3ca64de410aaf4cc3727bfb9f1030e50164fe4f4f67c57c2b8cfcee5935d3314a3aabceae52
+Size (activerecord-6.0.3.gem) = 407552 bytes
Home |
Main Index |
Thread Index |
Old Index