Permalink
Browse files

Clean up 'active_support/time' requires

Rely on the hub files for Time, Date and DateTime classes and
add the requires for String#to_time and String#in_time_zone.
  • Loading branch information...
pixeltrix committed Dec 11, 2012
1 parent 2d3b1da commit f0a9e2f8520240dea3c23c4b971fb45d1c83eeaa
Showing with 6 additions and 15 deletions.
  1. +6 −15 activesupport/lib/active_support/time.rb
@@ -9,21 +9,12 @@ module ActiveSupport
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/time'
+require 'active_support/core_ext/date'
+require 'active_support/core_ext/date_time'
require 'active_support/core_ext/integer/time'
require 'active_support/core_ext/numeric/time'
+
+require 'active_support/core_ext/string/conversions'
+require 'active_support/core_ext/string/zones'

0 comments on commit f0a9e2f

Please sign in to comment.