activesupport 7.2.3.2 → 7.2.4
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 +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/active_support/cache/mem_cache_store.rb +3 -0
- data/lib/active_support/core_ext/object/json.rb +1 -1
- data/lib/active_support/gem_version.rb +2 -2
- data/lib/active_support/inflector/methods.rb +2 -2
- data/lib/active_support/json/decoding.rb +1 -1
- data/lib/active_support/json/encoding.rb +1 -1
- data/lib/active_support/message_pack/extensions.rb +1 -1
- data/lib/active_support/number_helper/number_to_delimited_converter.rb +1 -3
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00b56e0cccfa6661d29d9f1704ee5553874e194cca60cb2be1778adcb5aa1c83
|
|
4
|
+
data.tar.gz: 201046e3d5e25d6f61d82efb984c847414d8553dde0dafcd073a3208576782db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9796848b434671fac64d1510be706c6c6076faf126bd5c71c7f2559151006f0750cbe2f53e60526fb49e62bcce7b76598e76a11adefc5f62f4aa611293bbb86b
|
|
7
|
+
data.tar.gz: c906e9c1009d202c44dc4f4fe5f133ac694d88706586ae6f6fa302cbf07de62b29e355d5c36cc381a400bc6e167d9d1a2ae4f01b113436fe3eb67f60063aa236
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## Rails 7.2.4 (September 24, 2026) ##
|
|
2
|
+
|
|
3
|
+
* Improve `number_to_delimited` performance when `delimiter_pattern` is not specified.
|
|
4
|
+
|
|
5
|
+
*Shinichi Maeshima*
|
|
6
|
+
|
|
7
|
+
* Silence Dalli 4.0+ warning when using `ActiveSupport::Cache::MemCacheStore`.
|
|
8
|
+
|
|
9
|
+
*zzak*
|
|
10
|
+
|
|
11
|
+
* Fix `ActiveSupport::Inflector.humanize` with international characters.
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
ActiveSupport::Inflector.humanize("áÉÍÓÚ") # => "Áéíóú"
|
|
15
|
+
ActiveSupport::Inflector.humanize("аБВГДЕ") # => "Абвгде"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
*Jose Luis Duran*
|
|
19
|
+
|
|
20
|
+
|
|
1
21
|
## Rails 7.2.3.2 (July 29, 2026) ##
|
|
2
22
|
|
|
3
23
|
* No changes.
|
|
@@ -90,6 +90,9 @@ module ActiveSupport
|
|
|
90
90
|
# The value "compress: false" prevents duplicate compression within Dalli.
|
|
91
91
|
@mem_cache_options[:compress] = false
|
|
92
92
|
(OVERRIDDEN_OPTIONS - %i(compress)).each { |name| @mem_cache_options.delete(name) }
|
|
93
|
+
# Set the default serializer for Dalli to prevent warning about
|
|
94
|
+
# inheriting the default serializer.
|
|
95
|
+
@mem_cache_options[:serializer] = Marshal
|
|
93
96
|
@data = self.class.build_mem_cache(*(addresses + [@mem_cache_options]))
|
|
94
97
|
end
|
|
95
98
|
|
|
@@ -143,13 +143,13 @@ module ActiveSupport
|
|
|
143
143
|
result.delete_suffix!(" id")
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
-
result.gsub!(/([
|
|
146
|
+
result.gsub!(/([[[:alpha:]]\d]+)/i) do |match|
|
|
147
147
|
match.downcase!
|
|
148
148
|
inflections.acronyms[match] || match
|
|
149
149
|
end
|
|
150
150
|
|
|
151
151
|
if capitalize
|
|
152
|
-
result.sub!(/\A
|
|
152
|
+
result.sub!(/\A[[:alpha:]]/) do |match|
|
|
153
153
|
match.upcase!
|
|
154
154
|
match
|
|
155
155
|
end
|
|
@@ -20,7 +20,7 @@ module ActiveSupport
|
|
|
20
20
|
# ActiveSupport::JSON.decode("{\"team\":\"rails\",\"players\":\"36\"}")
|
|
21
21
|
# # => {"team" => "rails", "players" => "36"}
|
|
22
22
|
def decode(json)
|
|
23
|
-
data = ::JSON.parse(json
|
|
23
|
+
data = ::JSON.parse(json)
|
|
24
24
|
|
|
25
25
|
if ActiveSupport.parse_json_times
|
|
26
26
|
convert_dates_from(data)
|
|
@@ -7,8 +7,6 @@ module ActiveSupport
|
|
|
7
7
|
class NumberToDelimitedConverter < NumberConverter # :nodoc:
|
|
8
8
|
self.validate_float = true
|
|
9
9
|
|
|
10
|
-
DEFAULT_DELIMITER_REGEX = /(\d)(?=(\d\d\d)+(?!\d))/
|
|
11
|
-
|
|
12
10
|
def convert
|
|
13
11
|
parts.join(options[:separator])
|
|
14
12
|
end
|
|
@@ -38,7 +36,7 @@ module ActiveSupport
|
|
|
38
36
|
end
|
|
39
37
|
|
|
40
38
|
def delimiter_pattern
|
|
41
|
-
options
|
|
39
|
+
options[:delimiter_pattern]
|
|
42
40
|
end
|
|
43
41
|
end
|
|
44
42
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activesupport
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.2.
|
|
4
|
+
version: 7.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -76,6 +76,9 @@ dependencies:
|
|
|
76
76
|
- - ">="
|
|
77
77
|
- !ruby/object:Gem::Version
|
|
78
78
|
version: 2.2.5
|
|
79
|
+
- - "<"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '3'
|
|
79
82
|
type: :runtime
|
|
80
83
|
prerelease: false
|
|
81
84
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -83,6 +86,9 @@ dependencies:
|
|
|
83
86
|
- - ">="
|
|
84
87
|
- !ruby/object:Gem::Version
|
|
85
88
|
version: 2.2.5
|
|
89
|
+
- - "<"
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: '3'
|
|
86
92
|
- !ruby/object:Gem::Dependency
|
|
87
93
|
name: minitest
|
|
88
94
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -485,10 +491,10 @@ licenses:
|
|
|
485
491
|
- MIT
|
|
486
492
|
metadata:
|
|
487
493
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
488
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.2.
|
|
489
|
-
documentation_uri: https://api.rubyonrails.org/v7.2.
|
|
494
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.2.4/activesupport/CHANGELOG.md
|
|
495
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.4/
|
|
490
496
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
491
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.2.
|
|
497
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.4/activesupport
|
|
492
498
|
rubygems_mfa_required: 'true'
|
|
493
499
|
rdoc_options:
|
|
494
500
|
- "--encoding"
|
|
@@ -506,7 +512,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
506
512
|
- !ruby/object:Gem::Version
|
|
507
513
|
version: '0'
|
|
508
514
|
requirements: []
|
|
509
|
-
rubygems_version: 4.0.
|
|
515
|
+
rubygems_version: 4.0.20
|
|
510
516
|
specification_version: 4
|
|
511
517
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|
|
512
518
|
Rails framework.
|