actiontext 6.1.3.2 → 6.1.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actiontext might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -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 +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28ae4d5f8c506c96e94a85709f00525a284c1cd0b78c7b88c6f1391d15cf8e21
|
4
|
+
data.tar.gz: 615c11792e31c3612f6d48766f98d8850f269a31b7ce4822892c1be8b3de23e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a5b1531484046244c182185cf576d71966f3f779d0fbb600d291daa7ec063f172da4bc9c72386178aa4e5acda97885d777cf02ad45d7a55e0a3ba58cfb19ce
|
7
|
+
data.tar.gz: c9942e95f7ce00b664119ae6270b935b8a831fff16770ef8aaee1ff4102d56fc16d73a91f3aa3a3b97b15dcc8a724d9dd863dae12c3c539013abd653ccbacd0e
|
data/CHANGELOG.md
CHANGED
@@ -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",
|
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
|
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-06-24 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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/actiontext/CHANGELOG.md
|
144
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.4/
|
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/actiontext
|
147
|
+
post_install_message:
|
148
148
|
rdoc_options: []
|
149
149
|
require_paths:
|
150
150
|
- lib
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubygems_version: 3.1.2
|
163
|
-
signing_key:
|
163
|
+
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: Rich text framework.
|
166
166
|
test_files: []
|