diff options
author | taca <taca@pkgsrc.org> | 2021-02-28 15:42:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2021-02-28 15:42:39 +0000 |
commit | 7b95ceac39a5124250baa5631afd797fa7c63726 (patch) | |
tree | 258c0b618680178ea50be77ba6df683993190448 /devel | |
parent | 793817fccf47ccb5feeed17904e95642e03b0f6b (diff) | |
download | pkgsrc-7b95ceac39a5124250baa5631afd797fa7c63726.tar.gz |
www/ruby-rails61: update to 6.1.3
Rails 6.1.3 (February 17, 2021)
[ActionPack]
* Re-define routes when not set correctly via inheritance.
*John Hawthorn*
[ActiveRecord]
* Fix the MySQL adapter to always set the right collation and charset
to the connection session.
*Rafael Mendonça França*
* Fix MySQL adapter handling of time objects when prepared statements
are enabled.
*Rafael Mendonça França*
* Fix scoping in enum fields using conditions that would generate
an IN clause.
*Ryuta Kamizono*
* Skip optimised #exist? query when #include? is called on a relation
with a having clause
Relations that have aliased select values AND a having clause that
references an aliased select value would generate an error when
#include? was called, due to an optimisation that would generate
call #exists? on the relation instead, which effectively alters
the select values of the query (and thus removes the aliased select
values), but leaves the having clause intact. Because the having
clause is then referencing an aliased column that is no longer
present in the simplified query, an ActiveRecord::InvalidStatement
error was raised.
An sample query affected by this problem:
Author.select('COUNT(*) as total_posts', 'authors.*')
.joins(:posts)
.group(:id)
.having('total_posts > 2')
.include?(Author.first)
This change adds an addition check to the condition that skips the
simplified #exists? query, which simply checks for the presence of
a having clause.
Fixes #41417
*Michael Smart*
* Increment postgres prepared statement counter before making a
prepared statement, so if the statement is aborted without Rails
knowledge (e.g., if app gets kill -9d during long-running query or
due to Rack::Timeout), app won't end up in perpetual crash state for
being inconsistent with Postgres.
*wbharding*, *Martin Tepper*
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-activejob61/distinfo | 10 | ||||
-rw-r--r-- | devel/ruby-activemodel61/distinfo | 10 | ||||
-rw-r--r-- | devel/ruby-activestorage61/distinfo | 10 | ||||
-rw-r--r-- | devel/ruby-activesupport61/distinfo | 10 | ||||
-rw-r--r-- | devel/ruby-railties61/distinfo | 10 |
5 files changed, 25 insertions, 25 deletions
diff --git a/devel/ruby-activejob61/distinfo b/devel/ruby-activejob61/distinfo index 1e2b2006b6b..09b66c88557 100644 --- a/devel/ruby-activejob61/distinfo +++ b/devel/ruby-activejob61/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2021/02/14 13:55:16 taca Exp $ +$NetBSD: distinfo,v 1.2 2021/02/28 15:42:39 taca Exp $ -SHA1 (activejob-6.1.2.1.gem) = 1afb6ee68e2bac5326bf7a4f1420af17c3fcadb8 -RMD160 (activejob-6.1.2.1.gem) = c9ed391bb45830e78cd3b4765cc0468dfd58a1a1 -SHA512 (activejob-6.1.2.1.gem) = 3032249ef99253785433dbb26cf0e357a717a01d2f49ea8504f3ff539e5e53c9659b7c363b2e7f817b7d1d29c05c8f365dd625c8e28034756f80cac284de56b7 -Size (activejob-6.1.2.1.gem) = 32768 bytes +SHA1 (activejob-6.1.3.gem) = 818e49a1ff8bbeaf162625d712eff8dffe868af4 +RMD160 (activejob-6.1.3.gem) = 4bff8becde6d0fb7f166b6c368f37d258e55ece6 +SHA512 (activejob-6.1.3.gem) = 1e4d1c1c390c7709b6aeaa10615315c06157bb61e58a35a2c8215d407b36d97f4b4d063dede9518f4b70a964ff671b963a18d7b741a87227a6618a81d03b550f +Size (activejob-6.1.3.gem) = 32768 bytes diff --git a/devel/ruby-activemodel61/distinfo b/devel/ruby-activemodel61/distinfo index 2e762c79da2..c18ced852d2 100644 --- a/devel/ruby-activemodel61/distinfo +++ b/devel/ruby-activemodel61/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2021/02/14 13:54:14 taca Exp $ +$NetBSD: distinfo,v 1.2 2021/02/28 15:42:39 taca Exp $ -SHA1 (activemodel-6.1.2.1.gem) = e1bac0c469e3ab8ce8753e10c47bfa591eab58b3 -RMD160 (activemodel-6.1.2.1.gem) = 05027305972f00ae84c73259877d2fd9490aa6e7 -SHA512 (activemodel-6.1.2.1.gem) = 7fc141d73f04609b84a9cd9d38cf696a0946bd46665c3545963c41b7f3711325029ea0f9b8d8bedf0b97a9f7470a5601c78d71748c6d39f25c202dbb498c661f -Size (activemodel-6.1.2.1.gem) = 61952 bytes +SHA1 (activemodel-6.1.3.gem) = 04cef7e87bc8777798400e3e5249ba9c8ee346e3 +RMD160 (activemodel-6.1.3.gem) = e653b44f9ddf7bcd6243fac5c0ff0969d6cadb00 +SHA512 (activemodel-6.1.3.gem) = fec71d819aab18e1191e3fc8318f40978b5926a43c1628e8c9cc254fcd518097336d4731dca9337d997d858f4c6acf163ccf7573e34784fcd8691c14704b32c4 +Size (activemodel-6.1.3.gem) = 61952 bytes diff --git a/devel/ruby-activestorage61/distinfo b/devel/ruby-activestorage61/distinfo index 0c08794fbe6..b1d7ec8f96d 100644 --- a/devel/ruby-activestorage61/distinfo +++ b/devel/ruby-activestorage61/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2021/02/14 14:07:09 taca Exp $ +$NetBSD: distinfo,v 1.2 2021/02/28 15:42:40 taca Exp $ -SHA1 (activestorage-6.1.2.1.gem) = 731dc192aa59ea306c9166dad63f0e2f8f41ff6e -RMD160 (activestorage-6.1.2.1.gem) = ed3bf4a3b3ef4ac3bbc6834c07f01317f980d012 -SHA512 (activestorage-6.1.2.1.gem) = 66a733ac3e05e434db1d8ec4adbc3da3a0397d44f27037eadd85c404e6cd9e4c6c987b8959f2cfa94f2a4df6a1aa5168dbc0428495df1fc1baa051f464d2922c -Size (activestorage-6.1.2.1.gem) = 54784 bytes +SHA1 (activestorage-6.1.3.gem) = 4fadb9d0db4f030a79cb99389bf70c69d361f9af +RMD160 (activestorage-6.1.3.gem) = ac1d41855b0aa9dd7a9058980aa9a5e56998bffc +SHA512 (activestorage-6.1.3.gem) = f11b1a1101185fe2910841d5cd229a692bc436bc4cbf0a88bae38a84a00c250ba0ee6c6bfceecdb6d7fbe8ff98ca699c6546d53b4a17fc73368b7e1e37f62920 +Size (activestorage-6.1.3.gem) = 54784 bytes diff --git a/devel/ruby-activesupport61/distinfo b/devel/ruby-activesupport61/distinfo index 607b1a97997..69941a14124 100644 --- a/devel/ruby-activesupport61/distinfo +++ b/devel/ruby-activesupport61/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2021/02/14 13:53:25 taca Exp $ +$NetBSD: distinfo,v 1.2 2021/02/28 15:42:39 taca Exp $ -SHA1 (activesupport-6.1.2.1.gem) = ce5eec22b31eb7ecad6f8394b348db2785ec2495 -RMD160 (activesupport-6.1.2.1.gem) = 7e95062db3c857fbe134639ab8516432783f6a40 -SHA512 (activesupport-6.1.2.1.gem) = 9d5e2b2b0df869d1b5c174572fe4c8e277c61f7bfb351249709ed4436aaa3dc8aa6ead00c78d260fc8dee1bf6dc7a333bf7627376b69d78e5008de0650b91c8d -Size (activesupport-6.1.2.1.gem) = 219136 bytes +SHA1 (activesupport-6.1.3.gem) = a2b0a82a48369866c5639701cb0dba924e2a0dcd +RMD160 (activesupport-6.1.3.gem) = e0a1e1f14f0249f97d878d264133eaa1df2872a7 +SHA512 (activesupport-6.1.3.gem) = 0cad1a00c41fa9d23d6374659d8db588a24cf129551c3ef821b0daeaa14376ab2ae7faff40c123e71155ab9460f6da5479a8e165f7e323c7433c739f423d3612 +Size (activesupport-6.1.3.gem) = 219136 bytes diff --git a/devel/ruby-railties61/distinfo b/devel/ruby-railties61/distinfo index fda795d800a..1d260881d14 100644 --- a/devel/ruby-railties61/distinfo +++ b/devel/ruby-railties61/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2021/02/14 14:06:30 taca Exp $ +$NetBSD: distinfo,v 1.2 2021/02/28 15:42:40 taca Exp $ -SHA1 (railties-6.1.2.1.gem) = 5f5053e93e4f6cf2c78152c17302bfd5fa6656df -RMD160 (railties-6.1.2.1.gem) = a69ae52c98c32c90e21af08a069bb37fa72faf1d -SHA512 (railties-6.1.2.1.gem) = 7ba23ca71573a32844e549f47abc9cc1510766af796e0301736c495d30b7508491268ea9f83dc9e0b1e2b12a105575a1e5bd2a558f3645801b2f3701272ebd16 -Size (railties-6.1.2.1.gem) = 456704 bytes +SHA1 (railties-6.1.3.gem) = 6d6400c0ed3238b0fd9efd0b6a61d0577aed3f20 +RMD160 (railties-6.1.3.gem) = 693cc1b619426c97b6e6aedbe231cdf36d008e85 +SHA512 (railties-6.1.3.gem) = a2220be7ee38c14f4636d3370d22e4a2ab3472e51ad11f35cbe4106b8e70cf056372ab38dade09c9054251114092910d26727013f62893e041e7922c891e701b +Size (railties-6.1.3.gem) = 456704 bytes |