diff options
author | taca <taca@pkgsrc.org> | 2021-07-04 06:58:37 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2021-07-04 06:58:37 +0000 |
commit | 368f81193ab989cfb1e69899f89fb262bcfbea25 (patch) | |
tree | 4c0f743d8ea0a52c084c85d8a618a79f29919645 /www | |
parent | 3608914a7bec9bb3007e34df2ea79fa5a81f7e43 (diff) | |
download | pkgsrc-368f81193ab989cfb1e69899f89fb262bcfbea25.tar.gz |
www/ruby-rails60: update to 6.0.4
Ruby on Rails 6.0.4 (2021-06-15), including security fixes.
Active Support
* Fixed issue in ActiveSupport::Cache::RedisCacheStore not passing
options to read_multi causing fetch_multi to not work properly.
(Rajesh Sharma)
* with_options copies its options hash again to avoid leaking mutations.
Fixes #39343. (Eugene Kenny)
Active Record
* Only warn about negative enums if a positive form that would cause
conflicts exists. Fixes #39065. (Alex Ghiculescu)
* Allow the inverse of a has_one association that was previously
autosaved to be loaded. Fixes #34255. (Steven Weber)
* Reset statement cache for association if table_name is changed.
Fixes #36453. (Ryuta Kamizono)
* Type cast extra select for eager loading. (Ryuta Kamizono)
* Prevent collection associations from being autosaved multiple times.
Fixes #39173. (Eugene Kenny)
* Resolve issue with insert_all unique_by option when used with
expression index.
When the :unique_by option of ActiveRecord::Persistence.insert_all
and ActiveRecord::Persistence.upsert_all was used with the name of
an expression index, an error was raised. Adding a guard around the
formatting behavior for the :unique_by corrects this.
Usage:
create_table :books, id: :integer, force: true do |t|
t.column :name, :string
t.index "lower(name)", unique: true
end
Book.insert_all [{ name: "MyTest" }], unique_by: :index_books_on_lower_name
Fixes #39516. (Austen Madden)
* Fix preloading for polymorphic association with custom scope.
(Ryuta Kamizono)
* Allow relations with different SQL comments in the or method.
(Takumi Shotoku)
* Resolve conflict between counter cache and optimistic locking.
Bump an Active Record instance's lock version after updating its
counter cache. This avoids raising an unnecessary
ActiveRecord::StaleObjectError upon subsequent transactions by
maintaining parity with the corresponding database record's
lock_version column. Fixes #16449. (Aaron Lipman)
* Fix through association with source/through scope which has joins.
(Ryuta Kamizono)
* Fix through association to respect source scope for includes/preload.
(Ryuta Kamizono)
* Fix eager load with Arel joins to maintain the original joins order.
(Ryuta Kamizono)
* Fix group by count with eager loading + order + limit/offset.
(Ryuta Kamizono)
* Fix left joins order when merging multiple left joins from different
associations. (Ryuta Kamizono)
* Fix index creation to preserve index comment in bulk change table on
MySQL. (Ryuta Kamizono)
* Change remove_foreign_key to not check :validate option if database
doesn't support the feature. (Ryuta Kamizono)
* Fix the result of aggregations to maintain duplicated "group by"
fields. (Ryuta Kamizono)
* Do not return duplicated records when using preload. (Bogdan Gusiev)
Action View
* SanitizeHelper.sanitized_allowed_attributes and
SanitizeHelper.sanitized_allowed_tags call safe_list_sanitizer's
class method. Fixes #39586. (Taufiq Muhammadi)
Action Pack
* Accept base64_urlsafe CSRF tokens to make forward compatible.
* Base64 strict-encoded CSRF tokens are not inherently websafe, which
makes them difficult to deal with. For example, the common practice
of sending the CSRF token to a browser in a client-readable cookie
does not work properly out of the box: the value has to be
url-encoded and decoded to survive transport.
In Rails 6.1, we generate Base64 urlsafe-encoded CSRF tokens, which
are inherently safe to transport. Validation accepts both urlsafe
tokens, and strict-encoded tokens for backwards compatibility.
In Rails 5.2.5, the CSRF token format is accidentally changed to
urlsafe-encoded. If you upgrade apps from 5.2.5, set the config
urlsafe_csrf_tokens = true.
Rails.application.config.action_controller.urlsafe_csrf_tokens = true
(Scott Blum, Étienne Barrié)
* Signed and encrypted cookies can now store false as their value when
action_dispatch.use_cookies_with_metadata is enabled. (Rolandas
Barysas)
Active Storage
* The Poppler PDF previewer renders a preview image using the original
document's crop box rather than its media box, hiding print
margins. This matches the behavior of the MuPDF previewer. (Vincent
Robert)
Railties
* Allow relative paths with trailing slashes to be passed to rails
test. (Eugene Kenny)
* Return a 405 Method Not Allowed response when a request uses an
unknown HTTP method. Fixes #38998. (Loren Norman)
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-actioncable60/distinfo | 10 | ||||
-rw-r--r-- | www/ruby-actionpack60/distinfo | 10 | ||||
-rw-r--r-- | www/ruby-actionview60/distinfo | 10 | ||||
-rw-r--r-- | www/ruby-rails60/distinfo | 10 |
4 files changed, 20 insertions, 20 deletions
diff --git a/www/ruby-actioncable60/distinfo b/www/ruby-actioncable60/distinfo index 220c570d5ec..3af06086c44 100644 --- a/www/ruby-actioncable60/distinfo +++ b/www/ruby-actioncable60/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/05/08 14:02:34 taca Exp $ +$NetBSD: distinfo,v 1.10 2021/07/04 06:58:38 taca Exp $ -SHA1 (actioncable-6.0.3.7.gem) = 310a6335ee9ccd47acb66ab7c414e455860542bb -RMD160 (actioncable-6.0.3.7.gem) = 82484cb125b80a2d9855af8df9b93b4dacaea07f -SHA512 (actioncable-6.0.3.7.gem) = 91ecf3933e6195912e1bee3951c8497938bc78f89f512284eed0a7d2e7ca7bf97b2016b8e4c490575bd92a4a34653d20a76f58412d1608552e5346d6d196bce8 -Size (actioncable-6.0.3.7.gem) = 42496 bytes +SHA1 (actioncable-6.0.4.gem) = 234adfb83c87c346ac486f0fed712ba3047033c7 +RMD160 (actioncable-6.0.4.gem) = 8534b71b789dd1d35af01351db6a19d2e8316d05 +SHA512 (actioncable-6.0.4.gem) = 846511e232caff1525c1452a04228a1fd6a0d63a924b061e99fe5a6e2d444a282b76bc544e33c1a4eb1daf19f97796202e69604233930bc4cc9341137284a7ba +Size (actioncable-6.0.4.gem) = 42496 bytes diff --git a/www/ruby-actionpack60/distinfo b/www/ruby-actionpack60/distinfo index 4c2936c1dfb..39c33c82bff 100644 --- a/www/ruby-actionpack60/distinfo +++ b/www/ruby-actionpack60/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/05/08 14:02:33 taca Exp $ +$NetBSD: distinfo,v 1.10 2021/07/04 06:58:37 taca Exp $ -SHA1 (actionpack-6.0.3.7.gem) = 49825023b27228b23d08fa2022e6ac220f07363e -RMD160 (actionpack-6.0.3.7.gem) = 646b527c0a387635c28839292f19591d77da793f -SHA512 (actionpack-6.0.3.7.gem) = 2285e4ed9e2424403f0221bb17fafdc7bc19e4e810bb522616de56bf79edd767341d91f34736361590ce99d26425ad27d020c872dd576827e000c795a2d2fca5 -Size (actionpack-6.0.3.7.gem) = 217600 bytes +SHA1 (actionpack-6.0.4.gem) = 0bb1586328ede9d4f733f4352708393adb76a1cb +RMD160 (actionpack-6.0.4.gem) = 75a955bb4673a8f7ba51f7fdfc07a248a474f5f2 +SHA512 (actionpack-6.0.4.gem) = 31cd1d33037c4a9cb3b9d1af3d0d72b9ce1e49258482922040d476f8f933fa355aa4ccadbe52d9b7503baabccf91f756659e8eeab76f62270b1993e7e0e23b6f +Size (actionpack-6.0.4.gem) = 218112 bytes diff --git a/www/ruby-actionview60/distinfo b/www/ruby-actionview60/distinfo index 4462abcb0d5..3b9faf4dac7 100644 --- a/www/ruby-actionview60/distinfo +++ b/www/ruby-actionview60/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/05/08 14:02:33 taca Exp $ +$NetBSD: distinfo,v 1.10 2021/07/04 06:58:37 taca Exp $ -SHA1 (actionview-6.0.3.7.gem) = 1ba54e1bb8a9a82f2b653c137dad1e4f2ccfc35a -RMD160 (actionview-6.0.3.7.gem) = db65a9c3585d5b2946c47cf47080d5a3bb8b9e55 -SHA512 (actionview-6.0.3.7.gem) = 8c95b885126ab404a13aef5c2bb3f63d34152d5b10191cb540633e649074c0fae53f0ee9c992d7f8349b81d515ddaaaba8ffc558bb1f6604af8ec0edbdfc8492 -Size (actionview-6.0.3.7.gem) = 169984 bytes +SHA1 (actionview-6.0.4.gem) = b397ad71cccf34a03b13fe98da6ec5084a5975ad +RMD160 (actionview-6.0.4.gem) = b9eb76a4b2a67458a151d17bf8f2bc2ddfb6fd6c +SHA512 (actionview-6.0.4.gem) = 0949761f8adf0b3b5a4653aea2f1b9c13e08ce4ed411ad7121a2dd67e13409383680cf4f61be790afaf7ad2c491a17acd88171a98a9d866594a0ea4547257385 +Size (actionview-6.0.4.gem) = 169984 bytes diff --git a/www/ruby-rails60/distinfo b/www/ruby-rails60/distinfo index 9f0c146d8c0..60e58cb11d6 100644 --- a/www/ruby-rails60/distinfo +++ b/www/ruby-rails60/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/05/08 14:02:34 taca Exp $ +$NetBSD: distinfo,v 1.10 2021/07/04 06:58:38 taca Exp $ -SHA1 (rails-6.0.3.7.gem) = b116f7b8faceaf889953d3bdb22d36f3a8c9a8fa -RMD160 (rails-6.0.3.7.gem) = c2e68cc12474f3ee9409b3eca326faad867b4d2d -SHA512 (rails-6.0.3.7.gem) = 15352bf9a50f9d48c8ece56e65e95ead9dc98ca7aa6892ebbfce4fa99434cb1f6c71388434d0cd80f031037e7094a8e528c252faba2658bd650027b61d868616 -Size (rails-6.0.3.7.gem) = 6656 bytes +SHA1 (rails-6.0.4.gem) = 7b9683356c4c11350d5132a354bbc2ce9b4a3e32 +RMD160 (rails-6.0.4.gem) = 97838cc1ad338effa7294b93aede5ff1760e0637 +SHA512 (rails-6.0.4.gem) = 8666882edaf418284f869cfcb9dcd733b3ebfc5d0799f5a98cd0f5d399cdfeca770a87f4253ac8db44eee1b799764914a230cda2205af210072944c8c1b886e4 +Size (rails-6.0.4.gem) = 6656 bytes |