README.txt in eee-c-couch_design_docs-1.0.1 vs README.txt in eee-c-couch_design_docs-1.0.2
- old
+ new
@@ -6,24 +6,33 @@
Manage CouchDB views.
== FEATURES/PROBLEMS:
-* Not acutally working just yet :)
+* Allows you to store your CouchDB design documents on the file system
+ with <tt>.js</tt> extensions.
== SYNOPSIS:
- CouchDesignDocs.load(COUCHDB_VIEW_DIRECTORY)
+ DB_URL = "http://localhost:5984/db"
+ DIRECTORY = "/repos/db/coudb/_design"
+ # /repos/db/coudb/_design/lucene/transform.js
+
+ CouchDesignDocs.upload_dir(DB_URL, DIRECTORY)
+
+ # => lucene design document with a "transform" function containing
+ # the contents of transform.js
+
== REQUIREMENTS:
* CouchDB
* JSON
* RestClient
== INSTALL:
-* sudo gem install couch_view
+* sudo gem install couch_design_docs
== LICENSE:
(The MIT License)