actionpack 7.2.0.rc1 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -12
- data/lib/action_controller/metal/allow_browser.rb +5 -1
- data/lib/action_pack/gem_version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6dfb6390c5d4c6038c8aef6a4c79dd69ac971cc460d4e4f915e3c0c104b09b
|
4
|
+
data.tar.gz: 4427bf987fa2fa103840ee22673c241e136e978dd29d4d29d2b7f370dc1dc2b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc8f57cd76f9e51ac42c10970feceedce22c9374f02d5eb96f4812009cba4e1d68b4d2a7bad8f081d939f6628b0447dd73051a32a590cddfa375f8a3084b3a17
|
7
|
+
data.tar.gz: 1fa922c393a19ec07ae0b9b615ed3bcc82a365f342270be2308c5dc16b8cd871d82f34c78b486aa981e97308aeefdf3d74cdedb91073602e84219ec05f75c520
|
data/CHANGELOG.md
CHANGED
@@ -1,23 +1,14 @@
|
|
1
|
-
## Rails 7.2.0
|
1
|
+
## Rails 7.2.0 (August 09, 2024) ##
|
2
2
|
|
3
|
-
*
|
3
|
+
* Allow bots to ignore `allow_browser`.
|
4
4
|
|
5
|
-
|
6
|
-
## Rails 7.2.0.beta3 (July 11, 2024) ##
|
7
|
-
|
8
|
-
* No changes.
|
9
|
-
|
10
|
-
|
11
|
-
## Rails 7.2.0.beta2 (June 04, 2024) ##
|
5
|
+
*Matthew Nguyen*
|
12
6
|
|
13
7
|
* Include the HTTP Permissions-Policy on non-HTML Content-Types
|
14
8
|
[CVE-2024-28103]
|
15
9
|
|
16
10
|
*Aaron Patterson*, *Zack Deveau*
|
17
11
|
|
18
|
-
|
19
|
-
## Rails 7.2.0.beta1 (May 29, 2024) ##
|
20
|
-
|
21
12
|
* Fix `Mime::Type.parse` handling type parameters for HTTP Accept headers.
|
22
13
|
|
23
14
|
*Taylor Chaparro*
|
@@ -85,13 +85,17 @@ module ActionController # :nodoc:
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def unsupported_browser?
|
88
|
-
version_guarded_browser? && version_below_minimum_required?
|
88
|
+
version_guarded_browser? && version_below_minimum_required? && !bot?
|
89
89
|
end
|
90
90
|
|
91
91
|
def version_guarded_browser?
|
92
92
|
minimum_browser_version_for_browser != nil
|
93
93
|
end
|
94
94
|
|
95
|
+
def bot?
|
96
|
+
parsed_user_agent.bot?
|
97
|
+
end
|
98
|
+
|
95
99
|
def version_below_minimum_required?
|
96
100
|
if minimum_browser_version_for_browser
|
97
101
|
parsed_user_agent.version < UserAgent::Version.new(minimum_browser_version_for_browser.to_s)
|
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.2.0
|
4
|
+
version: 7.2.0
|
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: 2024-08-
|
11
|
+
date: 2024-08-09 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.2.0
|
19
|
+
version: 7.2.0
|
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.2.0
|
26
|
+
version: 7.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,28 +148,28 @@ dependencies:
|
|
148
148
|
requirements:
|
149
149
|
- - '='
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 7.2.0
|
151
|
+
version: 7.2.0
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - '='
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: 7.2.0
|
158
|
+
version: 7.2.0
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: activemodel
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - '='
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: 7.2.0
|
165
|
+
version: 7.2.0
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - '='
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: 7.2.0
|
172
|
+
version: 7.2.0
|
173
173
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
174
174
|
testing MVC web applications. Works with any Rack-compatible server.
|
175
175
|
email: david@loudthinking.com
|
@@ -369,10 +369,10 @@ licenses:
|
|
369
369
|
- MIT
|
370
370
|
metadata:
|
371
371
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
372
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.2.0
|
373
|
-
documentation_uri: https://api.rubyonrails.org/v7.2.0
|
372
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.2.0/actionpack/CHANGELOG.md
|
373
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.0/
|
374
374
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
375
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.2.0
|
375
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.0/actionpack
|
376
376
|
rubygems_mfa_required: 'true'
|
377
377
|
post_install_message:
|
378
378
|
rdoc_options: []
|