2005-02-15 11:21:56 -05:00
|
|
|
#--
|
|
|
|
# Copyright (c) 2005 David Heinemeier Hansson
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#++
|
|
|
|
|
2008-11-23 19:11:32 -05:00
|
|
|
module ActiveSupport
|
2008-11-24 12:35:21 -05:00
|
|
|
def self.load_all!
|
2008-11-24 12:52:29 -05:00
|
|
|
[Dependencies, Deprecation, Gzip, MessageVerifier, Multibyte, SecureRandom, TimeWithZone]
|
2008-11-24 12:35:21 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
autoload :BacktraceCleaner, 'active_support/backtrace_cleaner'
|
|
|
|
autoload :Base64, 'active_support/base64'
|
|
|
|
autoload :BasicObject, 'active_support/basic_object'
|
|
|
|
autoload :BufferedLogger, 'active_support/buffered_logger'
|
|
|
|
autoload :Cache, 'active_support/cache'
|
|
|
|
autoload :Callbacks, 'active_support/callbacks'
|
|
|
|
autoload :Dependencies, 'active_support/dependencies'
|
|
|
|
autoload :Deprecation, 'active_support/deprecation'
|
2008-11-23 19:11:32 -05:00
|
|
|
autoload :Duration, 'active_support/duration'
|
|
|
|
autoload :Gzip, 'active_support/gzip'
|
2008-11-24 12:35:21 -05:00
|
|
|
autoload :Inflector, 'active_support/inflector'
|
|
|
|
autoload :Memoizable, 'active_support/memoizable'
|
2008-11-23 19:11:32 -05:00
|
|
|
autoload :MessageVerifier, 'active_support/message_verifier'
|
2008-11-24 12:35:21 -05:00
|
|
|
autoload :Multibyte, 'active_support/multibyte'
|
2008-11-23 19:11:32 -05:00
|
|
|
autoload :OptionMerger, 'active_support/option_merger'
|
|
|
|
autoload :OrderedHash, 'active_support/ordered_hash'
|
|
|
|
autoload :OrderedOptions, 'active_support/ordered_options'
|
2008-11-24 12:35:21 -05:00
|
|
|
autoload :Rescuable, 'active_support/rescuable'
|
2008-11-23 19:11:32 -05:00
|
|
|
autoload :SecureRandom, 'active_support/secure_random'
|
|
|
|
autoload :StringInquirer, 'active_support/string_inquirer'
|
|
|
|
autoload :TimeWithZone, 'active_support/time_with_zone'
|
|
|
|
autoload :TimeZone, 'active_support/values/time_zone'
|
|
|
|
end
|
|
|
|
|
2007-10-10 19:01:41 -04:00
|
|
|
require 'active_support/vendor'
|
2005-02-15 11:21:56 -05:00
|
|
|
require 'active_support/core_ext'
|
2008-11-24 16:08:25 -05:00
|
|
|
require 'active_support/json'
|
2007-09-24 23:47:37 -04:00
|
|
|
|
2008-11-23 19:11:32 -05:00
|
|
|
I18n.load_path << "#{File.dirname(__FILE__)}/active_support/locale/en.yml"
|