actiontext 6.1.7.8 → 6.1.7.10

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: fd25d6d80912cb5b0457abece4c29eb123b2723d7a82a7a7034e8aa7d8b809eb
4
- data.tar.gz: 14b5e74568cb790a062de5a63d8c8d3cb8c3ef57769c170d696ed9c3b987cae7
3
+ metadata.gz: 2ababf9c786c5d28e7c81ddc87cc7651f95768eb2532d7234572b695cb7ea404
4
+ data.tar.gz: 9de5d37a9f9fe4cdb79c7886a3f81c975f5ac1168328fadb999dae9696ee9a17
5
5
  SHA512:
6
- metadata.gz: dc6be8a996d667a3963a389f1a8918b241d6ee8b5f6bcb6f464583cfa095f573d443203fd27e13d04e7af7c912bf8156e4ab074ca0672339f9451b0df685af93
7
- data.tar.gz: 5281076370a5eeac282c93d6a41a415dd9c69464797787213154afcd39b67e46579e45da65d6b318b350896d94c92a508fbf0b1f61a6651c33c17728a8998c92
6
+ metadata.gz: 536ee7e54bd447a53c1f1bab3c37113d4270e2152f35492d0e0edf88b93559743edd262426be3c830ae6be418f979f84f9048730a58cc5a82e062d4e7c59f488
7
+ data.tar.gz: 073e85a87a9a4e3cf300d7ef02ea17f59f03d8b9b71dfef2890a843803d5816912edae52444a54138fa698df0416e23b6650d7479da77a9caa0ac4af953898b2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Rails 6.1.7.10 (October 23, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 6.1.7.9 (October 15, 2024) ##
7
+
8
+ * Avoid backtracing in plain_text_for_blockquote_node
9
+
10
+ [CVE-2024-47888]
11
+
12
+
1
13
  ## Rails 6.1.7.8 (June 04, 2024) ##
2
14
 
3
15
  * No changes.
@@ -10,7 +10,7 @@ module ActionText
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
12
  TINY = 7
13
- PRE = "8"
13
+ PRE = "10"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -55,7 +55,12 @@ module ActionText
55
55
 
56
56
  def plain_text_for_blockquote_node(node, index)
57
57
  text = plain_text_for_block(node)
58
- text.sub(/\A(\s*)(.+?)(\s*)\Z/m, '\1“\2”\3')
58
+ return "“”" if text.blank?
59
+
60
+ text = text.dup
61
+ text.insert(text.rindex(/\S/) + 1, "”")
62
+ text.insert(text.index(/\S/), "“")
63
+ text
59
64
  end
60
65
 
61
66
  def plain_text_for_li_node(node, index)
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "6.1.7-8",
3
+ "version": "6.1.710",
4
4
  "description": "Edit and display rich text in Rails applications",
5
5
  "main": "app/javascript/actiontext/index.js",
6
6
  "files": [
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actiontext
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.7.8
4
+ version: 6.1.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
8
8
  - Sam Stephenson
9
9
  - David Heinemeier Hansson
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-06-04 00:00:00.000000000 Z
13
+ date: 2024-10-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -18,56 +18,56 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 6.1.7.8
21
+ version: 6.1.7.10
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 6.1.7.8
28
+ version: 6.1.7.10
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: activerecord
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 6.1.7.8
35
+ version: 6.1.7.10
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 6.1.7.8
42
+ version: 6.1.7.10
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: activestorage
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 6.1.7.8
49
+ version: 6.1.7.10
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 6.1.7.8
56
+ version: 6.1.7.10
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: actionpack
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 6.1.7.8
63
+ version: 6.1.7.10
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 6.1.7.8
70
+ version: 6.1.7.10
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: nokogiri
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -140,12 +140,12 @@ licenses:
140
140
  - MIT
141
141
  metadata:
142
142
  bug_tracker_uri: https://github.com/rails/rails/issues
143
- changelog_uri: https://github.com/rails/rails/blob/v6.1.7.8/actiontext/CHANGELOG.md
144
- documentation_uri: https://api.rubyonrails.org/v6.1.7.8/
143
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.7.10/actiontext/CHANGELOG.md
144
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.10/
145
145
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
146
- source_code_uri: https://github.com/rails/rails/tree/v6.1.7.8/actiontext
146
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.10/actiontext
147
147
  rubygems_mfa_required: 'true'
148
- post_install_message:
148
+ post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths:
151
151
  - lib
@@ -160,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.3.27
164
- signing_key:
163
+ rubygems_version: 3.5.16
164
+ signing_key:
165
165
  specification_version: 4
166
166
  summary: Rich text framework.
167
167
  test_files: []