ExtendedDocument: don't require Extlib. Explicitly require Ruby stdlib time (which provides Time.parse), which was required by Extlib::Logger.

This commit is contained in:
Geoff Buesing 2009-03-18 13:40:07 -05:00 committed by Matt Aimonetti
parent 1517622d53
commit de0476b083

View file

@ -1,11 +1,4 @@
begin require 'time'
# still required for Time parsing and pluralization in the validation
require 'extlib'
rescue
puts "CouchRest::ExtendedDocument still requires extlib (not for much longer). This is left out of the gemspec on purpose."
raise
end
require 'mime/types' require 'mime/types'
require File.join(File.dirname(__FILE__), "property") require File.join(File.dirname(__FILE__), "property")
require File.join(File.dirname(__FILE__), '..', 'mixins', 'extended_document_mixins') require File.join(File.dirname(__FILE__), '..', 'mixins', 'extended_document_mixins')