Sam Hiatt
508e1eec96
Fixes bug where 'database exists' is reported when other couchdb errors are encountered.
2014-09-12 18:50:10 -07:00
Sam Hiatt
541539cd68
Added support for new-style (directory-based) couchapps.
2014-09-11 19:58:43 -07:00
Sam Hiatt
6a8ce0718d
Improved error checking for mkcouchdb and rmcouchdb tasks.
2014-09-11 19:30:58 -07:00
Max
cfe5021c54
Merge pull request #5 from jmarca/bug/declare_db
...
declare 'db' var in both functions
2013-10-16 18:18:42 -07:00
Max
7170cc0b43
Merge pull request #4 from jmarca/bug/duplicate_genDB
...
genDB was repeated. deleted the second one
2013-10-16 18:17:52 -07:00
James E. Marca
008e268c06
return null;
...
at the end of the two main functions, add "return null;" because
otherwise Emacs javascript parser whinges about not returning something
from a routine. I guess it is in the standard and all that.
apologies if this is noise, but that's why I'm making tiny commits...you
can ignore them.
2013-10-16 13:22:50 -07:00
James E. Marca
ec656e9c65
declare 'db' var in both functions
...
modified: tasks/couchapp.js
added 'db' to the var list in grunt.registerMultiTask("rmcouchdb",...)
and grunt.registerMultiTask("mkcouchdb",..).
Also, Emacs got rid of some white space. Sorry about that bit of
extraneous patching.
2013-10-16 13:17:10 -07:00
James E. Marca
179a876615
genDB was repeated. deleted the second one
2013-10-16 12:32:43 -07:00
Max Thayer
eb0e451e38
merged various branches; demo passes
2013-09-08 23:59:17 -04:00
Max Thayer
36abc1ad4e
merged rmcouchdb
2013-09-08 22:11:23 -04:00
Max Thayer
705827192d
merged npm
2013-09-08 22:06:59 -04:00
Max Thayer
dc1763de2a
Merge branch 'files'
...
Conflicts:
tasks/couchapp.js
2013-09-08 22:05:44 -04:00
Max Thayer
b957e5a1c1
more helpful error message
2013-09-06 10:11:07 -04:00
Max Thayer
a41ae8efac
rmcouchdb doesn't drop everything if dbname is absent; mkcouchdb reports helpful error message if dbname is absent
2013-09-06 10:11:07 -04:00
Max Thayer
820eb50878
removed auth lib
2013-09-06 09:47:30 -04:00
Max Thayer
535902a71a
well, i clearly did something
2013-09-06 09:47:30 -04:00
Max Thayer
8bd3f97cc0
fixed typo
2013-09-06 09:47:29 -04:00
Max Thayer
14fca52c64
typo
2013-09-06 09:47:29 -04:00
Russell Branca
4fe15a7769
Add in support for basic auth and add genDB helper
2013-09-06 09:47:29 -04:00
Max Thayer
5bda4b82c7
removed auth lib
2013-08-21 23:58:19 -04:00
Max Thayer
afffe75a73
well, i clearly did something
2013-08-21 23:54:41 -04:00
Max Thayer
d4025db1e0
fixed typo
2013-08-21 23:53:34 -04:00
Max Thayer
4189d8e888
typo
2013-08-21 23:52:50 -04:00
Russell Branca
3e68f28192
Add in support for basic auth and add genDB helper
2013-08-21 23:51:53 -04:00
skiqh
af73a33070
cleanup and error catching
2013-07-03 19:27:18 +02:00
skiqh
81f490a1f5
use grunt's dynamic filenames.
2013-07-03 18:44:49 +02:00
Simon Metson
840b93e7d2
Add okay_if_exists option to mkcouchdb
2012-10-30 19:17:55 +00:00
Ken Elf Mathieu Sternberg
dc8a82b42d
Initial check-in.
2012-08-09 18:34:00 -07:00