Remove deprecated `ActiveSupport::Notifications::Instrumenter#end=`

This commit is contained in:
Rafael Mendonça França 2020-10-29 16:33:37 +00:00
parent 6cbc7842f0
commit a7faef6869
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
3 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,7 @@
* Remove deprecated `ActiveSupport::Notifications::Instrumenter#end=`.
*Rafael Mendonça França*
* Deprecate `ActiveSupport::Multibyte::Unicode.default_normalization_form`.
*Rafael Mendonça França*

View File

@ -82,11 +82,6 @@ module ActiveSupport
@allocation_count_finish = now_allocations
end
def end=(ending)
ActiveSupport::Deprecation.deprecation_warning(:end=, :finish!)
@end = ending
end
# Returns the CPU time (in milliseconds) passed since the call to
# +start!+ and the call to +finish!+
def cpu_time

View File

@ -312,6 +312,8 @@ Please refer to the [Changelog][active-support] for detailed changes.
`ActiveSupport::Multibyte::Unicode.downcase`,
`ActiveSupport::Multibyte::Unicode.upcase` and `ActiveSupport::Multibyte::Unicode.swapcase`.
* Remove deprecated `ActiveSupport::Notifications::Instrumenter#end=`.
### Deprecations
* Deprecate `ActiveSupport::Multibyte::Unicode.default_normalization_form`.