2004-11-23 20:04:44 -05:00
|
|
|
#--
|
2010-01-31 18:10:53 -05:00
|
|
|
# Copyright (c) 2004-2010 David Heinemeier Hansson
|
2004-11-23 20:04:44 -05:00
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
# a copy of this software and associated documentation files (the
|
|
|
|
# "Software"), to deal in the Software without restriction, including
|
|
|
|
# without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
# distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
# permit persons to whom the Software is furnished to do so, subject to
|
|
|
|
# the following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice shall be
|
|
|
|
# included in all copies or substantial portions of the Software.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
|
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
#++
|
|
|
|
|
2009-12-16 12:56:51 -05:00
|
|
|
actionpack_path = File.expand_path('../../../actionpack/lib', __FILE__)
|
|
|
|
$:.unshift(actionpack_path) if File.directory?(actionpack_path) && !$:.include?(actionpack_path)
|
|
|
|
|
2010-01-29 10:16:01 -05:00
|
|
|
require 'abstract_controller'
|
2008-11-25 01:41:24 -05:00
|
|
|
require 'action_view'
|
|
|
|
|
2010-01-29 10:16:01 -05:00
|
|
|
# Common ActiveSupport usage in ActionMailer
|
|
|
|
require 'active_support/core_ext/class'
|
|
|
|
require 'active_support/core_ext/object/blank'
|
|
|
|
require 'active_support/core_ext/array/uniq_by'
|
|
|
|
require 'active_support/core_ext/module/attr_internal'
|
|
|
|
require 'active_support/core_ext/module/delegation'
|
|
|
|
require 'active_support/core_ext/string/inflections'
|
2010-03-07 09:24:30 -05:00
|
|
|
require 'active_support/lazy_load_hooks'
|
2010-01-29 10:16:01 -05:00
|
|
|
|
2008-11-23 13:27:25 -05:00
|
|
|
module ActionMailer
|
2009-12-02 23:01:01 -05:00
|
|
|
extend ::ActiveSupport::Autoload
|
|
|
|
|
|
|
|
autoload :AdvAttrAccessor
|
2010-01-23 05:37:34 -05:00
|
|
|
autoload :Collector
|
2009-12-02 23:01:01 -05:00
|
|
|
autoload :Base
|
2010-01-19 09:34:58 -05:00
|
|
|
autoload :DeliveryMethods
|
2010-01-20 06:25:09 -05:00
|
|
|
autoload :DeprecatedApi
|
2009-12-16 20:23:08 -05:00
|
|
|
autoload :MailHelper
|
2010-01-24 11:49:44 -05:00
|
|
|
autoload :OldApi
|
2009-12-02 23:01:01 -05:00
|
|
|
autoload :Quoting
|
2009-12-27 06:09:20 -05:00
|
|
|
autoload :TestCase
|
2009-12-02 23:01:01 -05:00
|
|
|
autoload :TestHelper
|
2008-11-23 13:27:25 -05:00
|
|
|
end
|
2004-11-23 20:04:44 -05:00
|
|
|
|
2008-11-23 13:27:25 -05:00
|
|
|
module Text
|
2009-12-02 23:01:01 -05:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
2010-01-27 20:08:14 -05:00
|
|
|
autoload :Format, 'text/format'
|
2008-11-23 13:27:25 -05:00
|
|
|
end
|