Skip to content

Commit

Permalink
3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Sep 12, 2018
1 parent fadaf58 commit 85239b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* update deps, wtf library improvements
* relicense as MIT
* use latest mongo api
### 3.5.0
### 3.6.0
* :warning: remove `.infoboxes` and `.citations` from top-level result. this is duplicate data. find them both in `section[i].templates`
* improve handling of redirect pages
* refactor encoding logic
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)",
"name": "dumpster-dive",
"description": "get a wikipedia dump parsed into mongodb",
"version": "3.5.0",
"version": "3.6.0",
"repository": {
"type": "git",
"url": "git://github.com/spencermountain/wikipedia-to-mongodb.git"
Expand Down
2 changes: 2 additions & 0 deletions tests/plain.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ test('plaintext', function(t) {

let redirect = docs.find(d => d.title === 'Redirect page');
t.notEqual(undefined, redirect, 'no redirect-page');
t.equal(redirect.redirectTo.page, 'The Beatles', 'has redirect link');

let disambig = docs.find(d => d.title === 'Disambiguation page');
t.notEqual(undefined, disambig, 'no disambig-page');
t.ok(disambig.sections.length > 1, 'rendering sections');


t.end();
Expand Down

0 comments on commit 85239b2

Please sign in to comment.