active_support.rb 2.1 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
#--
# 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.
#++

24
require 'active_support/vendor'
25
require 'active_support/basic_object'
26
require 'active_support/inflector'
27
require 'active_support/callbacks'
28

29
require 'active_support/core_ext'
30 31

require 'active_support/buffered_logger'
32
require 'active_support/backtrace_cleaner'
33

34 35 36
require 'active_support/gzip'
require 'active_support/cache'

37
require 'active_support/dependencies'
38
require 'active_support/deprecation'
39

40
require 'active_support/ordered_hash'
41
require 'active_support/ordered_options'
42
require 'active_support/option_merger'
43

44
require 'active_support/memoizable'
45
require 'active_support/string_inquirer'
46

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

50
require 'active_support/json'
51 52

require 'active_support/multibyte'
53

54
require 'active_support/base64'
55 56

require 'active_support/time_with_zone'
57

58 59
require 'active_support/rescuable'

60 61 62 63 64
module ActiveSupport
  autoload :MessageVerifier, 'active_support/message_verifier'
  autoload :SecureRandom, 'active_support/secure_random'
end

65
I18n.load_path << File.dirname(__FILE__) + '/active_support/locale/en.yml'