actiontext 8.0.0.rc1 → 8.0.0

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: 6b8e0bf08fc3ee2fc3232ae60d94ba99fd2a74bf10256a882b2aa22949a74b1f
4
- data.tar.gz: 8408cf6c03443c952ea086c12efc4126d059c746ce95921e2c203af9a129aa33
3
+ metadata.gz: 99130a6c0dd964d088bf6772a9034c111e85fa29fd38f86cb8a085e810a74880
4
+ data.tar.gz: 02d1bc732f9f9b409680ca89971e05325a34ccab4c68145ed172aef1db840eb0
5
5
  SHA512:
6
- metadata.gz: 275f4aa614386fdb27f5addeeb62f2c200599434214364d5179e73c97dc23a97858a48a5031050e81da40dbb705c56575ecdcf8d2b88a5879bdaedcf5f85434d
7
- data.tar.gz: b23c2dec4fa69d970efc554a08c962745f051c7a645a4273c28ee38e476b2565f9815d5871b7fb058d6dc47c2ca3e258acdd7ae86896bce4678692341f7641fe
6
+ metadata.gz: e99e5e38c93136964bbead8793963911f88bdbf586d64eac9a875812b6bfa022504bc3a640c476802474ba662b3d32a09d3bd2c45e89d9bb0fd60b40e3ac8021
7
+ data.tar.gz: 7370a27e0a35138de0b6456d76e5e89b02eb129f7a1448f20536e1ec34b7a8164f8c34192deaeeaf19b91748d071e0dc0c85f72a235afd29d365115bae9a2944
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 8.0.0 (November 07, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 8.0.0.rc2 (October 30, 2024) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 8.0.0.rc1 (October 19, 2024) ##
2
12
 
3
13
  * No changes.
@@ -12,7 +12,7 @@ module ActionText
12
12
  MAJOR = 8
13
13
  MINOR = 0
14
14
  TINY = 0
15
- PRE = "rc1"
15
+ PRE = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
18
18
  end
@@ -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.sub(/\A(\s*)(.+?)(\s*)\Z/m, '\1“\2”\3')
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "8.0.0-rc1",
3
+ "version": "8.0.0",
4
4
  "description": "Edit and display rich text in Rails applications",
5
5
  "module": "app/assets/javascripts/actiontext.esm.js",
6
6
  "main": "app/assets/javascripts/actiontext.js",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actiontext
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.rc1
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-10-19 00:00:00.000000000 Z
13
+ date: 2024-11-07 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: 8.0.0.rc1
21
+ version: 8.0.0
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: 8.0.0.rc1
28
+ version: 8.0.0
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: 8.0.0.rc1
35
+ version: 8.0.0
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: 8.0.0.rc1
42
+ version: 8.0.0
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: 8.0.0.rc1
49
+ version: 8.0.0
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: 8.0.0.rc1
56
+ version: 8.0.0
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: 8.0.0.rc1
63
+ version: 8.0.0
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: 8.0.0.rc1
70
+ version: 8.0.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: nokogiri
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -163,10 +163,10 @@ 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/v8.0.0.rc1/actiontext/CHANGELOG.md
167
- documentation_uri: https://api.rubyonrails.org/v8.0.0.rc1/
166
+ changelog_uri: https://github.com/rails/rails/blob/v8.0.0/actiontext/CHANGELOG.md
167
+ documentation_uri: https://api.rubyonrails.org/v8.0.0/
168
168
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
169
- source_code_uri: https://github.com/rails/rails/tree/v8.0.0.rc1/actiontext
169
+ source_code_uri: https://github.com/rails/rails/tree/v8.0.0/actiontext
170
170
  rubygems_mfa_required: 'true'
171
171
  post_install_message:
172
172
  rdoc_options: []
@@ -183,7 +183,7 @@ 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.16
186
+ rubygems_version: 3.5.22
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Rich text framework.