activesupport 6.1.7 → 6.1.7.1

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: 86fc82a4ac7a8ff4945e8433ea6873e1d9325b470ad7ac8d7310c73370a4f01d
4
- data.tar.gz: 62f8370923132917f2d665eb09bf1975db08a335d951013cbfaa15077b778d6e
3
+ metadata.gz: aee01b05130a46c1b8fd9d80ae810fa00042710c0340e35db9189e780b393bb3
4
+ data.tar.gz: 19bfb37a5d85cd9be32abd812aefad3a99cc683a11e2ee69f838ad5ddddf4577
5
5
  SHA512:
6
- metadata.gz: ac345691c68306eb3fd83090e79e2794de25d1cf8a6caf34199d4bced1a144a11b670e1a1471dbfe6079c6a4acab76d36d9f2aefc05ad5539f180048a45029ad
7
- data.tar.gz: 0ebb0c6a75f4c1664e673927a50dc3506915f17667bc6768535365b80f1d775f13a07b74150725eb6e24a117deae15566a4d40471bfea2678b11c213503429f1
6
+ metadata.gz: 32de2a791763ef9e8b20ccf981561873c42a4a936b490eea0b3ab91aade293adc45b53eb876595dfbffa71de91960dd9106395f704457604300292553aa08d73
7
+ data.tar.gz: 1229fa3c47e421ae1d7ea4470d2e9c12b90fb3225de20f0e96bb3fba0c64cf335e496a538c6246db7841ca0cd4a5b571e52636cecdf7c7162af9ce3de9cd3551
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 6.1.7.1 (January 17, 2023) ##
2
+
3
+ * Avoid regex backtracking in Inflector.underscore
4
+
5
+ [CVE-2023-22796]
6
+
7
+
1
8
  ## Rails 6.1.7 (September 09, 2022) ##
2
9
 
3
10
  * No changes.
@@ -10,7 +10,7 @@ module ActiveSupport
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
12
  TINY = 7
13
- PRE = nil
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -93,8 +93,7 @@ module ActiveSupport
93
93
  return camel_cased_word unless /[A-Z-]|::/.match?(camel_cased_word)
94
94
  word = camel_cased_word.to_s.gsub("::", "/")
95
95
  word.gsub!(inflections.acronyms_underscore_regex) { "#{$1 && '_' }#{$2.downcase}" }
96
- word.gsub!(/([A-Z\d]+)([A-Z][a-z])/, '\1_\2')
97
- word.gsub!(/([a-z\d])([A-Z])/, '\1_\2')
96
+ word.gsub!(/([A-Z])(?=[A-Z][a-z])|([a-z\d])(?=[A-Z])/) { ($1 || $2) << "_" }
98
97
  word.tr!("-", "_")
99
98
  word.downcase!
100
99
  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: 6.1.7
4
+ version: 6.1.7.1
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: 2022-09-09 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -357,10 +357,10 @@ licenses:
357
357
  - MIT
358
358
  metadata:
359
359
  bug_tracker_uri: https://github.com/rails/rails/issues
360
- changelog_uri: https://github.com/rails/rails/blob/v6.1.7/activesupport/CHANGELOG.md
361
- documentation_uri: https://api.rubyonrails.org/v6.1.7/
360
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.7.1/activesupport/CHANGELOG.md
361
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.1/
362
362
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
363
- source_code_uri: https://github.com/rails/rails/tree/v6.1.7/activesupport
363
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.1/activesupport
364
364
  rubygems_mfa_required: 'true'
365
365
  post_install_message:
366
366
  rdoc_options:
@@ -379,7 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
379
379
  - !ruby/object:Gem::Version
380
380
  version: '0'
381
381
  requirements: []
382
- rubygems_version: 3.3.3
382
+ rubygems_version: 3.4.3
383
383
  signing_key:
384
384
  specification_version: 4
385
385
  summary: A toolkit of support libraries and Ruby core extensions extracted from the