Comparing version 1.3.2 to 1.3.3
@@ -6,2 +6,3 @@ // Simple event+strategy-based logging for NanoCouch | ||
// snippet by Marak Squires. | ||
// MIT Licenced, Nodejitsu | ||
function randomString(len, charSet) { | ||
@@ -8,0 +9,0 @@ charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; |
@@ -648,3 +648,3 @@ /* minimal couch in node | ||
db = path_array[0]; | ||
cfg.url = path.protocol + '//' + auth + path.hostname; // reset url | ||
cfg.url = u.format({protocol:path.protocol,host:path.host}); | ||
return document_module(db); | ||
@@ -651,0 +651,0 @@ } |
@@ -5,3 +5,3 @@ { "name" : "nano" | ||
, "repository" : "git://github.com/dscape/nano" | ||
, "version" : "1.3.2" | ||
, "version" : "1.3.3" | ||
, "author" : "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
@@ -18,2 +18,3 @@ , "contributors" : | ||
, "InTheFiveByFive" | ||
, "Stéphane Alnet <stephane@shimaore.net> (http://blog.shimaore.net)" | ||
] | ||
@@ -20,0 +21,0 @@ , "keywords" : |
@@ -49,2 +49,5 @@ var ensure = require('ensure') | ||
tests.url3 = function (callback) { callback(null,nano('http://someurl.com:5984/a')); }; | ||
tests.url3_ok = function (_,n) { this.t.equal(n.config.url, "http://someurl.com:5984"); }; | ||
tests.url_db = function (callback) { nano(cfg.url + "/adb").info(callback); }; | ||
@@ -51,0 +54,0 @@ tests.url_db_ok = function (e,b) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119426
2694