~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/activesupport/lib/active_support.rb

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#--
 
2
# Copyright (c) 2005 David Heinemeier Hansson
 
3
#
 
4
# Permission is hereby granted, free of charge, to any person obtaining
 
5
# a copy of this software and associated documentation files (the
 
6
# "Software"), to deal in the Software without restriction, including
 
7
# without limitation the rights to use, copy, modify, merge, publish,
 
8
# distribute, sublicense, and/or sell copies of the Software, and to
 
9
# permit persons to whom the Software is furnished to do so, subject to
 
10
# the following conditions:
 
11
#
 
12
# The above copyright notice and this permission notice shall be
 
13
# included in all copies or substantial portions of the Software.
 
14
#
 
15
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
16
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
17
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
18
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 
19
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 
20
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 
21
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
22
#++
 
23
 
 
24
module ActiveSupport
 
25
  def self.load_all!
 
26
    [Dependencies, Deprecation, Gzip, MessageVerifier, Multibyte, SecureRandom, TimeWithZone]
 
27
  end
 
28
 
 
29
  autoload :BacktraceCleaner, 'active_support/backtrace_cleaner'
 
30
  autoload :Base64, 'active_support/base64'
 
31
  autoload :BasicObject, 'active_support/basic_object'
 
32
  autoload :BufferedLogger, 'active_support/buffered_logger'
 
33
  autoload :Cache, 'active_support/cache'
 
34
  autoload :Callbacks, 'active_support/callbacks'
 
35
  autoload :Deprecation, 'active_support/deprecation'
 
36
  autoload :Duration, 'active_support/duration'
 
37
  autoload :Gzip, 'active_support/gzip'
 
38
  autoload :Inflector, 'active_support/inflector'
 
39
  autoload :Memoizable, 'active_support/memoizable'
 
40
  autoload :MessageEncryptor, 'active_support/message_encryptor'
 
41
  autoload :MessageVerifier, 'active_support/message_verifier'
 
42
  autoload :Multibyte, 'active_support/multibyte'
 
43
  autoload :OptionMerger, 'active_support/option_merger'
 
44
  autoload :OrderedHash, 'active_support/ordered_hash'
 
45
  autoload :OrderedOptions, 'active_support/ordered_options'
 
46
  autoload :Rescuable, 'active_support/rescuable'
 
47
  autoload :SecureRandom, 'active_support/secure_random'
 
48
  autoload :StringInquirer, 'active_support/string_inquirer'
 
49
  autoload :TimeWithZone, 'active_support/time_with_zone'
 
50
  autoload :TimeZone, 'active_support/values/time_zone'
 
51
  autoload :XmlMini, 'active_support/xml_mini'
 
52
end
 
53
 
 
54
require 'active_support/vendor'
 
55
require 'active_support/core_ext'
 
56
require 'active_support/dependencies'
 
57
require 'active_support/json'
 
58
 
 
59
I18n.load_path << "#{File.dirname(__FILE__)}/active_support/locale/en.yml"