From c31c40208b16ee446ed69464792b5976e0ae8566 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 27 Mar 2015 16:19:45 +0900 Subject: Missing require 'active_support/deprecation' --- activesupport/lib/active_support/callbacks.rb | 1 + activesupport/lib/active_support/core_ext/module/aliasing.rb | 2 ++ activesupport/lib/active_support/core_ext/module/deprecation.rb | 2 ++ 3 files changed, 5 insertions(+) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 37f9494272..08520b1077 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -5,6 +5,7 @@ require 'active_support/core_ext/class/attribute' require 'active_support/core_ext/kernel/reporting' require 'active_support/core_ext/kernel/singleton_class' require 'active_support/core_ext/string/filters' +require 'active_support/deprecation' require 'thread' module ActiveSupport diff --git a/activesupport/lib/active_support/core_ext/module/aliasing.rb b/activesupport/lib/active_support/core_ext/module/aliasing.rb index 25e138264e..dcc1cd5ba9 100644 --- a/activesupport/lib/active_support/core_ext/module/aliasing.rb +++ b/activesupport/lib/active_support/core_ext/module/aliasing.rb @@ -1,3 +1,5 @@ +require 'active_support/deprecation' + class Module # Encapsulates the common pattern of: # diff --git a/activesupport/lib/active_support/core_ext/module/deprecation.rb b/activesupport/lib/active_support/core_ext/module/deprecation.rb index 56d670fbe8..5134b5ad41 100644 --- a/activesupport/lib/active_support/core_ext/module/deprecation.rb +++ b/activesupport/lib/active_support/core_ext/module/deprecation.rb @@ -1,3 +1,5 @@ +require 'active_support/deprecation' + class Module # deprecate :foo # deprecate bar: 'message' -- cgit v1.2.3