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 changed files with 1 additions and 8 deletions
|
@ -1,11 +1,4 @@
|
|||
begin
|
||||
# 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 'time'
|
||||
require 'mime/types'
|
||||
require File.join(File.dirname(__FILE__), "property")
|
||||
require File.join(File.dirname(__FILE__), '..', 'mixins', 'extended_document_mixins')
|
||||
|
|
Loading…
Reference in a new issue