Comparing version 1.3.3 to 1.3.4
@@ -648,3 +648,3 @@ /* minimal couch in node | ||
db = path_array[0]; | ||
cfg.url = u.format({protocol:path.protocol,host:path.host}); | ||
cfg.url = u.format({protocol:path.protocol,host: auth + 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.3" | ||
, "version" : "1.3.4" | ||
, "author" : "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
@@ -8,0 +8,0 @@ , "contributors" : |
@@ -52,2 +52,5 @@ var ensure = require('ensure') | ||
tests.url4 = function (callback) { callback(null,nano('http://a:b@someurl.com:5984/a')); }; | ||
tests.url4_ok = function (_,n) { this.t.equal(n.config.url, "http://a:b@someurl.com:5984"); }; | ||
tests.url_db = function (callback) { nano(cfg.url + "/adb").info(callback); }; | ||
@@ -54,0 +57,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
119622
2696