Skip to content
Open
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d03eaec
Renamed Profile to Procfile
Apr 7, 2017
aee1c1a
Adds more screenshot for wiki
Apr 7, 2017
3700ef6
Added test to coverall all files search and refactored class Inverted…
Apr 8, 2017
df12b74
Refactored the Inverted index class by removing unwanted part of the …
Apr 8, 2017
4f60e10
Updated the README file to include thelink to wiki
Apr 9, 2017
532e8ac
Adds codeclimate configuration file and modifies the application home…
Apr 9, 2017
d3f1837
Remove the default Procfile and App.json so the app can use the defau…
Apr 10, 2017
c759871
Updates the server.js to serve the index.html
Apr 10, 2017
d36cd89
Modified the server.js tp serve the javascript file
Apr 10, 2017
4d2a824
Modifies codeclimate configuration file
Apr 10, 2017
cc1d6d4
Updated codeclimate configuration file
Apr 10, 2017
741c47e
Updates the codeclimate config file to exclude images and jasmine dep…
Apr 10, 2017
816e73b
Adds test for words not found in search index and heroku app.json con…
Apr 10, 2017
d35e282
Modifies houndci configurations
Apr 10, 2017
d2ade4d
Renamed the eslint configuration file and modified the houndci config…
Apr 10, 2017
620a020
Adds test specs and inverted index class modified to correct houndci'…
Apr 10, 2017
20a1e60
renamed invertedindex.js to InvertedIndex.js using Pascal case and mo…
Apr 12, 2017
63f7b74
Corrected JSDOC comment for readfile method
Apr 12, 2017
a448fd7
Created bundle using browserify and modifies gulp to build on start
Apr 13, 2017
502afb9
Updates eslint config file, added browserify to bundle application, m…
Apr 13, 2017
77ba367
Refactored InvertedIndex class
Apr 15, 2017
226e490
Updates the JSDOC of the InvertedIndex class file
Apr 15, 2017
bb870c8
Refactored InvertedIndex class by modifying variable names
Apr 15, 2017
3693d9c
Modified the jasmine configuration file, changed the test specs filename
Apr 15, 2017
f440817
Modifies the eslint ignore config file
Apr 15, 2017
c6c7d88
Modifies InvertedIndex class and test spec to include changes like te…
Apr 17, 2017
de2d505
Modified InvertedIndex class and InvertedIndex test specs
Apr 17, 2017
b8b0720
Modifies InvertedIndex class
Apr 17, 2017
c128075
Modifies the InvertedIndex test spec
Apr 17, 2017
7011454
Updates InvertedIndex class and InvertedIndex test spec
Apr 18, 2017
0fd96e3
Controls table overflow, Corrects typo errors in test specs, includes…
Apr 18, 2017
435916b
updates coverall badge
Apr 18, 2017
b10f134
updated the readme file to reflect the new badge
Apr 18, 2017
6fca590
Updated the coverall badge
Apr 18, 2017
d586adf
Updates the InvertedIndex test spec
Apr 19, 2017
c3dc52b
Added InvertedIndex test spec
Apr 19, 2017
cc14b1e
Updated the test spec
Apr 19, 2017
3ed238c
Updated the InvertedIndex class test spec
Apr 19, 2017
8414503
Adds more sample books and modifies the InvertedIndex test spec
Apr 19, 2017
dd07287
Added Procfile and modified gitignore
Apr 19, 2017
f669ede
Added profile
Apr 19, 2017
9e83c02
Restructured files to correct heroku's application errors
Apr 19, 2017
b505061
Updated the index.html file
Apr 19, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
47 changes: 47 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
engines:
eslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
csslint:
enabled: false
# ... CONFIG CONTENT ...
checks:
comma-dangle:
enabled: false
import/no-unresolved:
enabled: false
no-console:
enabled: false
strict:
enabled: false
no-unused-vars:
enabled: false
no-undef:
enabled: false
class-methods-use-this:
enabled: false
no-param-reassign:
enabled: false
array-callback-return:
enabled: false
fixme:
enabled: true
ratings:
paths:
- "src/InvertedIndex.js"
exclude_paths:
- "samples/*"
- "*.json"
- "src/app.js"
- "src/module.js"
- "css/*"
- "index.html"
- "specs/*"
- .travis.yml
- .eslintrc.json
- "spec/*"
- "images/*"
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
css/
src/public/css/
samples/
node_modules/
images/
Expand All @@ -11,4 +11,5 @@ spec/*.html
*.html
karma.conf.js
Profile
build/

3 changes: 1 addition & 2 deletions eslintrc.json → .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
},
"rules": {
"import/no-unresolved": 0,
"max-len":[2, 80, 2],
"one-var": 0,
"one-var-declaration-per-line": 0,
"new-cap": 0,
"no-undef": 0,
"func-names":0,
"consistent-return": 0,
"class-methods-use-this": 0,
"no-param-reassign": 0,
"no-prototype-builtins": 0,
"comma-dangle": 0,
"curly": [ 1, "multi-line" ],
"no-shadow": [ 1, { "allow": [ "req", "res", "err" ] } ],
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.DS_Store
node_modules/
test.js
testclass.js
coverage/
File renamed without changes.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Coverage Status](https://coveralls.io/repos/github/andela-aonifade/dplex/badge.svg?branch=development)](https://coveralls.io/github/andela-aonifade/dplex?branch=development)
[![Coverage Status](https://s3.amazonaws.com/assets.coveralls.io/badges/coveralls_98.svg?branch=development)](https://coveralls.io/github/andela-aonifade/dplex?branch=development)
[![Code Climate](https://codeclimate.com/github/andela-aonifade/dplex/badges/gpa.svg)](https://codeclimate.com/github/andela-aonifade/dplex)
[![Build Status](https://travis-ci.org/andela-aonifade/dplex.svg?branch=development)](https://travis-ci.org/andela-aonifade/dplex)

Expand Down Expand Up @@ -40,5 +40,6 @@ It can also be used locally by following the steps below
- The application can not be distinguished between plural and singular words. It also does not distinguish between the past tense form of a verb. It does not identify synonyms and sees numbers as string

## More information
- [DPlex Wiki](https://github.com/andela-aonifade/dplex/wiki)
- [Inverted Index - Wikipedia](https://en.wikipedia.org/wiki/Inverted_index)
- [Inverted Index](https://www.elastic.co/guide/en/elasticsearch/guide/current/inverted-index.html)
Loading