actionpack 6.0.4.5 → 6.0.4.8

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: 80ae74c63f93f44f438ba11220db38faf94f46d504af1073bb157f4a655271bf
4
- data.tar.gz: 5481cd6053cfb82faac3f7cdd97c0dd3f9f952a42b4e25b46e2c8fb211df476b
3
+ metadata.gz: 40cba0f49157393794f8a9b5322c71bc87e11462a0986d53212519fc1140cbe8
4
+ data.tar.gz: a0c7f97dea9ecb2cee14ce51acdd4d39c941cfc08c19be1b4e3e1a00cafc63f1
5
5
  SHA512:
6
- metadata.gz: 1e58956c507c48ab24654a99de4bdb7a8c3c89a8db970b1003f68698667f4890872da51883eb74a049c8c76ad46704f6f29d0b52ee7a90132732d5381ce53aaa
7
- data.tar.gz: 9fc9234c51d039b96a8f1381841c9f8ca21e06f5c3558f293aac47d00f78ee8aa976de04d61ee00d0c32246e183e7685cb4c1c73e51f42b22337983c55da3646
6
+ metadata.gz: 33fff13bf2347eacd58a37c1d5e3994796fdc86acde4dc348f2621df10fa6d68821c49845764c502f3fa9b2837967f0267ff12c32e07eb5cadc9eb7daa7c9372
7
+ data.tar.gz: beaca9ff7d16bdcf706d4358944db344efe56553626bc78a696c332a451e5266b1175760e108c59a2622ac24b103379dc6c37f33301f7f91fd378d7e2e13a57a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## Rails 6.0.4.8 (April 26, 2022) ##
2
+
3
+ * Allow Content Security Policy DSL to generate for API responses.
4
+
5
+ *Tim Wade*
6
+
7
+ ## Rails 6.0.4.7 (March 08, 2022) ##
8
+
9
+ * No changes.
10
+
11
+
12
+ ## Rails 6.0.4.6 (February 11, 2022) ##
13
+
14
+ * No changes.
15
+
16
+
1
17
  ## Rails 6.0.4.5 (February 11, 2022) ##
2
18
 
3
19
  * Under certain circumstances, the middleware isn't informed that the
@@ -17,7 +17,6 @@ module ActionDispatch #:nodoc:
17
17
  request = ActionDispatch::Request.new env
18
18
  _, headers, _ = response = @app.call(env)
19
19
 
20
- return response unless html_response?(headers)
21
20
  return response if policy_present?(headers)
22
21
 
23
22
  if policy = request.content_security_policy
@@ -31,12 +30,6 @@ module ActionDispatch #:nodoc:
31
30
  end
32
31
 
33
32
  private
34
- def html_response?(headers)
35
- if content_type = headers[CONTENT_TYPE]
36
- content_type =~ /html/
37
- end
38
- end
39
-
40
33
  def header_name(request)
41
34
  if request.content_security_policy_report_only
42
35
  POLICY_REPORT_ONLY
@@ -10,7 +10,7 @@ module ActionPack
10
10
  MAJOR = 6
11
11
  MINOR = 0
12
12
  TINY = 4
13
- PRE = "5"
13
+ PRE = "8"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  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: 6.0.4.5
4
+ version: 6.0.4.8
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: 2022-02-11 00:00:00.000000000 Z
11
+ date: 2022-04-26 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: 6.0.4.5
19
+ version: 6.0.4.8
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: 6.0.4.5
26
+ version: 6.0.4.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@ dependencies:
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 6.0.4.5
101
+ version: 6.0.4.8
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - '='
107
107
  - !ruby/object:Gem::Version
108
- version: 6.0.4.5
108
+ version: 6.0.4.8
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: activemodel
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 6.0.4.5
115
+ version: 6.0.4.8
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 6.0.4.5
122
+ version: 6.0.4.8
123
123
  description: Web apps on Rails. Simple, battle-tested conventions for building and
124
124
  testing MVC web applications. Works with any Rack-compatible server.
125
125
  email: david@loudthinking.com
@@ -310,10 +310,10 @@ licenses:
310
310
  - MIT
311
311
  metadata:
312
312
  bug_tracker_uri: https://github.com/rails/rails/issues
313
- changelog_uri: https://github.com/rails/rails/blob/v6.0.4.5/actionpack/CHANGELOG.md
314
- documentation_uri: https://api.rubyonrails.org/v6.0.4.5/
313
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.4.8/actionpack/CHANGELOG.md
314
+ documentation_uri: https://api.rubyonrails.org/v6.0.4.8/
315
315
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
316
- source_code_uri: https://github.com/rails/rails/tree/v6.0.4.5/actionpack
316
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.4.8/actionpack
317
317
  post_install_message:
318
318
  rdoc_options: []
319
319
  require_paths:
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
330
  version: '0'
331
331
  requirements:
332
332
  - none
333
- rubygems_version: 3.2.22
333
+ rubygems_version: 3.1.6
334
334
  signing_key:
335
335
  specification_version: 4
336
336
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).