CouchObject 0.5

CouchObject is a set of libraries to talk to CouchDb (
http://www.couchdbwiki.com)

= Overview:

CouchObject includes both a set of client libraries for talking to
CouchDb,
creating/updating/delete/reading documents and and CouchDb view query
client
for querying CouchDb in Ruby instead of Javascript:

pp db.filter{ |doc| return doc if doc[“foo”] =~ /qux/ }
[{“_rev”=>189832163,
“_id”=>“96193CD461168BD024B64EA367C1E0BF”,
“value”=>
{“_id”=>“96193CD461168BD024B64EA367C1E0BF”,
“_rev”=>189832163,
“foo”=>“qux”}}]

Read more about that in this blog posting of mine:
http://theexciter.com/articles/couchdb-views-in-ruby-instead-of-javascriptand
more examples in the README:
http://couchobject.rubyforge.org/rdoc/

= Installing/downloading/source:

$ sudo gem install couchobject
http://rubyforge.org/projects/couchobject/
$ git clone git://repo.or.cz/couchobject.git

= History:

== 0.5.0 2007-09-15

  • 2 major enhancements:

    • Database.filter{|doc| } for filtering the on doc, in Ruby!
    • couch_ruby_view_requestor, a JsServer client for CouchDb allowing
      you to
      query in Ruby
  • 1 minor enhancement:

    • Added Database#store(document), the parallel of
      Document#save(database)

== 0.0.1 2007-09-13

  • 1 major enhancement:
    • Initial release

Cheers,
Johan