Received: by mail.netbsd.org (Postfix, from userid 605) id 0156484E86; Tue, 7 Jun 2022 15:17:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2F11184E60 for ; Tue, 7 Jun 2022 15:17:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id m79gjpNgTV8v for ; Tue, 7 Jun 2022 15:17:22 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9199384C2C for ; Tue, 7 Jun 2022 15:17:22 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C6B8FFB19; Tue, 7 Jun 2022 15:18:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1654615125128910" MIME-Version: 1.0 Date: Tue, 7 Jun 2022 15:18:45 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/www/ruby-actionpack70 To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20220607151845.C6B8FFB19@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1654615125128910 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Tue Jun 7 15:18:45 UTC 2022 Modified Files: pkgsrc/www/ruby-actionpack70: distinfo Log Message: www/ruby-actionpack70: update to 7.0.3 7.0.3 (2022-05-12) * Allow relative redirects when raise_on_open_redirects is enabled. * Fix authenticate_with_http_basic to allow for missing password. Before Rails 7.0 it was possible to handle basic authentication with only a username. authenticate_with_http_basic do |token, _| ApiClient.authenticate(token) end This ability is restored. * Fix content_security_policy returning invalid directives. Directives such as self, unsafe-eval and few others were not single quoted when the directive was the result of calling a lambda returning an array. content_security_policy do |policy| policy.frame_ancestors lambda { [:self, "https://example.com"] } end With this fix the policy generated from above will now be valid. * Fix skip_forgery_protection to run without raising an error if forgery protection has not been enabled / verify_authenticity_token is not a defined callback. This fix prevents the Rails 7.0 Welcome Page (/) from raising an ArgumentError if default_protect_from_forgery is false. * Fix ActionController::Live to copy the IsolatedExecutionState in the ephemeral thread. Since its inception ActionController::Live has been copying thread local variables to keep things such as CurrentAttributes set from middlewares working in the controller action. With the introduction of IsolatedExecutionState in 7.0, some of that global state was lost in ActionController::Live controllers. * Fix setting trailing_slash: true in route definition. get '/test' => "test#index", as: :test, trailing_slash: true test_path() # => "/test/" To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/ruby-actionpack70/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1654615125128910 Content-Disposition: inline Content-Length: 1039 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/ruby-actionpack70/distinfo diff -u pkgsrc/www/ruby-actionpack70/distinfo:1.5 pkgsrc/www/ruby-actionpack70/distinfo:1.6 --- pkgsrc/www/ruby-actionpack70/distinfo:1.5 Thu May 5 03:40:53 2022 +++ pkgsrc/www/ruby-actionpack70/distinfo Tue Jun 7 15:18:45 2022 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2022/05/05 03:40:53 taca Exp $ +$NetBSD: distinfo,v 1.6 2022/06/07 15:18:45 taca Exp $ -BLAKE2s (actionpack-7.0.2.4.gem) = f9d5db2eed84954bca5cc756666ec3ee7e30a8ae520b7ec31c27539649ffe251 -SHA512 (actionpack-7.0.2.4.gem) = 405837174ff284ae9960d947a7f35fe6cf6ef2e558fc917611f04813efbca7b0a44251be2ccf84284166b5aa932fdaf30e4f35fb0c0d96651808cbdc61d67f43 -Size (actionpack-7.0.2.4.gem) = 228864 bytes +BLAKE2s (actionpack-7.0.3.gem) = de4ab0b1f011f4948bb2333d0b2544ac24c5b2821fb1104dfa668aeceb16fd39 +SHA512 (actionpack-7.0.3.gem) = fe8b1929bd87de9a235098a148949affd8fff5aef4c8a85640b9aae15a899fee013663838ce4fa676b9c4b2d304890f1dc341977612abc357238ba8a61b9adcf +Size (actionpack-7.0.3.gem) = 230912 bytes --_----------=_1654615125128910--