actionpack 7.1.3.1 → 7.1.3.3

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: 1b62aeaa57b9cd75f878c9fc01bfb6ea6212efb204b11333d90f612e1c00bfda
4
- data.tar.gz: 0b92927142cc52e79ba1e16d8b8ba3dbceb9906978ff0d9292835110c08f6637
3
+ metadata.gz: ba5549198fbf67f231ab2d5bb26259dd9ffd0e734bb783743cc2839093f54ad4
4
+ data.tar.gz: 3de8f9fd3bb2e2a0be3bf1b0db1cdba86a3c0adb6fad2b340b914cafbd2ab6e0
5
5
  SHA512:
6
- metadata.gz: abcb6dd57c8fea664f4a8c8f9124e48188e4d9042620096a877b9b55d7f20c64ee38a4c9b18435add3c81929884f666651befd678aa109760c42d8f03605888a
7
- data.tar.gz: 715bbae4ea354077bd17c50ffcab9916278d245861e34913b8ee457eccb6aefd685474720accc4413b5b7eabb7e62e1b0c8abb336e93854fc244abef2b2833f3
6
+ metadata.gz: 86367d24a62fa2c7e4563904f238d5f54f7c71947686c033db9becb601b4b3a4945aa0cb24a7473bd2de6cc5a9ddd608d943da84e9a0b910b3388ee34424dcff
7
+ data.tar.gz: 18418fd972cba25a43953ff3219d7d42e07ccfcfcd5f8d4c991c160882c0527dc090de72de47428bf877e9193953642f3291dcc89421653d88f880647815c8c2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 7.1.3.3 (May 16, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.1.3.2 (February 21, 2024) ##
7
+
8
+ * Fix `raise_on_missing_translations` not working correctly with the
9
+ `translate` method in controllers after the patch for CVE-2024-26143.
10
+
1
11
  ## Rails 7.1.3.1 (February 21, 2024) ##
2
12
 
3
13
  * Fix possible XSS vulnerability with the `translate` method in controllers
@@ -28,18 +28,7 @@ module AbstractController
28
28
  end
29
29
  end
30
30
 
31
- if options[:raise].nil?
32
- options[:default] = [] unless options[:default]
33
- options[:default] << MISSING_TRANSLATION
34
- end
35
-
36
- result = ActiveSupport::HtmlSafeTranslation.translate(key, **options)
37
-
38
- if result == MISSING_TRANSLATION
39
- +"translation missing: #{key}"
40
- else
41
- result
42
- end
31
+ ActiveSupport::HtmlSafeTranslation.translate(key, **options)
43
32
  end
44
33
  alias :t :translate
45
34
 
@@ -48,9 +37,5 @@ module AbstractController
48
37
  I18n.localize(object, **options)
49
38
  end
50
39
  alias :l :localize
51
-
52
- private
53
- MISSING_TRANSLATION = -(2**60)
54
- private_constant :MISSING_TRANSLATION
55
40
  end
56
41
  end
@@ -10,7 +10,7 @@ module ActionPack
10
10
  MAJOR = 7
11
11
  MINOR = 1
12
12
  TINY = 3
13
- PRE = "1"
13
+ PRE = "3"
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: 7.1.3.1
4
+ version: 7.1.3.3
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-02-21 00:00:00.000000000 Z
11
+ date: 2024-05-16 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.3.1
19
+ version: 7.1.3.3
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.3.1
26
+ version: 7.1.3.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,28 +128,28 @@ dependencies:
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 7.1.3.1
131
+ version: 7.1.3.3
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 7.1.3.1
138
+ version: 7.1.3.3
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: activemodel
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 7.1.3.1
145
+ version: 7.1.3.3
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 7.1.3.1
152
+ version: 7.1.3.3
153
153
  description: Web apps on Rails. Simple, battle-tested conventions for building and
154
154
  testing MVC web applications. Works with any Rack-compatible server.
155
155
  email: david@loudthinking.com
@@ -346,10 +346,10 @@ licenses:
346
346
  - MIT
347
347
  metadata:
348
348
  bug_tracker_uri: https://github.com/rails/rails/issues
349
- changelog_uri: https://github.com/rails/rails/blob/v7.1.3.1/actionpack/CHANGELOG.md
350
- documentation_uri: https://api.rubyonrails.org/v7.1.3.1/
349
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.3.3/actionpack/CHANGELOG.md
350
+ documentation_uri: https://api.rubyonrails.org/v7.1.3.3/
351
351
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
352
- source_code_uri: https://github.com/rails/rails/tree/v7.1.3.1/actionpack
352
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.3.3/actionpack
353
353
  rubygems_mfa_required: 'true'
354
354
  post_install_message:
355
355
  rdoc_options: []
@@ -367,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
367
367
  version: '0'
368
368
  requirements:
369
369
  - none
370
- rubygems_version: 3.4.10
370
+ rubygems_version: 3.5.10
371
371
  signing_key:
372
372
  specification_version: 4
373
373
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).