lib/timeframe.rb in timeframe-0.0.3 vs lib/timeframe.rb in timeframe-0.0.4
- old
+ new
@@ -9,11 +9,11 @@
active_support/json/encoding
}.each do |active_support_3_requirement|
require active_support_3_requirement
end if ActiveSupport::VERSION::MAJOR == 3
require 'andand'
+require 'to_json_fix'
require 'timeframe/ykk'
-require 'timeframe/date_to_json'
# Encapsulates a timeframe between two dates. The dates provided to the class are always until the last date. That means
# that the last date is excluded.
#
# # from 2007-10-01 00:00:00.000 to 2007-10-31 23:59:59.999