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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93b59f79fb4fb1e135ad83b314ca17bc98b61139249550a1c119c5bedc80d7bb
4
- data.tar.gz: 9802ceea985bdba5ae96dd797cf811d70cce54cc28c85e8684b8da55a0290ace
3
+ metadata.gz: 28ae4d5f8c506c96e94a85709f00525a284c1cd0b78c7b88c6f1391d15cf8e21
4
+ data.tar.gz: 615c11792e31c3612f6d48766f98d8850f269a31b7ce4822892c1be8b3de23e0
5
5
  SHA512:
6
- metadata.gz: ee02c9b9aae79cd8d3076c2d6099c0225170d718d369866c58755b7b8bc3782c8e5015aee8c35a5400f4f5e915cdf2fb68a3bbf0f056de1511de7a06010883c3
7
- data.tar.gz: c8765220e49d85e73eae09be07f00ff66c4bc56230812a26a3f256d3ec537a5d80934f3790dfaa2badb122dac0b56e23f373236ccceb606bcaca72fc9f8c9a33
6
+ metadata.gz: 77a5b1531484046244c182185cf576d71966f3f779d0fbb600d291daa7ec063f172da4bc9c72386178aa4e5acda97885d777cf02ad45d7a55e0a3ba58cfb19ce
7
+ data.tar.gz: c9942e95f7ce00b664119ae6270b935b8a831fff16770ef8aaee1ff4102d56fc16d73a91f3aa3a3b97b15dcc8a724d9dd863dae12c3c539013abd653ccbacd0e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 6.1.4 (June 24, 2021) ##
2
+
3
+ * Always render attachment partials as HTML with `:html` format inside trix editor.
4
+
5
+ *James Brooks*
6
+
7
+
1
8
  ## Rails 6.1.3.2 (May 05, 2021) ##
2
9
 
3
10
  * 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
@@ -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
@@ -9,8 +9,8 @@ module ActionText
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
- TINY = 3
13
- PRE = "2"
12
+ TINY = 4
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "6.1.3-2",
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-alpha"
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.3.2
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-05-05 00:00:00.000000000 Z
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.3.2
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.3.2
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.3.2
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.3.2
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.3.2
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.3.2
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.3.2
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.3.2
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.3.2/actiontext/CHANGELOG.md
144
- documentation_uri: https://api.rubyonrails.org/v6.1.3.2/
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.3.2/actiontext
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: []