Commit graph

17 commits

Author SHA1 Message Date
John Wood 3066458eed Provide a description of the timeout error 2010-03-15 19:16:40 -05:00
Matt Aimonetti b2a29d9eb7 started extracting the http layer 2009-07-14 01:43:40 -07:00
Seth Falcon 3e2b3ece46 Timeout::TimeoutError does not exist, use Timeout::Error instead
Also added a require for 'timeout' that contains this code.  Easy to get
confused as there is an alias TimeoutError:

irb(main):001:0> require 'timeout'
=> true
irb(main):002:0> TimeoutError
=> Timeout::Error
irb(main):003:0> Timeout::Error
=> Timeout::Error
irb(main):004:0> Timeout::TimeoutError
NameError: uninitialized constant Timeout::TimeoutError
        from (irb):4
2009-07-08 09:32:43 -07:00
Matt Aimonetti e48a6c8866 fixed all the specs so we are back to green 2009-05-26 18:27:49 -07:00
Brian Candler af6ac7df89 Remove obsolete 'move' methods 2009-03-27 11:50:42 +00:00
Geoff Buesing 1517622d53 Time#to_json monkeypatch: use Time#getutc instead of #utc, so that self is not modified 2009-03-19 16:38:20 -07:00
Matthew Ford d95b9de50d Fix net/http monkey patch, to prevent conflicts with other libraries.
Using the patch included in http://redmine.ruby-lang.org/issues/show/806
2009-03-05 21:19:13 -08:00
Chris Anderson 70d594ff5c dcnstrct says Timeout::Error is the constant we probably mean 2009-02-27 12:27:52 -08:00
Matt Aimonetti 3a57ed1414 fixed a bug with the RestClient optimization, added more callbacks on the ExtendedDocument and added support for casted arrays of objects. 2009-02-12 20:28:07 -08:00
Matt Aimonetti 890b60cae4 added autovalidation (auto_validate! in your ExtendedDocument) and extracted some extlib stuff so we will soon be able to remove the dependency. 2009-02-05 17:06:12 -08:00
Matt Aimonetti a5f17cb13f added some monkey patches to improve the http connection speed. (by keeping the http connection open) 2009-01-28 18:37:45 -08:00
Matt Lyon 0519fc5765 patch restclient locally instead of hoping/waiting for an upstream patch. 2009-01-16 11:31:42 -08:00
Chris Anderson a4144af72d fixup json time format 2009-01-13 20:08:58 -08:00
Sho Fukamachi 313aae3e3d modified Time#to_json monkeypatch to include microseconds 2008-11-30 12:36:24 +11:00
Chris Anderson b3b58ffa83 polished documentation 2008-09-29 23:39:57 -07:00
Chris Anderson a6f852943e force all JSON dates to be in UTC 2008-09-26 14:31:29 -07:00
Chris Anderson 26de4acc5a moge thng aournd 2008-09-11 21:09:39 -07:00