actionpack 8.1.2.1 → 8.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dee05570dee3e66c9fa1cec5de968cc4ab0490896ba3f2ca3e4868e6037632af
4
- data.tar.gz: 3921944c44ee935bb7bfe702e70014f562567fde6adcd0df9ce4b814947161f9
3
+ metadata.gz: 1ba808f5ffd02a8121b8ec0cd96f7bf004fc2f05e4459c31cc8a02189325481c
4
+ data.tar.gz: a0396999d33b94532455bc8d4811cc586b8d25b0396c2ae72bdd622055c4ab34
5
5
  SHA512:
6
- metadata.gz: 42a12b310028cce21b02802c239dec9166829482c3aa69b65af8277d8f5f8524815819d6b87a0aec7a62fd7100c2f96d41b8daca7df29a9d71ff19ef004b353a
7
- data.tar.gz: 76488e0cfc95a5fc62d64850dfba1b82853af044856721689367da5fee8cbbcabe5da21275795fc5634cd780a049075198c7c1687d1444524dc496eb45274216
6
+ metadata.gz: 2b91c87967cb5c30b48b55b46dbc2542cd8aceca3018d995a4fdebcba33f0ff0cbcdcf3c114d82326e3f2b57478a888c4fa2396169b4800f1c2fed9e27be5031
7
+ data.tar.gz: 70438647135541badfc1ecb2f0c07de0bc8823dc8c7c8b9b2daae8ab502a182a77b53d9bac0000409ef43c7c19e610b9cabe9fa43d306525fe33dc28466c524c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 8.1.3 (March 24, 2026) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 8.1.2.1 (March 23, 2026) ##
2
7
 
3
8
  * No changes.
@@ -65,7 +65,7 @@ module ActionDispatch
65
65
  content_type = Mime[:text]
66
66
  end
67
67
 
68
- if request.head?
68
+ if request.raw_request_method == "HEAD"
69
69
  render(wrapper.status_code, "", content_type)
70
70
  elsif api_request?(content_type)
71
71
  render_for_api_request(content_type, wrapper)
@@ -184,7 +184,7 @@ module ActionDispatch
184
184
  # Returns `true` if the session is mimicking a secure HTTPS request.
185
185
  #
186
186
  # if session.https?
187
- # ...
187
+ # # ...
188
188
  # end
189
189
  def https?
190
190
  @https
@@ -203,7 +203,7 @@ module ActionDispatch
203
203
  # * `env`: Additional env to pass, as a Hash. The headers will be merged into
204
204
  # the Rack env hash.
205
205
  # * `xhr`: Set to `true` if you want to make an Ajax request. Adds request
206
- # headers characteristic of XMLHttpRequest e.g. HTTP_X_REQUESTED_WITH. The
206
+ # headers characteristic of `XMLHttpRequest`, e.g. `HTTP_X_REQUESTED_WITH`. The
207
207
  # headers will be merged into the Rack env hash.
208
208
  # * `as`: Used for encoding the request with different content type. Supports
209
209
  # `:json` by default and will set the appropriate request headers. The
@@ -218,9 +218,10 @@ module ActionDispatch
218
218
  # This method returns the response status, after performing the request.
219
219
  # Furthermore, if this method was called from an ActionDispatch::IntegrationTest
220
220
  # object, then that object's `@response` instance variable will point to a
221
- # Response object which one can use to inspect the details of the response.
221
+ # ActionDispatch::TestResponse object which one can use to inspect the details of the response.
222
222
  #
223
223
  # Example:
224
+ #
224
225
  # process :get, '/author', params: { since: 201501011400 }
225
226
  def process(method, path, params: nil, headers: nil, env: nil, xhr: false, as: nil)
226
227
  request_encoder = RequestEncoder.encoder(as)
@@ -11,8 +11,8 @@ module ActionPack
11
11
  module VERSION
12
12
  MAJOR = 8
13
13
  MINOR = 1
14
- TINY = 2
15
- PRE = "1"
14
+ TINY = 3
15
+ PRE = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.2.1
4
+ version: 8.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 8.1.2.1
18
+ version: 8.1.3
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 8.1.2.1
25
+ version: 8.1.3
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: nokogiri
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -127,28 +127,28 @@ dependencies:
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 8.1.2.1
130
+ version: 8.1.3
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - '='
136
136
  - !ruby/object:Gem::Version
137
- version: 8.1.2.1
137
+ version: 8.1.3
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: activemodel
140
140
  requirement: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - '='
143
143
  - !ruby/object:Gem::Version
144
- version: 8.1.2.1
144
+ version: 8.1.3
145
145
  type: :development
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - '='
150
150
  - !ruby/object:Gem::Version
151
- version: 8.1.2.1
151
+ version: 8.1.3
152
152
  description: Web apps on Rails. Simple, battle-tested conventions for building and
153
153
  testing MVC web applications. Works with any Rack-compatible server.
154
154
  email: david@loudthinking.com
@@ -352,10 +352,10 @@ licenses:
352
352
  - MIT
353
353
  metadata:
354
354
  bug_tracker_uri: https://github.com/rails/rails/issues
355
- changelog_uri: https://github.com/rails/rails/blob/v8.1.2.1/actionpack/CHANGELOG.md
356
- documentation_uri: https://api.rubyonrails.org/v8.1.2.1/
355
+ changelog_uri: https://github.com/rails/rails/blob/v8.1.3/actionpack/CHANGELOG.md
356
+ documentation_uri: https://api.rubyonrails.org/v8.1.3/
357
357
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
358
- source_code_uri: https://github.com/rails/rails/tree/v8.1.2.1/actionpack
358
+ source_code_uri: https://github.com/rails/rails/tree/v8.1.3/actionpack
359
359
  rubygems_mfa_required: 'true'
360
360
  rdoc_options: []
361
361
  require_paths: