Skip to content

Commit

Permalink
Merge pull request #25 from bjornstar/master
Browse files Browse the repository at this point in the history
v0.0.17
  • Loading branch information
Ron Korving committed Nov 18, 2013
2 parents beb8be9 + cdd5974 commit c592dd2
Show file tree
Hide file tree
Showing 20 changed files with 157 additions and 87 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
@@ -1,6 +1,8 @@
language:
- node_js
node_js:
- 0.8
- 0.6
- "0.11"
- "0.10"
- "0.8"
- "0.6"

10 changes: 7 additions & 3 deletions README.md
Expand Up @@ -42,14 +42,15 @@ Tomes API
###Tome.conjure( *data* )
Returns a new Tome containing your data.

###Tome.typeOf( data )
Returns data's type as a string. Tomes only has types that exist in JSON which are:
###Tome.typeOf( *data* )
Returns data's type as a string. Tomes has types that exist in JSON which are:
- array
- boolean
- null
- number
- object
- string
As well as:
- undefined

###Tome.isTome( *data* )
Expand Down Expand Up @@ -94,7 +95,10 @@ Move key to tome. Optionally call it newkey on that tome.
Hides a Tome. The Tome still exists in this tome, but will neither stringify nor show up in any events. Shows up as a delete in change operations.

###read( )
Get a single change operation from a Tome, removing it in the process. Returns null if there are no changes.
Get a single change operation from the root Tome, removing it in the process. Returns null if there are no changes.

###readAll( )
Get all change operations from the Tome

###merge( *diff* )
Applies a change operation or an array of change operations to a Tome.
Expand Down
9 changes: 4 additions & 5 deletions component.json
@@ -1,15 +1,14 @@
{
"name": "tomes",
"repo": "bjornstar/tomes",
"repo": "Wizcorp/node-tomes",
"description": "Evented Storage Agnostic Data API",
"version": "0.0.16",
"version": "0.0.17",
"keywords": [ "data", "events" ],
"dependencies": {
"component/emitter": "*"
},
"development": {},
"scripts": [
"tomes.js"
"index.js"
],
"main": "tomes.js"
"main": "index.js"
}

0 comments on commit c592dd2

Please sign in to comment.