activesupport 7.0.4 → 7.0.4.1

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: 342ae35dc85cf68674201fd516c85b208adccc0c930e888d301d0ed5fa9e2cad
4
- data.tar.gz: 8c611de7bc5d9ea07c57a1848abb556e9090009db790404fa1da49278a49d0b3
3
+ metadata.gz: d9470ff58694a134f22c189060593e6c108b738bfe7ad4b6e30f8baac494879e
4
+ data.tar.gz: bf6ec0c4573ad54d38d8ad108869736d2308c1c8b4561110b5ecd8dc8550e852
5
5
  SHA512:
6
- metadata.gz: 68144c1574e6fe740072399749fef96a992ad390c5877a63110758a7184256882e118d9dc5290150b2b623a391a37ab8c2648e49782ae2f9b3c42cb9e21837c4
7
- data.tar.gz: 6906af5f3a19a04f13ec6ca1c8f492259018181ad3bcb63eb75bdb8cf2fe7316a6dd787125de809cfc04a7dd72ff310f673001f69865b0753fcc571966b8b573
6
+ metadata.gz: 55f8f041f06207f6b2f95c96330eb8bcc88e5488fe5fe4571b6025aef87bad579ad601a31f86bac8b7e8b0f339daba55e032b8d3745dacc06acac7dccd2048f5
7
+ data.tar.gz: a7e2097592b625e4b5f938c7e9c056d441f7fba47ada65187396fcfc7ed95353c327bd898288d3720c11792198378cddf62db7cf4576c283239ab912296f0488
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 7.0.4.1 (January 17, 2023) ##
2
+
3
+ * Avoid regex backtracking in Inflector.underscore
4
+
5
+ [CVE-2023-22796]
6
+
7
+
1
8
  ## Rails 7.0.4 (September 09, 2022) ##
2
9
 
3
10
  * Redis cache store is now compatible with redis-rb 5.0.
@@ -10,7 +10,7 @@ module ActiveSupport
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
12
  TINY = 4
13
- PRE = nil
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  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]+)(?=[A-Z][a-z])|([a-z\d])(?=[A-Z])/) { ($1 || $2) << "_" }
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.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
@@ -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.1/activesupport/CHANGELOG.md
363
+ documentation_uri: https://api.rubyonrails.org/v7.0.4.1/
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.1/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.3.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