Chris Anderson
b55a3ec0d3
fix regexp escaping issue in test fixture view
2009-12-20 11:07:53 -08:00
Julien Sanchez
1c43a8f3d3
Streamer fixes
...
* url must be quoted inside the curl command otherwise '&' between
params are interpreted by shells
* View url format updated
* Streamer yielded the last row returned by curl ("}]") as nil
* Specs
2009-10-18 01:59:30 +08:00
Matt Aimonetti
e878234bd6
fixed a failing spec
2009-08-24 17:36:33 -07:00
Peter Gumeson
1938270d65
Merge commit 'mattetti/master'
2009-08-12 16:48:13 -07:00
Matt Aimonetti
a17df45fc3
made all the specs run on 1.9.2, yay :)
2009-08-01 14:21:18 -07:00
Matt Aimonetti
5270fde0fa
added an option to force the deletion of a attachment
2009-07-29 20:12:35 -07:00
Matt Aimonetti
beb801d1bd
fixed the database attachment specs
2009-07-29 19:01:38 -07:00
Matt Aimonetti
9141669df1
extracted the rest API to its own module
2009-07-29 18:32:34 -07:00
Peter Gumeson
1e44302d1a
Merge commit 'mattetti/master'
2009-07-19 00:01:07 -07:00
Matt Aimonetti
9a167cc27d
fixed the specs
2009-07-14 23:48:06 -07:00
Peter Gumeson
fc18b47800
Merge commit 'mattetti/master'
2009-06-11 21:18:37 -07:00
Matt Aimonetti
c18567f8fc
differentiated attachment's URI and URL
2009-06-07 18:51:31 -07:00
Peter Gumeson
027dd9a3ee
A better fix for failing spec
2009-05-30 15:47:04 -07:00
Peter Gumeson
fb3c4530ed
Fixed a failing spec when using ruby 1.9
2009-05-30 14:53:55 -07:00
Matt Aimonetti
92b77a9649
fixed bulk_load/get_bulk and the specs
2009-05-13 20:44:57 -07:00
Chris Anderson
8363aa6298
added bulk_load macro
2009-05-08 19:00:39 -07:00
Brian Candler
190bd13723
Escape slash in database name
2009-03-27 10:26:54 -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
Chris Anderson
36c8bea453
all specs pass against couchdb trunk
2009-03-15 13:00:47 -07:00
Chris Anderson
f8e8686537
fixed db spec
2009-02-27 10:58:48 -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
08c7f2107c
moved stuff around and cleaned up some deprecation notices [save/save_doc]
2009-02-02 16:10:07 -08:00
Chris Anderson
55cf741859
fix rebase end balance
2009-02-02 14:56:37 -08:00
Matt Aimonetti
84e2bf94e4
slight change of API, CR::Document now uses <action>_doc instead of <action>, also added #create! and #recreate! to Document instances
2009-02-02 14:50:30 -08:00
Matt Lyon
b915f7f708
- Added Database#delete_attachment, for removing them directly
...
- Modified Database#fetch_attachment to take a doc as its first argument +as well as+ a docid, to be consistent with the other attachment methods.
- Refactored the attachment uri generation used by #fetch_attachment, #put_attachment, and #delete_attachment to a common private method, #uri_for_attachment
2009-02-02 01:25:14 -08:00
Matt Lyon
571cd257e0
database replication methods, no conflict resolution provided
2009-02-02 01:25:13 -08:00
Matt Lyon
0519fc5765
patch restclient locally instead of hoping/waiting for an upstream patch.
2009-01-16 11:31:42 -08:00
Antony Blakey
36945d5a13
Add bulk save deferal option to db.delete / doc.destroy, just like on save.
2009-01-09 20:29:08 +10:30
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
Matt Lyon
e15581b1dd
fix temp_view -> slow_view stuff for couchdb trunk
2009-01-04 23:00:59 -08:00
Chris Anderson
7aaffe5d63
change count to limit
2009-01-04 21:00:36 -08:00
Chris Anderson
c488aab338
Merge branch 'janl/master'
2008-12-31 15:16:32 -08:00
Nolan Darilek
d8d5645ebd
Make bulk saving more flexible.
...
* Database#save(doc, true) caches the doc in a database-specific bulk
cache.
* Database#save(doc, false), default, saves normally, bulk saving and
emptying the cache if one exists.
* The cache is automatically saved on Database#save if it excedes a
configurable limit, 50 by default.
* Database#bulk_save without arguments saves and clears the bulk save
cache.
2008-12-14 23:17:35 -06:00
Nolan Darilek
dd7f109878
Add support for database compaction.
2008-12-14 17:29:15 -06:00
Jan Lehnardt
7461e3fede
s/localhost/127.0.0.1/
2008-12-14 12:05:02 +01:00
Chris Anderson
19a70ffd7d
got view queries happening correctly
2008-11-21 16:21:20 -08:00
Chris Anderson
0769c2690f
on the road toward design docs
2008-11-08 16:28:58 -08:00
Chris Anderson
6851c7a2be
views accept blocks
2008-10-14 15:08:17 -07:00
Chris Anderson
254eb20161
view blocks flow
2008-10-14 01:07:48 -07:00
Chris Anderson
54a0afdf8e
added block yields to db.view
2008-10-13 16:46:48 -07:00
Chris Anderson
7a92723260
include-docs support
2008-10-08 12:32:22 -07:00
Chris Anderson
e2f7163816
multi-key support for views, temp-views, and alldocs
2008-10-08 12:19:28 -07:00
Chris Anderson
2b7e49c9c6
put attachments
2008-09-30 17:22:54 -07:00
Chris Anderson
902e1bed26
moved specs so the autotest filemapping works better
2008-09-30 16:21:28 -07:00