actiontext 8.0.2 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/app/helpers/action_text/tag_helper.rb +1 -1
- data/app/models/action_text/rich_text.rb +1 -1
- data/lib/action_text/content.rb +2 -2
- data/lib/action_text/gem_version.rb +1 -1
- data/package.json +2 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b81c8405c83266d51dc6c55079aa626c20dda10a35553bfe079a2408d5b6693
|
4
|
+
data.tar.gz: d7a7e71c2fe3dfbda11d7460c0576c1d01e05eb5c67707de15aa7dfaa479890f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52b350b3484af8bdbb39cee82c410e2342773e1747c2554379ca9b838c333a95ee1c49c863faf5e2648544b92e9f1c162bd80f37a45434069fe5b0e8c894634d
|
7
|
+
data.tar.gz: b5aeb2c5cdde40c910b608de82a946c7af408351b57582ca441f704a5b8aac58832a71ab4de2cca2107a91745303d2edf811e229197cdd966a8479fb256d1f9d
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,19 @@
|
|
1
|
-
## Rails 8.0.
|
1
|
+
## Rails 8.0.3 (September 22, 2025) ##
|
2
|
+
|
3
|
+
* Add rollup-plugin-terser as a dev dependency.
|
4
|
+
|
5
|
+
*Édouard Chin*
|
6
|
+
|
7
|
+
|
8
|
+
## Rails 8.0.2.1 (August 13, 2025) ##
|
2
9
|
|
3
10
|
* No changes.
|
4
11
|
|
5
12
|
|
13
|
+
## Rails 8.0.2 (March 12, 2025) ##
|
14
|
+
|
15
|
+
* No changes.
|
16
|
+
|
6
17
|
## Rails 8.0.2 (March 12, 2025) ##
|
7
18
|
|
8
19
|
* No changes.
|
@@ -55,7 +55,7 @@ module ActionView::Helpers
|
|
55
55
|
|
56
56
|
def render
|
57
57
|
options = @options.stringify_keys
|
58
|
-
|
58
|
+
add_default_name_and_field(options)
|
59
59
|
options["input"] ||= dom_id(object, [options["id"], :trix_input].compact.join("_")) if object
|
60
60
|
html_tag = @template_object.rich_textarea_tag(options.delete("name"), options.fetch("value") { value }, options.except("value"))
|
61
61
|
error_wrapping(html_tag)
|
data/lib/action_text/content.rb
CHANGED
@@ -56,7 +56,7 @@ module ActionText
|
|
56
56
|
@links ||= fragment.find_all("a[href]").map { |a| a["href"] }.uniq
|
57
57
|
end
|
58
58
|
|
59
|
-
# Extracts
|
59
|
+
# Extracts ActionText::Attachment objects from the HTML fragment:
|
60
60
|
#
|
61
61
|
# attachable = ActiveStorage::Blob.first
|
62
62
|
# html = %Q(<action-text-attachment sgid="#{attachable.attachable_sgid}" caption="Captioned"></action-text-attachment>)
|
@@ -78,7 +78,7 @@ module ActionText
|
|
78
78
|
@gallery_attachments ||= attachment_galleries.flat_map(&:attachments)
|
79
79
|
end
|
80
80
|
|
81
|
-
# Extracts
|
81
|
+
# Extracts ActionText::Attachable objects from the HTML fragment:
|
82
82
|
#
|
83
83
|
# attachable = ActiveStorage::Blob.first
|
84
84
|
# html = %Q(<action-text-attachment sgid="#{attachable.attachable_sgid}" caption="Captioned"></action-text-attachment>)
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rails/actiontext",
|
3
|
-
"version": "8.0.
|
3
|
+
"version": "8.0.300",
|
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",
|
@@ -31,6 +31,7 @@
|
|
31
31
|
"@rollup/plugin-commonjs": "^19.0.1",
|
32
32
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
33
33
|
"rollup": "^2.35.1",
|
34
|
+
"rollup-plugin-terser": "^7.0.2",
|
34
35
|
"trix": "^2.0.0"
|
35
36
|
},
|
36
37
|
"scripts": {
|
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.
|
4
|
+
version: 8.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javan Makhmali
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
- David Heinemeier Hansson
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -17,56 +17,56 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 8.0.
|
20
|
+
version: 8.0.3
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 8.0.
|
27
|
+
version: 8.0.3
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: activerecord
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 8.0.
|
34
|
+
version: 8.0.3
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 8.0.
|
41
|
+
version: 8.0.3
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: activestorage
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 8.0.
|
48
|
+
version: 8.0.3
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 8.0.
|
55
|
+
version: 8.0.3
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: actionpack
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 8.0.
|
62
|
+
version: 8.0.3
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 8.0.
|
69
|
+
version: 8.0.3
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: nokogiri
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,10 +162,10 @@ licenses:
|
|
162
162
|
- MIT
|
163
163
|
metadata:
|
164
164
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
165
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.0.
|
166
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.
|
165
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.3/actiontext/CHANGELOG.md
|
166
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.3/
|
167
167
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
168
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.
|
168
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.3/actiontext
|
169
169
|
rubygems_mfa_required: 'true'
|
170
170
|
rdoc_options: []
|
171
171
|
require_paths:
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.6.
|
184
|
+
rubygems_version: 3.6.9
|
185
185
|
specification_version: 4
|
186
186
|
summary: Rich text framework.
|
187
187
|
test_files: []
|