diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-03-03 08:59:38 +0900 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2018-03-02 16:40:55 -0800 |
commit | acbcec8ea869849f98213fea5e554bb3a82fea61 (patch) | |
tree | 4eda1100b0360ba544d9118c6700a1317df283c0 /activestorage/lib | |
parent | b1a9cee83082d6c7a58d87d06055c86fcdbc7644 (diff) | |
download | rails-acbcec8ea869849f98213fea5e554bb3a82fea61.tar.gz rails-acbcec8ea869849f98213fea5e554bb3a82fea61.tar.bz2 rails-acbcec8ea869849f98213fea5e554bb3a82fea61.zip |
Deprecate `active_support/core_ext/hash/compact`
Ruby 2.4+ provides `Hash#compact` and `Hash#compact!` natively,
so `active_support/core_ext/hash/compact` is no longer necessary.
Diffstat (limited to 'activestorage/lib')
-rw-r--r-- | activestorage/lib/active_storage/analyzer/video_analyzer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activestorage/lib/active_storage/analyzer/video_analyzer.rb b/activestorage/lib/active_storage/analyzer/video_analyzer.rb index 656e362187..e31bdb0edb 100644 --- a/activestorage/lib/active_storage/analyzer/video_analyzer.rb +++ b/activestorage/lib/active_storage/analyzer/video_analyzer.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require "active_support/core_ext/hash/compact" - module ActiveStorage # Extracts the following from a video blob: # |