Commit Graph

231 Commits

Author SHA1 Message Date
78871f97d9 simplofy the promise chain 2016-06-06 16:59:13 -07:00
5954ee1d51 append option headers to the index request 2016-06-06 16:59:02 -07:00
a2d3fb7ffd simplify the node test matrix 2016-06-06 15:39:08 -07:00
04608b0ab2 update nyc in package.json 2016-06-06 15:26:36 -07:00
c541e07bb5 fix wording around worker functions 2016-06-06 15:15:12 -07:00
d70a8cc3ea 0.6.0 2016-06-06 15:06:53 -07:00
68ef5d2147 add client option to docs 2016-06-06 15:06:40 -07:00
1c24a4f7c1 fix worker example
add example of async worker
2016-06-06 15:06:30 -07:00
5fe4e644d6 add custom client test 2016-06-06 14:58:54 -07:00
39315dddd0 add internal properties test 2016-06-06 14:58:48 -07:00
57c1bd1819 allow client to be passed with registering worker 2016-06-06 14:50:24 -07:00
e0605796a1 fix inconcistent constants use 2016-06-06 14:50:06 -07:00
a1a7b9e213 add tests for passing client on job create
also fix issue where the wrong client was being used to create the index
2016-06-06 14:48:01 -07:00
dcecd4020b allow new client instant to be passed on job creation 2016-06-06 14:47:04 -07:00
40c8d15562 looser node-version spec 2016-06-06 14:13:16 -07:00
21d52b4b50 add package script
handy for packaging up the lib path on release tags
2016-05-19 15:06:51 -07:00
a0042be7c9 0.5.0 2016-05-19 14:15:53 -07:00
d325f108f7 Merge branch 'master' into develop 2016-05-19 14:14:35 -07:00
1fe139e1b0 0.4.1 v0.4.1 2016-05-19 14:13:49 -07:00
4beb4a880b update changelog 2016-05-19 14:12:51 -07:00
9ab3bb048e update tests and fixture 2016-05-19 14:12:01 -07:00
ca0da61a69 default created_by to false 2016-05-19 14:11:52 -07:00
59d30bbb0f remove console debugging 2016-05-19 14:10:03 -07:00
6ce18a5477 update changelog 2016-05-17 13:38:08 -07:00
89c08068dd use filter instead of must in query
faster, and the score does not matter here
2016-05-17 13:37:22 -07:00
5f2e2b09cf bump dev node version 2016-05-17 10:19:27 -07:00
fb2f51b11d 0.4.0 v0.4.0 2016-05-16 17:19:55 -07:00
8ac9a81fdb update changelog and readme 2016-05-16 15:06:47 -07:00
4472e725fa add tests for optional fields to get and toJSON methods 2016-05-16 15:04:35 -07:00
be1eb81059 make the mock client get method async
and update worker tests to use async value
2016-05-16 15:03:20 -07:00
8d21dc6967 add optional created_by record to the doc 2016-05-16 15:02:34 -07:00
31159baae9 add future version notes to changelog 2016-05-16 14:24:20 -07:00
49965bbaf1 add changelog file 2016-05-16 14:23:12 -07:00
49b982db99 change priority field to byte 2016-05-16 14:09:42 -07:00
9aa8eed297 filter output when searching for jobs 2016-05-16 14:09:24 -07:00
0bf6fb0023 0.3.2 v0.3.2 2016-05-13 14:59:17 -07:00
300449bfb0 add test for missing index result 2016-05-13 14:59:05 -07:00
868c808db7 missing indices need to return an array 2016-05-13 14:56:50 -07:00
ef61a33a38 0.3.1 v0.3.1 2016-05-13 14:40:46 -07:00
dae14e0edc add tests for job search failures 2016-05-13 14:36:19 -07:00
c51ea64bdd [worker] swollow missing index errors 2016-05-13 14:35:39 -07:00
5d37399fbf run travis on version tags too 2016-05-12 17:27:53 -07:00
e4e8e9222c 0.3.0 v0.3.0 2016-05-12 17:02:07 -07:00
02a530c4c7 Merge branch 'develop' 2016-05-12 16:59:48 -07:00
959f58ad8b travis should only build the master branch 2016-05-12 16:59:14 -07:00
e9c3f5553d try using node 5 and 6 again
with an additional npm install call, because npm3
2016-05-12 16:11:10 -07:00
234b829adf add more tests around job query 2016-05-12 15:09:53 -07:00
df9508808b use jobtype in worker, update query
also simplify the query a bit and use constant_score
2016-05-12 14:08:43 -07:00
609e81fdef distiguish the doctype from the jobtype
update tests and mock elasticsearch client
2016-05-12 12:20:49 -07:00
3375335d24 add type field, switch to string types
should allow elasticsearch 2.x use
2016-05-12 11:49:54 -07:00