aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/analyzer
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-03-03 08:59:38 +0900
committerJeremy Daer <jeremydaer@gmail.com>2018-03-02 16:40:55 -0800
commitacbcec8ea869849f98213fea5e554bb3a82fea61 (patch)
tree4eda1100b0360ba544d9118c6700a1317df283c0 /activestorage/lib/active_storage/analyzer
parentb1a9cee83082d6c7a58d87d06055c86fcdbc7644 (diff)
downloadrails-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/active_storage/analyzer')
-rw-r--r--activestorage/lib/active_storage/analyzer/video_analyzer.rb2
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:
#