- removed several unneeded devDeps - removed old get_spec.js script - the client's ping method will now send back true as the body when the ping succceeds, and false when it does not. When the ping fails, the error will still be sent back and the connection's status will still be set to "dead". - All of the client's methods now have a spec property, which will provide the JSON spec used to run that method. - The yaml test runner will only camelCase param names that are documented, uses the client's method's new spec property - Trace log events will now have their proper original query string parameters - The "tracer" logger will now write to elasticsearch-tracer.log by default, and will truncate the file if it already exists. - When running the integration tests, the client will now use a tracer logger which writes to stderr. The default level is "warning", but with the VERBOSE environment var it becomes "trace" and the logger will write to it's default file - Added .idea to the .gitignore, it was being published to NPM - Cleanup of the grunt tasks. Consilidated several tiny files into seperate moderately sized ones.
25 lines
443 B
JavaScript
25 lines
443 B
JavaScript
module.exports = {
|
|
generate: {
|
|
exec: 'node scripts/generate'
|
|
},
|
|
browser_unit_tests: {
|
|
exec: 'node scripts/run_tests --unit --no-server',
|
|
options: {
|
|
cwd: '.',
|
|
passArgs: [
|
|
'port',
|
|
'host'
|
|
]
|
|
}
|
|
},
|
|
browser_integration_tests: {
|
|
exec: 'node scripts/run_tests --integration --no-server',
|
|
options: {
|
|
cwd: '.',
|
|
passArgs: [
|
|
'port',
|
|
'host'
|
|
]
|
|
}
|
|
}
|
|
}; |