Commit graph

44 commits

Author SHA1 Message Date
Matt Aimonetti 621f5565e9 Started working on casted models, basic functionalities are now in.
property :casted_attribute, :cast_as => 'WithCastedModelMixin'

A casted attribute now knows about its parent. (#casted_by to retrieve the parent's object)
2009-02-09 11:20:23 -08:00
Matt Aimonetti e9930c5a86 extracted the response class to its own file 2009-02-05 16:56:48 -08:00
Matt Aimonetti d6665e55ca Started on the ExtendedDocument class with features moved to mixins.
Properties got added, they define getters, setters and aliases.
They will also be the base of the new validation system.
2009-01-29 18:45:01 -08:00
Matt Aimonetti 6b2e5f84ad Started the refactoring work on couchrest.
* A server can have multiple defined available databases set to be used by documents (think DM repos)
* A server can have a default database so documents can easily share the same db connection
* Let a document class have a default database to use
* Give access to a document uri
* extracted some of the document features to a mixin
2009-01-28 22:55:42 -08:00
Chris Anderson e9f7456eab change couchrest back to _temp_view, rev gem version 2009-01-27 15:11:10 -08:00
Chris Anderson 8f24d7d5a3 bulk_save has an option to have couch add the uuids 2009-01-23 23:25:24 -08:00
Chris Anderson 3e0594e534 drop couchdir binary 2009-01-19 16:13:03 -08:00
Chris Anderson a449ace490 dropped explicit extlib dependency 2009-01-19 16:07:35 -08:00
Chris Anderson cc5cf62cc4 rev the version so we can get a gem build 2009-01-13 13:23:01 -08:00
Chris Anderson b632b0fdf0 version 0.12.1 2009-01-12 21:33:12 -08:00
Joe Martinez 108ec0a28e Add proxy support 2009-01-12 20:16:22 -08:00
Matt Lyon 9faa9daaca support for couchdb's support for the COPY and MOVE verbs. depends on my commit to RestClient, currently only in b5d75acc68
I have considered adding this to the CouchRest::Document class as well ("@doc.copy new-id" and such) but haven't yet.
2009-01-05 00:44:12 -08:00
Jan Lehnardt 7461e3fede s/localhost/127.0.0.1/ 2008-12-14 12:05:02 +01:00
Chris Anderson 0769c2690f on the road toward design docs 2008-11-08 16:28:58 -08:00
Chris Anderson 04e818c154 added cr:view 2008-11-03 22:53:46 -08:00
Chris Anderson 0ce716518f factor out couchrest::document 2008-11-03 22:52:50 -08:00
Chris Anderson 4866018100 extlib only in model 2008-10-29 12:30:09 -07:00
Chris Anderson e2f7163816 multi-key support for views, temp-views, and alldocs 2008-10-08 12:19:28 -07:00
Chris Anderson b3b58ffa83 polished documentation 2008-09-29 23:39:57 -07:00
Chris Anderson f408dfceb6 compound-key views work 2008-09-29 17:27:41 -07:00
Chris Anderson ce3a3258bc created CouchRest::Model mixin 2008-09-29 09:55:40 -07:00
Chris Anderson ef3055c222 use url parser to parse database! urls 2008-09-28 16:03:15 -07:00
Chris Anderson 26d50c8ac1 added a url parser that CouchRest can use throughout (but is not yet using) 2008-09-13 21:07:21 -04:00
Chris Anderson 4089e79a7f Revert "cleanup commands"
This reverts commit 3df92619bb.
2008-09-11 22:47:01 -07:00
Chris Anderson 3df92619bb cleanup commands 2008-09-11 22:42:06 -07:00
Chris Anderson 49a36af2b0 fixed apache license 2008-09-11 21:39:48 -07:00
Chris Anderson 0f8baf85ba added apache license 2008-09-11 21:31:59 -07:00
Chris Anderson 711fdc1ca6 all specs pass with the new layout 2008-09-11 21:25:51 -07:00
Chris Anderson 211331f4a6 most specs passing with CouchRest module 2008-09-11 21:22:43 -07:00
Chris Anderson 7028f7f7b3 ganked load path from merb 2008-09-11 21:16:01 -07:00
Chris Anderson f5fdc8b913 made CouchRest a module 2008-09-11 21:14:34 -07:00
Chris Anderson ac07c15c28 move files around alot today 2008-09-11 21:09:24 -07:00
Chris Anderson e411207b79 more sweeping changes 2008-09-11 21:00:44 -07:00
Chris Anderson fa1ef4b4f9 slash and burn reorg 2008-09-11 20:53:38 -07:00
Chris Anderson a8eae5423d make Time.parse available 2008-09-10 16:19:28 -07:00
Chris Anderson a2a78dcf5f better json time format 2008-09-10 14:37:30 -07:00
Chris Anderson 9e7738fd74 added streamer class 2008-09-07 15:28:20 -07:00
Chris Anderson 88f83f0742 moved scripts to bin 2008-08-03 12:51:17 -07:00
Chris Anderson 9aeb34912e working on couchview 2008-08-03 11:34:09 -07:00
Chris Anderson 915905ca13 upgraded couchrest for 080 2008-07-04 16:56:09 -07:00
Chris Anderson 19e3e45c67 almost ready for gem version 0.8.0 2008-06-20 14:26:26 -07:00
Chris Anderson 8641d63533 working towards gem 2008-06-20 12:43:28 -07:00
Chris Anderson 32c01fadad working specy stuff i hope 2008-03-18 11:37:10 -07:00
Chris Anderson 2c42cf1ca5 first check in with one or two specs 2008-03-17 23:07:57 -07:00