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

Add aggregation type support #4

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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
lib/hoard.js
test/*.hoard
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ hoard.update('users.hoard', 1337, 1311169605, function(err) {
// Update multiple values at once in an existing Hoard file.
// This function is much faster when dealing with multiple values
// that need to be written at once.
hoard.update('users.hoard', [[1312490305, 4976], [1312492105, 3742]], function(err) {
hoard.updateMany('users.hoard', [[1312490305, 4976], [1312492105, 3742]], function(err) {
if (err) throw err;
console.log('Hoard file updated!');
});
Expand Down Expand Up @@ -102,6 +102,12 @@ maximum compatibility. They don't require the Python version to be installed but
files generated by it. The tests were implemented using Expresso after some experimentation with Vows.
Ran into some issues with Vows and decided to use the much simpler (and dumber) Expresso instead.

Testing
-------

- [ cake setup ]
- cake [ install | build ]
- cake test

Authors
-------
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hoard",
"version": "0.1.5",
"version": "0.2.0",
"description": "node.js lib for storing time series data on disk, similar to RRD.",
"homepage": "https://github.com/cgbystrom/hoard",
"author": "Carl Byström <[email protected]> http://cgbystrom.com",
Expand All @@ -17,8 +17,10 @@
"binary": ">= 0.2.5"
},
"devDependencies": {
"coffee-script": ">= 1.0.1",
"expresso": ">= 0.8.1"
"coffee-script": ">= 1.0.1"
},
"scripts": {
"prepublish" :"coffee -c -l -b -o lib src"
},
"licenses": [{"type": "MIT", "url": "https://github.com/cgbystrom/hoard/raw/master/LICENSE"}]
}
Loading