actiontext 6.1.0.rc2 → 6.1.0
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 +1 -6
- data/lib/action_text/engine.rb +1 -1
- data/lib/action_text/gem_version.rb +1 -1
- data/lib/action_text/rendering.rb +2 -1
- data/package.json +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13cb19db119d85452be3f416ac6f493b594b7dcb9d0ced4e72fe941d789a4b04
|
4
|
+
data.tar.gz: b02ee0f4b74b060f27456f4c25b5dd89af8d6287d6eceee4bd56cfff4e7b5edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb185d6b1b5a206aeaaedf6d9352c24759ed1fddca04096744f084ef3e72380d604c95540c54a91861686cacb2afe7847dc4afe420e49f24be7911a5e9282011
|
7
|
+
data.tar.gz: daa433a40af5833f68644b5d4efa5afa134e2ce8497fc8ae69be30f95a7df29643e44f2fad5ec632cb22c5121be819a56f224f3c734ff96fcb00996342e01f43
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,4 @@
|
|
1
|
-
## Rails 6.1.0
|
2
|
-
|
3
|
-
* No changes.
|
4
|
-
|
5
|
-
|
6
|
-
## Rails 6.1.0.rc1 (November 02, 2020) ##
|
1
|
+
## Rails 6.1.0 (December 09, 2020) ##
|
7
2
|
|
8
3
|
* Declare `ActionText::FixtureSet.attachment` to generate an
|
9
4
|
`<action-text-attachment sgid="..."></action-text-attachment>` element with
|
data/lib/action_text/engine.rb
CHANGED
@@ -46,7 +46,7 @@ module ActionText
|
|
46
46
|
|
47
47
|
initializer "action_text.renderer" do
|
48
48
|
ActiveSupport.on_load(:action_text_content) do
|
49
|
-
self.
|
49
|
+
self.default_renderer = Class.new(ActionController::Base).renderer
|
50
50
|
end
|
51
51
|
|
52
52
|
%i[action_controller_base action_mailer].each do |abstract_controller|
|
@@ -8,6 +8,7 @@ module ActionText
|
|
8
8
|
extend ActiveSupport::Concern
|
9
9
|
|
10
10
|
included do
|
11
|
+
cattr_accessor :default_renderer, instance_accessor: false
|
11
12
|
thread_cattr_accessor :renderer, instance_accessor: false
|
12
13
|
delegate :render, to: :class
|
13
14
|
end
|
@@ -22,7 +23,7 @@ module ActionText
|
|
22
23
|
end
|
23
24
|
|
24
25
|
def render(*args, &block)
|
25
|
-
renderer.render_to_string(*args, &block)
|
26
|
+
(renderer || default_renderer).render_to_string(*args, &block)
|
26
27
|
end
|
27
28
|
end
|
28
29
|
end
|
data/package.json
CHANGED
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.0
|
4
|
+
version: 6.1.0
|
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: 2020-12-
|
13
|
+
date: 2020-12-09 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.0
|
21
|
+
version: 6.1.0
|
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.0
|
28
|
+
version: 6.1.0
|
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.0
|
35
|
+
version: 6.1.0
|
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.0
|
42
|
+
version: 6.1.0
|
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.0
|
49
|
+
version: 6.1.0
|
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.0
|
56
|
+
version: 6.1.0
|
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.0
|
63
|
+
version: 6.1.0
|
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.0
|
70
|
+
version: 6.1.0
|
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.0
|
144
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.0
|
143
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.0/actiontext/CHANGELOG.md
|
144
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.0/
|
145
145
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
146
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.0
|
146
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.0/actiontext
|
147
147
|
post_install_message:
|
148
148
|
rdoc_options: []
|
149
149
|
require_paths:
|
@@ -155,9 +155,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: 2.5.0
|
156
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- - "
|
158
|
+
- - ">="
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
160
|
+
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubygems_version: 3.1.4
|
163
163
|
signing_key:
|