actiontext 8.0.2.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c99066a341c57750d646acd177745f2cf0e59f03ed98891b14a47671e7714080
4
- data.tar.gz: 8a127902582a90d917e23c3ebd2f1b3f4f77cbe6ab55af1845922107db146e7d
3
+ metadata.gz: 3b81c8405c83266d51dc6c55079aa626c20dda10a35553bfe079a2408d5b6693
4
+ data.tar.gz: d7a7e71c2fe3dfbda11d7460c0576c1d01e05eb5c67707de15aa7dfaa479890f
5
5
  SHA512:
6
- metadata.gz: 337f86dc72a77c3d4fed965effc6e9723f6f13e3cb3a60a4ca63721879d8568b17f688f232442592181cfc03c7b0f91cc45de1ff307ff238f4998a8c0c1777cf
7
- data.tar.gz: 6f51ce074bab575a55ae2d430a46319d86065395e9b46e53179182182680d0a46e75d2faad728f27d42f9be312d916118e828111742e6ded2b0a75165360c193
6
+ metadata.gz: 52b350b3484af8bdbb39cee82c410e2342773e1747c2554379ca9b838c333a95ee1c49c863faf5e2648544b92e9f1c162bd80f37a45434069fe5b0e8c894634d
7
+ data.tar.gz: b5aeb2c5cdde40c910b608de82a946c7af408351b57582ca441f704a5b8aac58832a71ab4de2cca2107a91745303d2edf811e229197cdd966a8479fb256d1f9d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 8.0.3 (September 22, 2025) ##
2
+
3
+ * Add rollup-plugin-terser as a dev dependency.
4
+
5
+ *Édouard Chin*
6
+
7
+
1
8
  ## Rails 8.0.2.1 (August 13, 2025) ##
2
9
 
3
10
  * No changes.
@@ -7,7 +14,6 @@
7
14
 
8
15
  * No changes.
9
16
 
10
-
11
17
  ## Rails 8.0.2 (March 12, 2025) ##
12
18
 
13
19
  * No changes.
@@ -55,7 +55,7 @@ module ActionView::Helpers
55
55
 
56
56
  def render
57
57
  options = @options.stringify_keys
58
- add_default_name_and_id(options)
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)
@@ -48,7 +48,7 @@ module ActionText
48
48
  ##
49
49
  # :method: embeds
50
50
  #
51
- # Returns the `ActiveStorage::Blob`s of the embedded files.
51
+ # Returns the ActiveStorage::Blob records of the embedded files.
52
52
  has_many_attached :embeds
53
53
 
54
54
  before_save do
@@ -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 +ActionText::Attachment+s from the HTML fragment:
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 +ActionText::Attachable+s from the HTML fragment:
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>)
@@ -11,8 +11,8 @@ module ActionText
11
11
  module VERSION
12
12
  MAJOR = 8
13
13
  MINOR = 0
14
- TINY = 2
15
- PRE = "1"
14
+ TINY = 3
15
+ PRE = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
18
18
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "8.0.201",
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.2.1
4
+ version: 8.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
@@ -17,56 +17,56 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 8.0.2.1
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.2.1
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.2.1
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.2.1
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.2.1
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.2.1
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.2.1
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.2.1
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.2.1/actiontext/CHANGELOG.md
166
- documentation_uri: https://api.rubyonrails.org/v8.0.2.1/
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.2.1/actiontext
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: