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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 170b37eecc63c07e11e450f1905a54f1cea5be73c5ed688d69143b92dd5c74d8
4
- data.tar.gz: b0aaa9a0dd60f1db0a4f92edc6276749cfdb6ca6ab16772c40beb93e99b4a12e
3
+ metadata.gz: db668d21a0692ccae52356f40f02efb3687b4ccc7b3709bd98a5302e57571de4
4
+ data.tar.gz: 8f085d00c21f8a78e4479980921b7ab6f81c3c4a5869d30ead222e8ddc278634
5
5
  SHA512:
6
- metadata.gz: 7fce2fa66cf6f5e337c6539bc20df6c9ca02afb03019db55c1fb2679b84a29931c08493f051c7a40fce5ab73a05b3cbb27288a3f078b2b16358e4a1523871c1a
7
- data.tar.gz: a670b1c3b8883911bd2def6f9aef0a32c75217414abfa0b501de668d3a085b485ceaac79d24d8e89b558891db529935015cda55fa6265d27cdccda3df32f1956
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
@@ -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 = "1"
12
+ TINY = 4
13
+ PRE = "2"
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-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-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.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-03-26 00:00:00.000000000 Z
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.3.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.3.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.3.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.3.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.3.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.3.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.3.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.3.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.3.1/actiontext/CHANGELOG.md
144
- documentation_uri: https://api.rubyonrails.org/v6.1.3.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.3.1/actiontext
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.1.2
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: []