pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-actionpack70
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.
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
Home |
Main Index |
Thread Index |
Old Index