Matt Aimonetti
115cb6a7ee
fixed the subclassing of ExtendedDocument classes
2009-03-19 18:53:17 -07:00
Geoff Buesing
d9417f3915
Extract humanize method from Extlib::Inflection to CouchRest.humanize, so that Extlib::Inflection dependency can be removed
2009-03-19 16:37:45 -07:00
Matt Aimonetti
ef8933432a
Merge branch 'master' of git://github.com/jchris/couchrest
...
* 'master' of git://github.com/jchris/couchrest:
Remove CouchRest.move, CouchRest::Database#move and #move_doc, because these methods are no longer supported by CouchDB
2009-03-19 16:35:31 -07:00
Geoff Buesing
4d8314124b
Remove CouchRest.move, CouchRest::Database#move and #move_doc, because these methods are no longer supported by CouchDB
...
Ref: http://n2.nabble.com/Removing-MOVE-td2490780.html#a2490780
2009-03-18 11:22:49 -05:00
Matt Aimonetti
aad6b8383d
merged jchris/master
2009-03-16 14:57:29 -07:00
Chris Anderson
76ef427862
rev gem to version 0.17.0
2009-03-15 13:01:39 -07:00
Chris Anderson
917157a0e7
rev version and new gemspec
2009-03-14 19:03:17 -07:00
Chris Anderson
8964a9b282
created upgrade helper
2009-03-14 18:42:34 -07:00
Matt Aimonetti
d2c461e7f0
bumped the version # since this version is only compatible with latest couchdb trunk
2009-03-11 15:15:08 -07:00
Matt Aimonetti
bfff491202
bumped the version number
2009-03-06 16:31:07 -08:00
Matt Aimonetti
5607936540
updated the callback system using Yehuda's latest version and bumped the release to make the latest fixes available
2009-03-05 23:52:48 -08:00
Matt Aimonetti
98fb1d728d
bumped to 0.2 now that I rebased with master
2009-03-02 22:40:29 -08:00
Matt Aimonetti
7455152f63
fixed a typo in the previous commit
2009-03-02 22:36:57 -08:00
Matt Aimonetti
d383c5a7d4
fixed a typo added when I added more debugging info to the request processing
2009-03-02 21:26:18 -08:00
Matt Aimonetti
b1999ac8b7
Merge branch 'casted-extendeddocument'
...
* casted-extendeddocument:
fixed a bug where :include_docs on a view couldn't be overwritten
spec'd casted extended document
2009-03-02 21:22:15 -08:00
Matt Aimonetti
55ecda2c90
spec'd casted extended document
2009-03-02 21:15:02 -08:00
Matt Aimonetti
4bfb69b3ce
added a debugging statement on PUT failures
2009-02-26 19:53:01 -08:00
Matt Aimonetti
bb93a5bb1f
added rescue message to GET request
2009-02-26 18:44:39 -08:00
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