activesupport 7.0.4 → 7.0.4.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activesupport might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af711c41eae644a4fba03556039ec8d30337836525e57b896af3fa895bd5826f
|
4
|
+
data.tar.gz: 7c4eb0e42e2aaa1ba161eedd7657cdd8a458adfb456ac3df242a72dceceecc5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f255bc83f2f93d1743014853471a053798dbad3e8162551a0c0593eb5c5ea8abef362abf37de6c298985e9413c32b5ad02294a84dad063da8c150f8ce34d3051
|
7
|
+
data.tar.gz: 39f1750b28dc755ead136f17a4b999b9d6e46a5bdf8b733ded897c6ec163f49b8651df20682b6568aa7bd8bf82c127aa5b00fc354ca80a82ba72c642caa25dd2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
## Rails 7.0.4.3 (March 13, 2023) ##
|
2
|
+
|
3
|
+
* Implement SafeBuffer#bytesplice
|
4
|
+
|
5
|
+
[CVE-2023-28120]
|
6
|
+
|
7
|
+
|
8
|
+
## Rails 7.0.4.2 (January 24, 2023) ##
|
9
|
+
|
10
|
+
* No changes.
|
11
|
+
|
12
|
+
|
13
|
+
## Rails 7.0.4.1 (January 17, 2023) ##
|
14
|
+
|
15
|
+
* Avoid regex backtracking in Inflector.underscore
|
16
|
+
|
17
|
+
[CVE-2023-22796]
|
18
|
+
|
19
|
+
|
1
20
|
## Rails 7.0.4 (September 09, 2022) ##
|
2
21
|
|
3
22
|
* Redis cache store is now compatible with redis-rb 5.0.
|
@@ -219,6 +219,10 @@ module ActiveSupport # :nodoc:
|
|
219
219
|
end
|
220
220
|
alias << concat
|
221
221
|
|
222
|
+
def bytesplice(*args, value)
|
223
|
+
super(*args, implicit_html_escape_interpolated_argument(value))
|
224
|
+
end
|
225
|
+
|
222
226
|
def insert(index, value)
|
223
227
|
super(index, implicit_html_escape_interpolated_argument(value))
|
224
228
|
end
|
@@ -97,7 +97,7 @@ module ActiveSupport
|
|
97
97
|
return camel_cased_word.to_s unless /[A-Z-]|::/.match?(camel_cased_word)
|
98
98
|
word = camel_cased_word.to_s.gsub("::", "/")
|
99
99
|
word.gsub!(inflections.acronyms_underscore_regex) { "#{$1 && '_' }#{$2.downcase}" }
|
100
|
-
word.gsub!(/([A-Z]
|
100
|
+
word.gsub!(/([A-Z])(?=[A-Z][a-z])|([a-z\d])(?=[A-Z])/) { ($1 || $2) << "_" }
|
101
101
|
word.tr!("-", "_")
|
102
102
|
word.downcase!
|
103
103
|
word
|
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.0.4
|
4
|
+
version: 7.0.4.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:
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -359,10 +359,10 @@ licenses:
|
|
359
359
|
- MIT
|
360
360
|
metadata:
|
361
361
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
362
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.0.4/activesupport/CHANGELOG.md
|
363
|
-
documentation_uri: https://api.rubyonrails.org/v7.0.4/
|
362
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.0.4.3/activesupport/CHANGELOG.md
|
363
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.4.3/
|
364
364
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
365
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.0.4/activesupport
|
365
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.4.3/activesupport
|
366
366
|
rubygems_mfa_required: 'true'
|
367
367
|
post_install_message:
|
368
368
|
rdoc_options:
|
@@ -381,7 +381,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
381
381
|
- !ruby/object:Gem::Version
|
382
382
|
version: '0'
|
383
383
|
requirements: []
|
384
|
-
rubygems_version: 3.
|
384
|
+
rubygems_version: 3.4.3
|
385
385
|
signing_key:
|
386
386
|
specification_version: 4
|
387
387
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|