mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
0f8f99b989
This is no longer used and actually raises an error when trying to load `ActiveSupport::Dependencies`. I removed the related code and added the `Dependencies` module to the autoload list.
29 lines
1,000 B
Ruby
29 lines
1,000 B
Ruby
require 'active_support'
|
|
|
|
module ActiveSupport
|
|
autoload :Duration, 'active_support/duration'
|
|
autoload :TimeWithZone, 'active_support/time_with_zone'
|
|
autoload :TimeZone, 'active_support/values/time_zone'
|
|
end
|
|
|
|
require 'date'
|
|
require 'time'
|
|
|
|
require 'active_support/core_ext/time/marshal'
|
|
require 'active_support/core_ext/time/acts_like'
|
|
require 'active_support/core_ext/time/calculations'
|
|
require 'active_support/core_ext/time/conversions'
|
|
require 'active_support/core_ext/time/zones'
|
|
|
|
require 'active_support/core_ext/date/acts_like'
|
|
require 'active_support/core_ext/date/calculations'
|
|
require 'active_support/core_ext/date/conversions'
|
|
require 'active_support/core_ext/date/zones'
|
|
|
|
require 'active_support/core_ext/date_time/acts_like'
|
|
require 'active_support/core_ext/date_time/calculations'
|
|
require 'active_support/core_ext/date_time/conversions'
|
|
require 'active_support/core_ext/date_time/zones'
|
|
|
|
require 'active_support/core_ext/integer/time'
|
|
require 'active_support/core_ext/numeric/time'
|