Douglas Eichelberger
3b927075a4
simplify boolean assignment
...
The requestMetric function is only called once, and it just does a
simple boolean equality check. It would be cleaner to just inline the
check.
2015-03-06 19:39:47 -08:00
Douglas Eichelberger
2b26c0ec16
rm dead code
...
resolves #464
2015-03-06 19:15:07 -08:00
Douglas Eichelberger
13751dfd4b
rm unnecessary return statements
...
flagged by webstorm: "return is unnecessary as the last statement in a
function with no return value"
2015-03-01 12:20:47 -08:00
Douglas Eichelberger
bccc5e1598
ignore npm-debug.log
2015-03-01 12:20:47 -08:00
Douglas Eichelberger
99a6978dfd
fix undefined err
2015-03-01 12:20:47 -08:00
Douglas Eichelberger
f7f08fa7d1
fix alignment issues in entries.js
2015-03-01 12:20:46 -08:00
Douglas Eichelberger
b946f86f96
prettify example.json
2015-03-01 12:20:46 -08:00
Douglas Eichelberger
81a174e006
clean up api.entries.test.js
2015-03-01 12:20:46 -08:00
Douglas Eichelberger
d7d917b03b
create all docs before calling back
...
Resolves #423 . Also changes the callback signature, invoking it with the
error and docs, rather than the error, totalCreated, and docs. The third
paramter isn't used, and the second parameter should be an array. (Since
totalCreated was 0 on callback, it was falsy and replaced with an empty
array when used in format_entries.)
2015-03-01 12:11:53 -08:00
Douglas Eichelberger
64ad3f7c9a
fix environmental variable example
...
The values of environmental variables should not be in quotes. This
change also adds MONGO_COLLECTION to the example.
2015-02-24 21:26:20 -08:00
Douglas Eichelberger
ecdabe815d
overhaul Makefile and .travis.yml
...
add tests for node v0.12
move coveralls to after_script (prevents coveralls from failing travis)
use project installs of mocha and istanbul exclusively
resolves #414
2015-02-16 08:45:47 -08:00
Douglas Eichelberger
a3c968278c
fix coveralls badge branch
2015-02-14 17:02:42 -08:00
dduugg
9b63c93477
allow travis failures in node v0.11
...
resolves #369
2015-01-24 11:18:04 -08:00
Douglas Eichelberger
034bcefc0f
add coverage report to travis script
...
resolves #268
2015-01-22 19:23:34 -08:00
Douglas Eichelberger
4f68517831
unify README badge styles
...
resolves #355
2015-01-21 21:38:41 -08:00
Douglas Eichelberger
d724495c45
rm empty file in lib/api/entries/
2014-12-13 12:08:48 -08:00