Remove deprecated `ActionView::Template#original_encoding`
This commit is contained in:
parent
d6575dc42e
commit
9d2a0c903d
|
@ -1,3 +1,7 @@
|
||||||
|
* Remove deprecated `ActionView::Template#original_encoding`.
|
||||||
|
|
||||||
|
*Rafael Mendonça França*
|
||||||
|
|
||||||
* Remove deprecated `ActionView::Template#variants`.
|
* Remove deprecated `ActionView::Template#variants`.
|
||||||
|
|
||||||
*Rafael Mendonça França*
|
*Rafael Mendonça França*
|
||||||
|
|
|
@ -114,7 +114,7 @@ module ActionView
|
||||||
|
|
||||||
extend Template::Handlers
|
extend Template::Handlers
|
||||||
|
|
||||||
attr_reader :identifier, :handler, :original_encoding
|
attr_reader :identifier, :handler
|
||||||
attr_reader :variable, :format, :variant, :locals, :virtual_path
|
attr_reader :variable, :format, :variant, :locals, :virtual_path
|
||||||
|
|
||||||
def initialize(source, identifier, handler, locals:, format: nil, variant: nil, virtual_path: nil)
|
def initialize(source, identifier, handler, locals:, format: nil, variant: nil, virtual_path: nil)
|
||||||
|
@ -136,7 +136,6 @@ module ActionView
|
||||||
@compile_mutex = Mutex.new
|
@compile_mutex = Mutex.new
|
||||||
end
|
end
|
||||||
|
|
||||||
deprecate :original_encoding
|
|
||||||
deprecate def refresh(_); self; end
|
deprecate def refresh(_); self; end
|
||||||
|
|
||||||
# Returns whether the underlying handler supports streaming. If so,
|
# Returns whether the underlying handler supports streaming. If so,
|
||||||
|
|
|
@ -55,6 +55,8 @@ Please refer to the [Changelog][action-pack] for detailed changes.
|
||||||
|
|
||||||
### Removals
|
### Removals
|
||||||
|
|
||||||
|
* Remove deprecated `ActionView::Template#original_encoding`.
|
||||||
|
|
||||||
* Remove deprecated `ActionView::Template#variants`.
|
* Remove deprecated `ActionView::Template#variants`.
|
||||||
|
|
||||||
* Remove deprecated `ActionView::Template#formats`.
|
* Remove deprecated `ActionView::Template#formats`.
|
||||||
|
|
Loading…
Reference in New Issue