actionpack 7.2.0.beta3 → 7.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98a4b9d6813e02c8fe74d979e5d89df4f43937fb5adc1e0e3d54032a76c9622e
4
- data.tar.gz: 42e794d146c9b6e5ff04667d70b19f29013d1585501c0faa7e095ec4af102a99
3
+ metadata.gz: 1c6dfb6390c5d4c6038c8aef6a4c79dd69ac971cc460d4e4f915e3c0c104b09b
4
+ data.tar.gz: 4427bf987fa2fa103840ee22673c241e136e978dd29d4d29d2b7f370dc1dc2b8
5
5
  SHA512:
6
- metadata.gz: 3dfa63137add19360a6ab64b832f2237b15c3d1581a3d45433578e4a273d4b0ef9bc4189e4d8d1bf0da5780b40ee2be89458e3f05187141943dc7b4b10e2a440
7
- data.tar.gz: 8b8a0b1a731adaa8c8a805f7f693532aa1f2b85502d8eb9ce619a394ab67194b5d32bbbca90fc91505211f4a0a013014407463d4244fccc214001300bc6c13db
6
+ metadata.gz: cc8f57cd76f9e51ac42c10970feceedce22c9374f02d5eb96f4812009cba4e1d68b4d2a7bad8f081d939f6628b0447dd73051a32a590cddfa375f8a3084b3a17
7
+ data.tar.gz: 1fa922c393a19ec07ae0b9b615ed3bcc82a365f342270be2308c5dc16b8cd871d82f34c78b486aa981e97308aeefdf3d74cdedb91073602e84219ec05f75c520
data/CHANGELOG.md CHANGED
@@ -1,18 +1,14 @@
1
- ## Rails 7.2.0.beta3 (July 11, 2024) ##
1
+ ## Rails 7.2.0 (August 09, 2024) ##
2
2
 
3
- * No changes.
3
+ * Allow bots to ignore `allow_browser`.
4
4
 
5
-
6
- ## Rails 7.2.0.beta2 (June 04, 2024) ##
5
+ *Matthew Nguyen*
7
6
 
8
7
  * Include the HTTP Permissions-Policy on non-HTML Content-Types
9
8
  [CVE-2024-28103]
10
9
 
11
10
  *Aaron Patterson*, *Zack Deveau*
12
11
 
13
-
14
- ## Rails 7.2.0.beta1 (May 29, 2024) ##
15
-
16
12
  * Fix `Mime::Type.parse` handling type parameters for HTTP Accept headers.
17
13
 
18
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)
@@ -12,7 +12,7 @@ module ActionPack
12
12
  MAJOR = 7
13
13
  MINOR = 2
14
14
  TINY = 0
15
- PRE = "beta3"
15
+ PRE = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
18
18
  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.2.0.beta3
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-07-11 00:00:00.000000000 Z
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.beta3
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.beta3
26
+ version: 7.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,6 +59,9 @@ dependencies:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.2.4
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '3.2'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +69,9 @@ dependencies:
66
69
  - - ">="
67
70
  - !ruby/object:Gem::Version
68
71
  version: 2.2.4
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.2'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rack-session
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +148,28 @@ dependencies:
142
148
  requirements:
143
149
  - - '='
144
150
  - !ruby/object:Gem::Version
145
- version: 7.2.0.beta3
151
+ version: 7.2.0
146
152
  type: :runtime
147
153
  prerelease: false
148
154
  version_requirements: !ruby/object:Gem::Requirement
149
155
  requirements:
150
156
  - - '='
151
157
  - !ruby/object:Gem::Version
152
- version: 7.2.0.beta3
158
+ version: 7.2.0
153
159
  - !ruby/object:Gem::Dependency
154
160
  name: activemodel
155
161
  requirement: !ruby/object:Gem::Requirement
156
162
  requirements:
157
163
  - - '='
158
164
  - !ruby/object:Gem::Version
159
- version: 7.2.0.beta3
165
+ version: 7.2.0
160
166
  type: :development
161
167
  prerelease: false
162
168
  version_requirements: !ruby/object:Gem::Requirement
163
169
  requirements:
164
170
  - - '='
165
171
  - !ruby/object:Gem::Version
166
- version: 7.2.0.beta3
172
+ version: 7.2.0
167
173
  description: Web apps on Rails. Simple, battle-tested conventions for building and
168
174
  testing MVC web applications. Works with any Rack-compatible server.
169
175
  email: david@loudthinking.com
@@ -363,10 +369,10 @@ licenses:
363
369
  - MIT
364
370
  metadata:
365
371
  bug_tracker_uri: https://github.com/rails/rails/issues
366
- changelog_uri: https://github.com/rails/rails/blob/v7.2.0.beta3/actionpack/CHANGELOG.md
367
- documentation_uri: https://api.rubyonrails.org/v7.2.0.beta3/
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/
368
374
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
369
- source_code_uri: https://github.com/rails/rails/tree/v7.2.0.beta3/actionpack
375
+ source_code_uri: https://github.com/rails/rails/tree/v7.2.0/actionpack
370
376
  rubygems_mfa_required: 'true'
371
377
  post_install_message:
372
378
  rdoc_options: []