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:
parent
1517622d53
commit
de0476b083
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue