Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1 #2

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .coveralls
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: nzlZHxRa4UAvp2QBBovUOS82u9nR5tPTT
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,57 @@
# node

lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

npm-debug.log
node_modules


# osx

.DS_Store
.AppleDouble
.LSOverride
Icon


## Thumbnails
._*

## Files that might appear on external disk
.Spotlight-V100
.Trashes

# textmate

*.tmproj
*.tmproject
tmtags


# vim

*.s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~


# subl

*.sublime-workspace

# component
components
build
50 changes: 50 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"bitwise": true,
"camelcase": false,
"curly": false,
"eqeqeq": true,
"es3": false,
"forin": true,
"immed": true,
"indent": 2,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"plusplus": true,
"quotmark": true,
"undef": true,
"unused": true,
"strict": false,
"trailing": true,
"asi": false,
"boss": false,
"debug": true,
"eqnull": false,
"esnext": false,
"evil": false,
"expr": false,
"funcscope": false,
"globalstrict": false,
"iterator": false,
"lastsemic": true,
"laxbreak": false,
"laxcomma": false,
"loopfunc": false,
"moz": false,
"multistr": false,
"proto": false,
"scripturl": false,
"smarttabs": false,
"shadow": false,
"sub": false,
"supernew": false,
"validthis": false,
"browser": false,
"devel": false,
"jquery": false,
"devel": false,
"es5": true,
"node": true
}
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

7 changes: 7 additions & 0 deletions .tern-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"libs": ["ecma5"],
"plugins": {
"doc_comment": true,
"node": {}
}
}
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- "0.10"
- "0.8"
26 changes: 0 additions & 26 deletions History.md

This file was deleted.

21 changes: 18 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
REPORTER = spec
UI = bdd

test:
@./node_modules/.bin/mocha \
--require should \
--reporter spec
@NODE_ENV=test ./node_modules/.bin/mocha -u $(UI) -R $(REPORTER) -c -G -b

lib-cov:
./node_modules/jscoverage/bin/jscoverage src lib-cov

test-cov: lib-cov
@LEVEL_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
rm -rf lib-cov

test-coveralls: lib-cov
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@LEVEL_COV=1 $(MAKE) test REPORTER=mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
rm -rf lib-cov

clean:
@rm -rf node_modules components build

.PHONY: test
66 changes: 0 additions & 66 deletions Readme.md

This file was deleted.

38 changes: 38 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 0.3.1 / 2013-12-03

* update dependencies

# 0.3.0 / 2013-12-03

* add `Model.remove.all`
* rename `Model.all` to `Model.get.all`

# 0.2.0 / 2013-12-02

* also accept a string and create a level instance in that case
* add a streaming `.all`

# 0.1.0 / 2013-12-01

* receive a level instance instead of creating it

# 0.0.5 / 2013-11-15

* updated to work with modella 0.2.0
* updated level to work with node 0.11.8

# 0.0.4 / 2013-09-14

* automatically close on termination

# 0.0.3 / 2013-08-04

* bump level version

# 0.0.2 / 2013-07-30

* removed log

# 0.0.1 / 2013-07-23

* Initial commit
Loading