actionpack 7.1.1 → 7.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/action_controller/metal/http_authentication.rb +1 -1
- data/lib/action_controller/metal/strong_parameters.rb +7 -1
- data/lib/action_dispatch/http/response.rb +3 -1
- data/lib/action_dispatch/system_testing/browser.rb +11 -5
- data/lib/action_pack/gem_version.rb +1 -1
- metadata +25 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27b3fee0fa041bb5e11a19926a50910131e2a8e9f52678491f97626d28272f08
|
4
|
+
data.tar.gz: 6e7c091c13209ba730de05b35472f5f5af601506ed0a8c27b43ca9a64ee2a73a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57adb80fbb5071d15c3a89d9086ca18fe353168e5f06e8341815f124a1aaca6e6206443de95c3391ce9b5992313e20517c52bf44450dd03884e6ab084e33ec30
|
7
|
+
data.tar.gz: 309e1889aa0d61b31caf0f9aff3262480c5cca3b2b08bae86c6632b6cf500fabd9618768326594fffc52fa1ebab93aa1ad8629bc9ce8ca449780f35ca842fcb7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
## Rails 7.1.2 (November 10, 2023) ##
|
2
|
+
|
3
|
+
* Fix a race condition that could cause a `Text file busy - chromedriver`
|
4
|
+
error with parallel system tests
|
5
|
+
|
6
|
+
*Matt Brictson*
|
7
|
+
|
8
|
+
* Fix `StrongParameters#extract_value` to include blank values
|
9
|
+
|
10
|
+
Otherwise composite parameters may not be parsed correctly when one of the
|
11
|
+
component is blank.
|
12
|
+
|
13
|
+
*fatkodima*, *Yasha Krasnou*, *Matthias Eiglsperger*
|
14
|
+
|
15
|
+
* Add `racc` as a dependency since it will become a bundled gem in Ruby 3.4.0
|
16
|
+
|
17
|
+
*Hartley McGuire*
|
18
|
+
|
19
|
+
* Support handling Enumerator for non-buffered responses.
|
20
|
+
|
21
|
+
*Zachary Scott*
|
22
|
+
|
23
|
+
|
1
24
|
## Rails 7.1.1 (October 11, 2023) ##
|
2
25
|
|
3
26
|
* No changes.
|
@@ -967,8 +967,14 @@ module ActionController
|
|
967
967
|
# params.extract_value(:id) # => ["1", "123"]
|
968
968
|
# params.extract_value(:tags, delimiter: ",") # => ["ruby", "rails"]
|
969
969
|
# params.extract_value(:non_existent_key) # => nil
|
970
|
+
#
|
971
|
+
# Note that if the given +key+'s value contains blank elements, then
|
972
|
+
# the returned array will include empty strings.
|
973
|
+
#
|
974
|
+
# params = ActionController::Parameters.new(tags: "ruby,rails,,web")
|
975
|
+
# params.extract_value(:tags) # => ["ruby", "rails", "", "web"]
|
970
976
|
def extract_value(key, delimiter: "_")
|
971
|
-
@parameters[key]&.split(delimiter)
|
977
|
+
@parameters[key]&.split(delimiter, -1)
|
972
978
|
end
|
973
979
|
|
974
980
|
protected
|
@@ -26,15 +26,14 @@ module ActionDispatch
|
|
26
26
|
yield options if block_given? && options
|
27
27
|
end
|
28
28
|
|
29
|
-
# driver_path
|
30
|
-
#
|
31
|
-
# using parallel tests.
|
29
|
+
# driver_path is lazily initialized by default. Eagerly set it to
|
30
|
+
# avoid race conditions when using parallel tests.
|
32
31
|
def preload
|
33
32
|
case type
|
34
33
|
when :chrome
|
35
|
-
::Selenium::WebDriver::Chrome
|
34
|
+
resolve_driver_path(::Selenium::WebDriver::Chrome)
|
36
35
|
when :firefox
|
37
|
-
::Selenium::WebDriver::Firefox
|
36
|
+
resolve_driver_path(::Selenium::WebDriver::Firefox)
|
38
37
|
end
|
39
38
|
end
|
40
39
|
|
@@ -70,6 +69,13 @@ module ActionDispatch
|
|
70
69
|
capabilities.add_argument("-headless")
|
71
70
|
end
|
72
71
|
end
|
72
|
+
|
73
|
+
def resolve_driver_path(namespace)
|
74
|
+
namespace::Service.driver_path = ::Selenium::WebDriver::DriverFinder.path(
|
75
|
+
options || namespace::Options.new,
|
76
|
+
namespace::Service
|
77
|
+
)
|
78
|
+
end
|
73
79
|
end
|
74
80
|
end
|
75
81
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.1.
|
4
|
+
version: 7.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.1.
|
19
|
+
version: 7.1.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.1.
|
26
|
+
version: 7.1.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.8.5
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: racc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rack
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,28 +128,28 @@ dependencies:
|
|
114
128
|
requirements:
|
115
129
|
- - '='
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: 7.1.
|
131
|
+
version: 7.1.2
|
118
132
|
type: :runtime
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - '='
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: 7.1.
|
138
|
+
version: 7.1.2
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: activemodel
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - '='
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: 7.1.
|
145
|
+
version: 7.1.2
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - '='
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: 7.1.
|
152
|
+
version: 7.1.2
|
139
153
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
140
154
|
testing MVC web applications. Works with any Rack-compatible server.
|
141
155
|
email: david@loudthinking.com
|
@@ -332,10 +346,10 @@ licenses:
|
|
332
346
|
- MIT
|
333
347
|
metadata:
|
334
348
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
335
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
336
|
-
documentation_uri: https://api.rubyonrails.org/v7.1.
|
349
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.2/actionpack/CHANGELOG.md
|
350
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.2/
|
337
351
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
338
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.1.
|
352
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.2/actionpack
|
339
353
|
rubygems_mfa_required: 'true'
|
340
354
|
post_install_message:
|
341
355
|
rdoc_options: []
|