Permalink
Browse files

Release 0.7.0

  • Loading branch information...
Lee Jarvis
Lee Jarvis committed Aug 1, 2012
1 parent b370284 commit cdf07ea7efc124b6e4f73b4f910f7c1e40d67d44
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/chronic.rb
View
@@ -27,7 +27,7 @@
# Chronic.parse('may 27th', :guess => false)
# #=> Sun May 27 00:00:00 PDT 2007..Mon May 28 00:00:00 PDT 2007
module Chronic
- VERSION = "0.6.7"
+ VERSION = "0.7.0"
class << self
@@ -63,7 +63,7 @@ class << self
self.debug = false
self.time_class = Time
-
+
autoload :Handler, 'chronic/handler'
autoload :Handlers, 'chronic/handlers'
autoload :MiniDate, 'chronic/mini_date'
@@ -79,7 +79,7 @@ class << self
autoload :TimeZone, 'chronic/time_zone'
autoload :Numerizer, 'chronic/numerizer'
autoload :Season, 'chronic/season'
-
+
autoload :Repeater, 'chronic/repeater'
autoload :RepeaterYear, 'chronic/repeaters/repeater_year'
autoload :RepeaterSeason, 'chronic/repeaters/repeater_season'
@@ -97,13 +97,13 @@ class << self
autoload :RepeaterMinute, 'chronic/repeaters/repeater_minute'
autoload :RepeaterSecond, 'chronic/repeaters/repeater_second'
autoload :RepeaterTime, 'chronic/repeaters/repeater_time'
-
+
end
require 'chronic/chronic'
class Time
-
+
def self.construct(year, month = 1, day = 1, hour = 0, minute = 0, second = 0)
warn "Time.construct will be deprecated in version 0.7.0. Please use Chronic.construct instead"
Chronic.construct(year, month, day, hour, minute, second)
@@ -113,5 +113,5 @@ def to_minidate
warn "Time.to_minidate will be deprecated in version 0.7.0. Please use Chronic::MiniDate.from_time(time) instead"
Chronic::MiniDate.from_time(self)
end
-
+
end

0 comments on commit cdf07ea

Please sign in to comment.