mirror of
https://github.com/jimeh/time_ext.git
synced 2026-02-19 05:16:40 +00:00
fixed some weird loading/require issues which seemed to be happening on rare occasions when used in a rails project
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
require 'rubygems'
|
||||
require 'active_support'
|
||||
|
||||
# support both Active Support 2.x and 3.x
|
||||
require 'active_support/time' if !Time.respond_to?(:days_in_month)
|
||||
|
||||
require 'time_ext/calculations'
|
||||
require 'time_ext/iterations'
|
||||
|
||||
Reference in New Issue
Block a user