activesupport 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0caeb01dd45687820a3b9376d7b57a90f881651a02ee49f36ed88377621c8fdd
4
- data.tar.gz: 52d9f59bfea168914f2350656069e28ce6b6d7d741378bb05faaabf8ec86e06b
3
+ metadata.gz: '038332438b9c0a75f33774963f0951f3664374648d3a454775fff362857aa1d4'
4
+ data.tar.gz: e8828e2fcd3c53f03d679302fd340d177a98c4210470405e6105c30ae58baaff
5
5
  SHA512:
6
- metadata.gz: 04b3030290ddad933f276d9be48c481fe5df986af908f53cda61051e3501b2e745280d98298f491493fe494e392d7217fb9ff9abad8c01e5890a05f97c71ffc2
7
- data.tar.gz: ae5d9cc0ee3ffc76b69358504ea2c18de02823e69da2f09bf5ab15c8c9cf74b01aedf54956669b48b03c97e8cd997fd34fa82be8b855f136d7f419463498eb96
6
+ metadata.gz: 3a84aa80b217e7330a2f066d2abd783843e3a2463e8cb8cdd3928aa30a17d2038a04cfcf71dedb41c4e14e6c9827c6ccff9878e731083c495e497a2a4e7c421e
7
+ data.tar.gz: 656e2f353daa293b2691d70b3bd5de8e1b61d9981389f5553df397bcb3e1761cdca9b57197d4d668edf2eaeda4fcc746159b4865e6e2b3133e95353880e9a483
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
+ * No changes.
9
+
10
+
1
11
  ## Rails 7.1.3.1 (February 21, 2024) ##
2
12
 
3
13
  * No changes.
@@ -10,7 +10,7 @@ module ActiveSupport
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
@@ -7,8 +7,18 @@ module ActiveSupport
7
7
  def translate(key, **options)
8
8
  if html_safe_translation_key?(key)
9
9
  html_safe_options = html_escape_translation_options(options)
10
- translation = I18n.translate(key, **html_safe_options)
11
- html_safe_translation(translation)
10
+
11
+ exception = false
12
+ exception_handler = ->(*args) do
13
+ exception = true
14
+ I18n.exception_handler.call(*args)
15
+ end
16
+ translation = I18n.translate(key, **html_safe_options, exception_handler: exception_handler)
17
+ if exception
18
+ translation
19
+ else
20
+ html_safe_translation(translation)
21
+ end
12
22
  else
13
23
  I18n.translate(key, **options)
14
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
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: i18n
@@ -446,10 +446,10 @@ licenses:
446
446
  - MIT
447
447
  metadata:
448
448
  bug_tracker_uri: https://github.com/rails/rails/issues
449
- changelog_uri: https://github.com/rails/rails/blob/v7.1.3.1/activesupport/CHANGELOG.md
450
- documentation_uri: https://api.rubyonrails.org/v7.1.3.1/
449
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.3.3/activesupport/CHANGELOG.md
450
+ documentation_uri: https://api.rubyonrails.org/v7.1.3.3/
451
451
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
452
- source_code_uri: https://github.com/rails/rails/tree/v7.1.3.1/activesupport
452
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.3.3/activesupport
453
453
  rubygems_mfa_required: 'true'
454
454
  post_install_message:
455
455
  rdoc_options:
@@ -468,7 +468,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
468
468
  - !ruby/object:Gem::Version
469
469
  version: '0'
470
470
  requirements: []
471
- rubygems_version: 3.4.10
471
+ rubygems_version: 3.5.10
472
472
  signing_key:
473
473
  specification_version: 4
474
474
  summary: A toolkit of support libraries and Ruby core extensions extracted from the