actiontext 7.2.1 → 7.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/lib/action_text/gem_version.rb +1 -1
- data/lib/action_text/plain_text_conversion.rb +6 -1
- data/package.json +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f17bf38172077c504cc7b9b2f3b3ca3cadf589c08a3cd82031abde39c83f9d00
|
4
|
+
data.tar.gz: b54604c9a13141ff099ab40ff584ab3c047a53ab7d04e7cdb0315ecf97afd656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56f7e9e25ebb20056b86ceea5e317e4ece313dd4c665540f2795ad93ff5405d0f650392da30901678b3c4871a297a258cf0f8b10ff92cadfa2bcddbaa8c659a2
|
7
|
+
data.tar.gz: fe817f9b0536a0f9910a445769e78cba9e32ab8887a0a39e93ca64818df1bd69b7ee71bb5c65f2e14bf46b26afdc326463430a5c02cec6c64cf19fa333ee41d1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
## Rails 7.2.2 (October 30, 2024) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 7.2.1.2 (October 23, 2024) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 7.2.1.1 (October 15, 2024) ##
|
12
|
+
|
13
|
+
* Avoid backtracing in plain_text_for_blockquote_node
|
14
|
+
|
15
|
+
[CVE-2024-47888]
|
16
|
+
|
17
|
+
*John Hawthorn*
|
18
|
+
|
1
19
|
## Rails 7.2.1 (August 22, 2024) ##
|
2
20
|
|
3
21
|
* Strip `content` attribute if the key is present but the value is empty
|
@@ -65,7 +65,12 @@ module ActionText
|
|
65
65
|
|
66
66
|
def plain_text_for_blockquote_node(node, index)
|
67
67
|
text = plain_text_for_block(node)
|
68
|
-
text.
|
68
|
+
return "“”" if text.blank?
|
69
|
+
|
70
|
+
text = text.dup
|
71
|
+
text.insert(text.rindex(/\S/) + 1, "”")
|
72
|
+
text.insert(text.index(/\S/), "“")
|
73
|
+
text
|
69
74
|
end
|
70
75
|
|
71
76
|
def plain_text_for_li_node(node, index)
|
data/package.json
CHANGED
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: 7.2.
|
4
|
+
version: 7.2.2
|
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-
|
13
|
+
date: 2024-10-31 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: 7.2.
|
21
|
+
version: 7.2.2
|
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: 7.2.
|
28
|
+
version: 7.2.2
|
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: 7.2.
|
35
|
+
version: 7.2.2
|
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: 7.2.
|
42
|
+
version: 7.2.2
|
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: 7.2.
|
49
|
+
version: 7.2.2
|
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: 7.2.
|
56
|
+
version: 7.2.2
|
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: 7.2.
|
63
|
+
version: 7.2.2
|
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: 7.2.
|
70
|
+
version: 7.2.2
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: nokogiri
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,12 +163,12 @@ licenses:
|
|
163
163
|
- MIT
|
164
164
|
metadata:
|
165
165
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
166
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.2.
|
167
|
-
documentation_uri: https://api.rubyonrails.org/v7.2.
|
166
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.2.2/actiontext/CHANGELOG.md
|
167
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.2/
|
168
168
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
169
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.2.
|
169
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.2/actiontext
|
170
170
|
rubygems_mfa_required: 'true'
|
171
|
-
post_install_message:
|
171
|
+
post_install_message:
|
172
172
|
rdoc_options: []
|
173
173
|
require_paths:
|
174
174
|
- lib
|
@@ -183,8 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.5.
|
187
|
-
signing_key:
|
186
|
+
rubygems_version: 3.5.16
|
187
|
+
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Rich text framework.
|
190
190
|
test_files: []
|