activesupport 7.0.4 → 7.0.4.2
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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/active_support/gem_version.rb +1 -1
- data/lib/active_support/inflector/methods.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3b5e296e65bfdc81c344a77a989f352ea66801e60d70e79761f7caca0f89b52
|
4
|
+
data.tar.gz: 633843403f31a29e039064b99558621ee1e04f2ffdcbbc9d7c3faad5ba76aca1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7466b6167afea9df25d97382060e976f35551fd97e4c5649b644714e7791f351a9a3ca08b6b2283d430588c8a21e71acc4d65795798d872505ee0b6e67a9aea
|
7
|
+
data.tar.gz: 70e12f9f04bebf2d4f760892c218b0b150e252cc0f887dad2e50f1a42e5dac3e3b8b929b45da3c823c91604ebf02f32d35c6c367e19f4ce46bfa02a24899ce7c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Rails 7.0.4.2 (January 24, 2023) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 7.0.4.1 (January 17, 2023) ##
|
7
|
+
|
8
|
+
* Avoid regex backtracking in Inflector.underscore
|
9
|
+
|
10
|
+
[CVE-2023-22796]
|
11
|
+
|
12
|
+
|
1
13
|
## Rails 7.0.4 (September 09, 2022) ##
|
2
14
|
|
3
15
|
* Redis cache store is now compatible with redis-rb 5.0.
|
@@ -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.2
|
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-01-25 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.2/activesupport/CHANGELOG.md
|
363
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.4.2/
|
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.2/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
|