active_support.rb 2.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#--
# 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.
#++

$:.unshift(File.dirname(__FILE__))
25

26
require 'active_support/vendor'
27
require 'active_support/basic_object'
28
require 'active_support/inflector'
29
require 'active_support/callbacks'
30

31
require 'active_support/core_ext'
32

33
require 'active_support/clean_logger'
34 35
require 'active_support/buffered_logger'

36 37 38
require 'active_support/gzip'
require 'active_support/cache'

39
require 'active_support/dependencies'
40
require 'active_support/deprecation'
41

42
require 'active_support/ordered_hash'
43
require 'active_support/ordered_options'
44
require 'active_support/option_merger'
45

46
require 'active_support/string_inquirer'
47

48
require 'active_support/values/time_zone'
49
require 'active_support/duration'
50

51
require 'active_support/json'
52 53

require 'active_support/multibyte'
54

55
require 'active_support/base64'
56 57

require 'active_support/time_with_zone'
S
Sven Fuchs 已提交
58
require 'active_support/lang/en-US.rb'
59 60 61 62

Inflector = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Inflector', 'ActiveSupport::Inflector')
Dependencies = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Dependencies', 'ActiveSupport::Dependencies')
TimeZone = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('TimeZone', 'ActiveSupport::TimeZone')