summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2020-05-16 14:18:56 +0000
committertaca <taca@pkgsrc.org>2020-05-16 14:18:56 +0000
commit6c4ec4fcc1a6e70a9bd552b064099346cc8971c8 (patch)
tree850ac93fd86e7e0c91112559b505ae0297a4546c /databases
parent4754da9e3167599c3e2bb755731d9ddc6f47bed0 (diff)
downloadpkgsrc-6c4ec4fcc1a6e70a9bd552b064099346cc8971c8.tar.gz
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 (limited to 'databases')
-rw-r--r--databases/ruby-activerecord60/PLIST3
-rw-r--r--databases/ruby-activerecord60/distinfo10
2 files changed, 7 insertions, 6 deletions
diff --git a/databases/ruby-activerecord60/PLIST b/databases/ruby-activerecord60/PLIST
index 7afc353c553..65d2d5f51d6 100644
--- a/databases/ruby-activerecord60/PLIST
+++ b/databases/ruby-activerecord60/PLIST
@@ -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}/README.rdoc
${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 --git a/databases/ruby-activerecord60/distinfo b/databases/ruby-activerecord60/distinfo
index 522fcac20d0..13d093c9781 100644
--- a/databases/ruby-activerecord60/distinfo
+++ b/databases/ruby-activerecord60/distinfo
@@ -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