Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "echoecho", | ||
"description": "Simple testing echo responses to HTTP requests", | ||
"author": "Dav Glass <davglass@gmail.com>", | ||
"version": "0.1.7", | ||
"devDependencies": { | ||
"vows": "*", | ||
"yui-lint": "~0.1.1", | ||
"jshint": "~0.9.0", | ||
"istanbul": "~0.1.8" | ||
}, | ||
"scripts": { | ||
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/*.js", | ||
"test": "istanbul cover --print both -- vows --spec ./tests/*.js" | ||
}, | ||
"main": "./lib/echo.js", | ||
"keywords": [ | ||
"echo", "http", "testing", "responses" | ||
], | ||
"bugs": { "url" : "http://github.com/davglass/echoecho/issues" }, | ||
"licenses":[ | ||
{ | ||
"type" : "BSD", | ||
"url" : "https://github.com/davglass/echoecho/blob/master/LICENSE" | ||
} | ||
], | ||
"repository": { | ||
"type":"git", | ||
"url":"http://github.com/davglass/echoecho.git" | ||
"name": "echoecho", | ||
"description": "Simple testing echo responses to HTTP requests", | ||
"author": "Dav Glass <davglass@gmail.com>", | ||
"version": "0.1.8", | ||
"devDependencies": { | ||
"vows": "*", | ||
"yui-lint": "~0.1.1", | ||
"jshint": "~0.9.0", | ||
"istanbul": "~0.2.7" | ||
}, | ||
"scripts": { | ||
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/*.js", | ||
"test": "istanbul cover --print both -- vows --spec ./tests/*.js" | ||
}, | ||
"main": "./lib/echo.js", | ||
"keywords": [ | ||
"echo", | ||
"http", | ||
"testing", | ||
"responses" | ||
], | ||
"bugs": { | ||
"url": "http://github.com/davglass/echoecho/issues" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "BSD", | ||
"url": "https://github.com/davglass/echoecho/blob/master/LICENSE" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/davglass/echoecho.git" | ||
} | ||
} |
@@ -106,3 +106,3 @@ EchoEcho | ||
var ee = new require('echoecho').EchoEcho({ | ||
all: true; | ||
all: true | ||
}); | ||
@@ -109,0 +109,0 @@ |
@@ -32,4 +32,2 @@ var vows = require('vows'), | ||
var baseURL = 'http://' + ip + ':' + port + '/'; | ||
var fetch = function(o, callback) { | ||
@@ -440,3 +438,2 @@ var err = null, | ||
}, function(err, data) { | ||
var q = parse(url); | ||
data.expected = JSON.stringify(qs.parse(body)); | ||
@@ -473,3 +470,2 @@ self.callback(err, data); | ||
}, function(err, data) { | ||
var q = parse(url); | ||
data.expected = JSON.stringify(qs.parse(body)); | ||
@@ -591,3 +587,2 @@ self.callback(err, data); | ||
}, function(err, data) { | ||
var q = parse(url); | ||
var payload = qs.parse(body); | ||
@@ -608,4 +603,3 @@ var callback = payload.callback; | ||
topic: function() { | ||
var self = this, | ||
body = 'foo=bar&baz=world&do=not', | ||
var body = 'foo=bar&baz=world&do=not', | ||
url = '/foo/bar/baz/echo/jsonp-express?' + body; | ||
@@ -769,3 +763,3 @@ | ||
}, | ||
"should have a new scheme": function(topic) { | ||
"should have a new scheme": function() { | ||
assert.notEqual(this.count, Object.keys(echoecho.scheme)); | ||
@@ -772,0 +766,0 @@ assert.equal(this.count.length + 1, Object.keys(echoecho.scheme).length); |
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
49122
1184