actiontext 7.1.0 → 7.1.2
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 +24 -0
- data/app/assets/javascripts/actiontext.esm.js +889 -0
- data/app/assets/javascripts/actiontext.js +797 -830
- data/app/assets/javascripts/trix.js +11278 -12254
- data/lib/action_text/engine.rb +1 -1
- data/lib/action_text/gem_version.rb +1 -1
- data/lib/generators/action_text/install/install_generator.rb +1 -1
- data/package.json +3 -4
- metadata +14 -13
data/lib/action_text/engine.rb
CHANGED
|
@@ -32,7 +32,7 @@ module ActionText
|
|
|
32
32
|
|
|
33
33
|
initializer "action_text.asset" do
|
|
34
34
|
if Rails.application.config.respond_to?(:assets)
|
|
35
|
-
Rails.application.config.assets.precompile += %w( actiontext.js trix.js trix.css )
|
|
35
|
+
Rails.application.config.assets.precompile += %w( actiontext.js actiontext.esm.js trix.js trix.css )
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -29,7 +29,7 @@ module ActionText
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
if (importmap_path = destination.join("config/importmap.rb")).exist?
|
|
32
|
-
append_to_file importmap_path.to_s, %(pin "trix"\npin "@rails/actiontext", to: "actiontext.js"\n)
|
|
32
|
+
append_to_file importmap_path.to_s, %(pin "trix"\npin "@rails/actiontext", to: "actiontext.esm.js"\n)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
data/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rails/actiontext",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.2",
|
|
4
4
|
"description": "Edit and display rich text in Rails applications",
|
|
5
|
+
"module": "app/assets/javascripts/actiontext.esm.js",
|
|
5
6
|
"main": "app/assets/javascripts/actiontext.js",
|
|
6
|
-
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"app/assets/javascripts/*.js"
|
|
9
9
|
],
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@rails/activestorage": ">= 7.1.0-alpha"
|
|
26
|
-
"webpack": "^4.17.1"
|
|
25
|
+
"@rails/activestorage": ">= 7.1.0-alpha"
|
|
27
26
|
},
|
|
28
27
|
"peerDependencies": {
|
|
29
28
|
"trix": "^2.0.0"
|
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: 7.1.
|
|
4
|
+
version: 7.1.2
|
|
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: 2023-10
|
|
13
|
+
date: 2023-11-10 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.1.
|
|
21
|
+
version: 7.1.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.1.
|
|
28
|
+
version: 7.1.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.1.
|
|
35
|
+
version: 7.1.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.1.
|
|
42
|
+
version: 7.1.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.1.
|
|
49
|
+
version: 7.1.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.1.
|
|
56
|
+
version: 7.1.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.1.
|
|
63
|
+
version: 7.1.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.1.
|
|
70
|
+
version: 7.1.2
|
|
71
71
|
- !ruby/object:Gem::Dependency
|
|
72
72
|
name: nokogiri
|
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -108,6 +108,7 @@ files:
|
|
|
108
108
|
- CHANGELOG.md
|
|
109
109
|
- MIT-LICENSE
|
|
110
110
|
- README.md
|
|
111
|
+
- app/assets/javascripts/actiontext.esm.js
|
|
111
112
|
- app/assets/javascripts/actiontext.js
|
|
112
113
|
- app/assets/javascripts/trix.js
|
|
113
114
|
- app/assets/stylesheets/trix.css
|
|
@@ -162,10 +163,10 @@ licenses:
|
|
|
162
163
|
- MIT
|
|
163
164
|
metadata:
|
|
164
165
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
165
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
|
166
|
-
documentation_uri: https://api.rubyonrails.org/v7.1.
|
|
166
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.2/actiontext/CHANGELOG.md
|
|
167
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.2/
|
|
167
168
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
168
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.1.
|
|
169
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.2/actiontext
|
|
169
170
|
rubygems_mfa_required: 'true'
|
|
170
171
|
post_install_message:
|
|
171
172
|
rdoc_options: []
|