Skip to content
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ Via npm:
Via git:

git clone http://github.com/bnoguchi/node-hash-ring.git

#### node < 0.8.0
cd node-hash-ring/src
node-waf configure build

#### node >= 0.8.0
cd node-hash-ring
node-gyp configure build

### Example

```javascript
Expand Down
12 changes: 12 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"targets": [
{
"target_name": "hash_ring",
"sources": [
'src/md5.cc',
'src/hash_ring.cc',
'src/module.cc'
]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "hash_ring",
"version" : "0.2.1",
"version" : "0.2.2",
"description" : "Consistent hashing C++ Add-on for node.js",
"keywords": [ "node", "hash ring", "consistent hashing", "sharding", "distributed" ],
"author": "Brian Noguchi <brian.noguchi@gmail.com>",
Expand Down