actiontext 6.1.3.2 → 6.1.4.7
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 +42 -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 +14 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 193c945dd3bbb047e48a02bfb81ea8b629f89729686a22d2298d61e1ace7a926
|
|
4
|
+
data.tar.gz: 3a099ea7a70cfff0558afd9bdf0a07a766ffc39d68ec630769e37202a834a3bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 981a21d9e8b3be55f4d0dc5b45ef8371105009d7e471635e7395c64083a791cbd532d4d53cc87dda84003ca04ad39cfd1c754ea9e9dd92401f451fea4c877b53
|
|
7
|
+
data.tar.gz: 199e4c1231c88dfe87e4f9f9069a69c14e1c043bb91736b82f9021a34e9a11ed8111074aec270da1613d91f32e2aa58b1a622e11a2b554789fcf9f92b34def8d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
## Rails 6.1.4.7 (March 08, 2022) ##
|
|
2
|
+
|
|
3
|
+
* No changes.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Rails 6.1.4.6 (February 11, 2022) ##
|
|
7
|
+
|
|
8
|
+
* No changes.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Rails 6.1.4.5 (February 11, 2022) ##
|
|
12
|
+
|
|
13
|
+
* No changes.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Rails 6.1.4.4 (December 15, 2021) ##
|
|
17
|
+
|
|
18
|
+
* No changes.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## Rails 6.1.4.3 (December 14, 2021) ##
|
|
22
|
+
|
|
23
|
+
* No changes.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Rails 6.1.4.2 (December 14, 2021) ##
|
|
27
|
+
|
|
28
|
+
* No changes.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Rails 6.1.4.1 (August 19, 2021) ##
|
|
32
|
+
|
|
33
|
+
* No changes.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## Rails 6.1.4 (June 24, 2021) ##
|
|
37
|
+
|
|
38
|
+
* Always render attachment partials as HTML with `:html` format inside trix editor.
|
|
39
|
+
|
|
40
|
+
*James Brooks*
|
|
41
|
+
|
|
42
|
+
|
|
1
43
|
## Rails 6.1.3.2 (May 05, 2021) ##
|
|
2
44
|
|
|
3
45
|
* 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-7",
|
|
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,7 +1,7 @@
|
|
|
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.7
|
|
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:
|
|
13
|
+
date: 2022-03-08 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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
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.7
|
|
71
71
|
- !ruby/object:Gem::Dependency
|
|
72
72
|
name: nokogiri
|
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -140,10 +140,10 @@ 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.7/actiontext/CHANGELOG.md
|
|
144
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.4.7/
|
|
145
145
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
146
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.
|
|
146
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.4.7/actiontext
|
|
147
147
|
post_install_message:
|
|
148
148
|
rdoc_options: []
|
|
149
149
|
require_paths:
|
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
- !ruby/object:Gem::Version
|
|
160
160
|
version: '0'
|
|
161
161
|
requirements: []
|
|
162
|
-
rubygems_version: 3.1.
|
|
162
|
+
rubygems_version: 3.1.6
|
|
163
163
|
signing_key:
|
|
164
164
|
specification_version: 4
|
|
165
165
|
summary: Rich text framework.
|