Commit graph

53 commits

Author SHA1 Message Date
Matt Aimonetti 80317f31a5 fixed the uuid count for the latest version of couchdb
also avoided CONSTANTS warnings, cleaned up the attachment specs, added missing fixtures
2009-02-25 00:22:11 -08:00
Matt Aimonetti fe489f2d38 removed CouchRest::Model, added more specs and fixed a bug with casted CR::ExtendedDocument 2009-02-24 22:51:13 -08:00
Matt Aimonetti 72542dc876 fixed a bug with validation 2009-02-20 18:32:01 -08:00
Matt Aimonetti 2f8caa8740 added a new validator 2009-02-20 15:34:49 -08:00
Matt Aimonetti be469b2a86 bumped release to 0.14 after implementing the new features in a real life app.
* added extended attachments
* fixed a bug with default values
2009-02-17 17:59:31 -08:00
Matt Aimonetti c4cce18389 added database.bulk_delete as an alias for #bulk_save, added support for Model.by_view_name in ExtendedDoc and bumped the version to 0.13.3 2009-02-17 00:36:11 -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 b79bb9a912 getting GH to build my gem, :emo:test #2 2009-02-10 18:06:25 -08:00
Matt Aimonetti e000c8b68c bumped release to 0.13 2009-02-10 16:20:33 -08:00
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