actiontext 6.1.3.1 → 6.1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/action_text/attachments/trix_conversion.rb +1 -1
- data/lib/action_text/engine.rb +4 -0
- data/lib/action_text/gem_version.rb +2 -2
- data/package.json +2 -2
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db668d21a0692ccae52356f40f02efb3687b4ccc7b3709bd98a5302e57571de4
|
4
|
+
data.tar.gz: 8f085d00c21f8a78e4479980921b7ab6f81c3c4a5869d30ead222e8ddc278634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6de11f56dae0b3d649921d3dbe3d5b50b1ad6037cd534191c3efe63a28c98fca84b4e31c816f603e8bd266dd22cb8e0f9adfe8971debe2f4a65de5d3b62e1623
|
7
|
+
data.tar.gz: a25d5bfd7f455a4ce0616ecd0989726e6acb67ec15cc457d84491225631ce24d0e72fe4160570c3ba5e980b7517e2e25891ff27b2a1166ad6026a3ceb40a305b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## Rails 6.1.4.2 (December 14, 2021) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 6.1.4.1 (August 19, 2021) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 6.1.4 (June 24, 2021) ##
|
12
|
+
|
13
|
+
* Always render attachment partials as HTML with `:html` format inside trix editor.
|
14
|
+
|
15
|
+
*James Brooks*
|
16
|
+
|
17
|
+
|
18
|
+
## Rails 6.1.3.2 (May 05, 2021) ##
|
19
|
+
|
20
|
+
* No changes.
|
21
|
+
|
22
|
+
|
1
23
|
## Rails 6.1.3.1 (March 26, 2021) ##
|
2
24
|
|
3
25
|
* No changes.
|
@@ -28,7 +28,7 @@ module ActionText
|
|
28
28
|
private
|
29
29
|
def trix_attachment_content
|
30
30
|
if partial_path = attachable.try(:to_trix_content_attachment_partial_path)
|
31
|
-
ActionText::Content.render(partial: partial_path, object: self, as: model_name.element)
|
31
|
+
ActionText::Content.render(partial: partial_path, formats: :html, object: self, as: model_name.element)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/lib/action_text/engine.rb
CHANGED
@@ -11,6 +11,10 @@ module ActionText
|
|
11
11
|
class Engine < Rails::Engine
|
12
12
|
isolate_namespace ActionText
|
13
13
|
config.eager_load_namespaces << ActionText
|
14
|
+
config.autoload_once_paths = %W(
|
15
|
+
#{root}/app/helpers
|
16
|
+
#{root}/app/models
|
17
|
+
)
|
14
18
|
|
15
19
|
initializer "action_text.attribute" do
|
16
20
|
ActiveSupport.on_load(:active_record) do
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rails/actiontext",
|
3
|
-
"version": "6.1.
|
3
|
+
"version": "6.1.4-2",
|
4
4
|
"description": "Edit and display rich text in Rails applications",
|
5
5
|
"main": "app/javascript/actiontext/index.js",
|
6
6
|
"files": [
|
@@ -21,7 +21,7 @@
|
|
21
21
|
],
|
22
22
|
"license": "MIT",
|
23
23
|
"dependencies": {
|
24
|
-
"@rails/activestorage": "^6.0.0
|
24
|
+
"@rails/activestorage": "^6.0.0"
|
25
25
|
},
|
26
26
|
"peerDependencies": {
|
27
27
|
"trix": "^1.2.0"
|
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
|
+
version: 6.1.4.2
|
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-
|
13
|
+
date: 2021-12-14 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.
|
21
|
+
version: 6.1.4.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: 6.1.
|
28
|
+
version: 6.1.4.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: 6.1.
|
35
|
+
version: 6.1.4.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: 6.1.
|
42
|
+
version: 6.1.4.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: 6.1.
|
49
|
+
version: 6.1.4.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: 6.1.
|
56
|
+
version: 6.1.4.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: 6.1.
|
63
|
+
version: 6.1.4.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: 6.1.
|
70
|
+
version: 6.1.4.2
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: nokogiri
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,11 +140,11 @@ 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.
|
144
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.
|
143
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.4.2/actiontext/CHANGELOG.md
|
144
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.4.2/
|
145
145
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
146
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.
|
147
|
-
post_install_message:
|
146
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.4.2/actiontext
|
147
|
+
post_install_message:
|
148
148
|
rdoc_options: []
|
149
149
|
require_paths:
|
150
150
|
- lib
|
@@ -159,8 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
|
-
rubygems_version: 3.
|
163
|
-
signing_key:
|
162
|
+
rubygems_version: 3.2.15
|
163
|
+
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: Rich text framework.
|
166
166
|
test_files: []
|