actiontext 6.1.4.1 → 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: d5a7fb2811d060b4183dbac7e78b0999227e42c63271b32088c5212769191149
4
- data.tar.gz: 90be4c6c08a2af75f9dba432e9039b283b4fb4ee44ac3e2d26d9005a9c19a15d
3
+ metadata.gz: 2ababf9c786c5d28e7c81ddc87cc7651f95768eb2532d7234572b695cb7ea404
4
+ data.tar.gz: 9de5d37a9f9fe4cdb79c7886a3f81c975f5ac1168328fadb999dae9696ee9a17
5
5
  SHA512:
6
- metadata.gz: e531afe3c6ad50674d091e9a086c724ff0676db35e84c65ec4a5f25f7a59f85509374318f0d421a3a8ad27d5fc5f6f6aeafbbc9c20fd7dcc98105dfd35e276a7
7
- data.tar.gz: 8c011da2ae1784bb8b3b67ea8a210dcc0068de5aaf8516a1d1e5c990efc99646afb1e0368930a82139f5c484ee76f634eab3f09fae82188b5600ec1007f10b50
6
+ metadata.gz: 536ee7e54bd447a53c1f1bab3c37113d4270e2152f35492d0e0edf88b93559743edd262426be3c830ae6be418f979f84f9048730a58cc5a82e062d4e7c59f488
7
+ data.tar.gz: 073e85a87a9a4e3cf300d7ef02ea17f59f03d8b9b71dfef2890a843803d5816912edae52444a54138fa698df0416e23b6650d7479da77a9caa0ac4af953898b2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,112 @@
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
+
13
+ ## Rails 6.1.7.8 (June 04, 2024) ##
14
+
15
+ * No changes.
16
+
17
+
18
+ ## Rails 6.1.7.7 (February 21, 2024) ##
19
+
20
+ * No changes.
21
+
22
+
23
+ ## Rails 6.1.7.6 (August 22, 2023) ##
24
+
25
+ * No changes.
26
+
27
+
28
+ ## Rails 6.1.7.5 (August 22, 2023) ##
29
+
30
+ * No changes.
31
+
32
+
33
+ ## Rails 6.1.7.4 (June 26, 2023) ##
34
+
35
+ * No changes.
36
+
37
+
38
+ ## Rails 6.1.7.3 (March 13, 2023) ##
39
+
40
+ * No changes.
41
+
42
+
43
+ ## Rails 6.1.7.2 (January 24, 2023) ##
44
+
45
+ * No changes.
46
+
47
+
48
+ ## Rails 6.1.7.1 (January 17, 2023) ##
49
+
50
+ * No changes.
51
+
52
+
53
+ ## Rails 6.1.7 (September 09, 2022) ##
54
+
55
+ * No changes.
56
+
57
+
58
+ ## Rails 6.1.6.1 (July 12, 2022) ##
59
+
60
+ * No changes.
61
+
62
+
63
+ ## Rails 6.1.6 (May 09, 2022) ##
64
+
65
+ * No changes.
66
+
67
+
68
+ ## Rails 6.1.5.1 (April 26, 2022) ##
69
+
70
+ * No changes.
71
+
72
+
73
+ ## Rails 6.1.5 (March 09, 2022) ##
74
+
75
+ * Fix Action Text extra trix content wrapper.
76
+
77
+ *Alexandre Ruban*
78
+
79
+
80
+ ## Rails 6.1.4.7 (March 08, 2022) ##
81
+
82
+ * No changes.
83
+
84
+
85
+ ## Rails 6.1.4.6 (February 11, 2022) ##
86
+
87
+ * No changes.
88
+
89
+
90
+ ## Rails 6.1.4.5 (February 11, 2022) ##
91
+
92
+ * No changes.
93
+
94
+
95
+ ## Rails 6.1.4.4 (December 15, 2021) ##
96
+
97
+ * No changes.
98
+
99
+
100
+ ## Rails 6.1.4.3 (December 14, 2021) ##
101
+
102
+ * No changes.
103
+
104
+
105
+ ## Rails 6.1.4.2 (December 14, 2021) ##
106
+
107
+ * No changes.
108
+
109
+
1
110
  ## Rails 6.1.4.1 (August 19, 2021) ##
2
111
 
3
112
  * No changes.
data/MIT-LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Basecamp, LLC
3
+ Copyright (c) 2020-2022 Basecamp, LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,8 +9,8 @@ module ActionText
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
- TINY = 4
13
- PRE = "1"
12
+ TINY = 7
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)
@@ -15,6 +15,8 @@ module ActionText
15
15
  nil
16
16
  when self
17
17
  content.to_html
18
+ when ActionText::RichText
19
+ content.body.to_html
18
20
  else
19
21
  new(content).to_html
20
22
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "6.1.4-1",
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.4.1
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: 2021-08-19 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.4.1
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.4.1
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.4.1
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.4.1
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.4.1
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.4.1
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.4.1
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.4.1
70
+ version: 6.1.7.10
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: nokogiri
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -140,11 +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.4.1/actiontext/CHANGELOG.md
144
- documentation_uri: https://api.rubyonrails.org/v6.1.4.1/
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.4.1/actiontext
147
- post_install_message:
146
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.10/actiontext
147
+ rubygems_mfa_required: 'true'
148
+ post_install_message:
148
149
  rdoc_options: []
149
150
  require_paths:
150
151
  - lib
@@ -159,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
160
  - !ruby/object:Gem::Version
160
161
  version: '0'
161
162
  requirements: []
162
- rubygems_version: 3.2.15
163
- signing_key:
163
+ rubygems_version: 3.5.16
164
+ signing_key:
164
165
  specification_version: 4
165
166
  summary: Rich text framework.
166
167
  test_files: []