Skip to content

Commit

Permalink
Merge pull request #4790 from marten/fix-require-deprecation-in-activ…
Browse files Browse the repository at this point in the history
…esupport

Fix Deprecation usage in ActiveSupport when requiring only parts of AS
  • Loading branch information
José Valim committed Jan 31, 2012
2 parents 175cdd1 + 2380a2d commit 7beb5a7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activesupport/lib/active_support/base64.rb
@@ -1,3 +1,5 @@
require 'active_support/deprecation'

begin
require 'base64'
rescue LoadError
Expand Down
2 changes: 2 additions & 0 deletions activesupport/lib/active_support/concern.rb
@@ -1,3 +1,5 @@
require 'active_support/deprecation'

module ActiveSupport
# A typical module looks like this:
#
Expand Down
1 change: 1 addition & 0 deletions activesupport/lib/active_support/message_verifier.rb
@@ -1,4 +1,5 @@
require 'active_support/base64'
require 'active_support/deprecation'
require 'active_support/core_ext/object/blank'

module ActiveSupport
Expand Down
2 changes: 2 additions & 0 deletions activesupport/lib/active_support/whiny_nil.rb
@@ -1,3 +1,5 @@
require 'active_support/deprecation'

# Extensions to +nil+ which allow for more helpful error messages for people who
# are new to Rails.
#
Expand Down

0 comments on commit 7beb5a7

Please sign in to comment.