This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> grunt build | |
Running "jshint:files" (jshint) task | |
>> 17 files lint free. | |
Running "shell:test" (shell) task | |
module.js:340 | |
throw err; | |
^ | |
Error: Cannot find module '/Users/jan/Work/hoodie/hoodie.js/node_modules/karma/bin/karma' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> grunt build | |
Running "jshint:files" (jshint) task | |
Linting src/core/account.js...ERROR | |
[L370:C59] W098: 'options' is defined but never used. | |
Account.prototype.request = function(type, path, options) { | |
Linting src/core/account.js...ERROR | |
[L370:C50] W098: 'path' is defined but never used. | |
Account.prototype.request = function(type, path, options) { | |
Linting src/core/account.js...ERROR | |
[L370:C44] W098: 'type' is defined but never used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Heh | |
Anyway | |
Obviously it's not a huge deal | |
It just makes me sad | |
I like Node | |
And I can write Node | |
I just don't use it for anything | |
I like JS | |
And I can write JS | |
I just prefer CoffeeScript for day to day use |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.travis.yml b/.travis.yml | |
index cba959a..6de0db2 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -23,6 +23,7 @@ before_install: | |
- export PATH=$PATH:`pwd`/bin | |
- cd - | |
- npm install -g hoodie-cli | |
+ - npm install | |
before_script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dev/run b/dev/run | |
index 147bead..303dc7f 100755 | |
--- a/dev/run | |
+++ b/dev/run | |
@@ -393,7 +393,10 @@ def cluster_setup(ctx): | |
if enable_cluster(lead_port, *ctx['admin']): | |
for num in range(1, ctx['N']): | |
node_port, _ = get_ports(num + 1) | |
- enable_cluster(node_port, *ctx['admin']) | |
+ enabled = enable_cluster(node_port, *ctx['admin']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Sat, 15 Jun 2013 18:12:10 GMT] [info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:53333/ | |
[Sat, 15 Jun 2013 18:12:10 GMT] [error] [<0.47.0>] ** Generic server couch_server terminating | |
** Last message in was {'EXIT',<0.122.0>,shutdown} | |
** When Server state == {server,"/Users/jan/usr/src/couchdb/tmp/lib", | |
{re_pattern,0,0, | |
<<69,82,67,80,124,0,0,0,16,0,0,0,1,0,0,0,0,0, | |
0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0, | |
0,0,0,0,0,0,0,0,0,93,0,72,25,77,0,0,0,0,0,0, | |
0,0,0,0,0,0,254,255,255,7,0,0,0,0,0,0,0,0,0, | |
0,0,0,0,0,0,0,77,0,0,0,0,16,171,255,3,0,0,0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creds2'[{<<"_id">>,<<"org.couchdb.user:joe">>}, | |
{<<"_rev">>,<<"1-2d4cf40fb7d8d56487220573c49c5c45">>}, | |
{<<"name">>,<<"joe">>}, | |
{<<"type">>,<<"user">>}, | |
{<<"salt">>,<<"SALT">>}, | |
{<<"password_sha">>,<<"b4f565a25982fe2b00a5f399cc54a4678b029ef7">>}, | |
{<<"roles">>,[]}]' | |
# | |
Creds3'nil' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Sat, 15 Jun 2013 16:59:47 GMT] [info] [<0.153.0>] refresh_entries: 2 to 0 | |
[Sat, 15 Jun 2013 16:59:47 GMT] [info] [<0.153.0>] 2: did not refresh <<"joe">> | |
[Sat, 15 Jun 2013 16:59:48 GMT] [info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:51282/ | |
[Sat, 15 Jun 2013 16:59:48 GMT] [info] [<0.55.0>] refresh_entries: 2 to 1 | |
[Sat, 15 Jun 2013 16:59:48 GMT] [info] [<0.55.0>] 2: did not refresh <<"joe">> | |
[Sat, 15 Jun 2013 16:59:48 GMT] [info] [<0.55.0>] refresh_entries: 3 to 2 | |
[Sat, 15 Jun 2013 16:59:48 GMT] [info] [<0.55.0>] 3: did refresh <<"joe">> | |
[Sat, 15 Jun 2013 16:59:48 GMT] [info] [<0.47.0>] pid: <0.122.0>, db: <<"couch_test_auth_db">> | |
[Sat, 15 Jun 2013 16:59:48 GMT] [error] [<0.47.0>] ** Generic server couch_server terminating | |
** Last message in was {'EXIT',<0.122.0>,shutdown} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Sat, 15 Jun 2013 16:32:57 GMT] [info] [<0.150.0>] refresh_entries: 2 to 0 | |
[Sat, 15 Jun 2013 16:32:57 GMT] [info] [<0.150.0>] 2: did not refresh <<"joe">> | |
[Sat, 15 Jun 2013 16:32:59 GMT] [info] [<0.2.0>] Apache CouchDB has started on http://127.0.0.1:51008/ | |
[Sat, 15 Jun 2013 16:32:59 GMT] [info] [<0.55.0>] refresh_entries: 2 to 1 | |
[Sat, 15 Jun 2013 16:32:59 GMT] [info] [<0.55.0>] 2: did not refresh <<"joe">> | |
[Sat, 15 Jun 2013 16:32:59 GMT] [info] [<0.55.0>] refresh_entries: 3 to 2 | |
[Sat, 15 Jun 2013 16:32:59 GMT] [info] [<0.55.0>] 3: did refresh <<"joe">> | |
[Sat, 15 Jun 2013 16:32:59 GMT] [error] [<0.47.0>] ** Generic server couch_server terminating | |
** Last message in was {'EXIT',<0.122.0>,shutdown} | |
** When Server state == {server,"/Users/jan/usr/src/couchdb/tmp/lib", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var proxy = require("http-proxy"); | |
function proxy_couchdb(req, res, proxy) { | |
var random_port = Math.random() >= 0.5 ? | |
4444 : 5555; | |
console.log("Proxy to %d", random_port); | |
proxy.proxyRequest(req, res, { | |
host: '127.0.0.1', |