[Pkg-javascript-commits] [node-leveldown] 07/23: adjustments for leveldb-hyper fork

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:21:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to tag hyper-0.10.2
in repository node-leveldown.

commit 7923e64102587fc9040162e719899449a38e3088
Author: Rod Vagg <rod at vagg.org>
Date:   Fri Jun 7 13:51:34 2013 +1000

    adjustments for leveldb-hyper fork
---
 package.json           | 91 ++++++++++++++++++++++++--------------------------
 src/batch.h            |  2 +-
 src/batch_async.cc     |  3 +-
 src/database.cc        |  4 +--
 src/database.h         |  8 +++--
 src/database_async.h   |  2 +-
 src/leveldown.h        |  2 +-
 src/leveldown_async.cc |  2 +-
 8 files changed, 56 insertions(+), 58 deletions(-)

diff --git a/package.json b/package.json
index cd67f12..de5dd5d 100644
--- a/package.json
+++ b/package.json
@@ -1,50 +1,45 @@
 {
-  "name": "leveldown",
-  "description": "A Node.js LevelDB binding, primary backend for LevelUP",
-  "version": "0.10.2",
-  "contributors": [
-    "Rod Vagg <r at va.gg> (https://github.com/rvagg)",
-    "John Chesley <john at chesl.es> (https://github.com/chesles/)",
-    "Jake Verbaten <raynos2 at gmail.com> (https://github.com/raynos)",
-    "Dominic Tarr <dominic.tarr at gmail.com> (https://github.com/dominictarr)",
-    "Max Ogden <max at maxogden.com> (https://github.com/maxogden)",
-    "Lars-Magnus Skog <lars.magnus.skog at gmail.com> (https://github.com/ralphtheninja)",
-    "David Björklund <david.bjorklund at gmail.com> (https://github.com/kesla)",
-    "Julian Gruber <julian at juliangruber.com> (https://github.com/juliangruber)",
-    "Paolo Fragomeni <paolo at async.ly> (https://github.com/hij1nx)",
-    "Anton Whalley <anton.whalley at nearform.com> (https://github.com/No9)",
-    "Matteo Collina <matteo.collina at gmail.com> (https://github.com/mcollina)",
-    "Pedro Teixeira <pedro.teixeira at gmail.com> (https://github.com/pgte)",
-    "James Halliday <mail at substack.net> (https://github.com/substack)"
-  ],
-  "repository": {
-    "type": "git",
-    "url": "https://github.com/rvagg/node-leveldown.git"
-  },
-  "homepage": "https://github.com/rvagg/node-leveldown",
-  "keywords": [
-    "leveldb",
-    "level"
-  ],
-  "main": "index.js",
-  "dependencies": {
-    "bindings": "~1.1.1",
-    "nan": "~0.6.0",
-    "abstract-leveldown": "^0.11.4"
-  },
-  "devDependencies": {
-    "tap": "~0.4.1",
-    "rimraf": "~2.1.4",
-    "mkfiletree": "~0.0.0",
-    "readfiletree": "~0.0.0",
-    "abstract-leveldown": "~0.11.1",
-    "monotonic-timestamp": "~0.0.8",
-    "du": "~0.0.1",
-    "node-gyp": "~0.12.1"
-  },
-  "scripts": {
-    "test": "tap test/*-test.js --stderr"
-  },
-  "license": "MIT",
-  "gypfile": true
+    "name"            : "leveldown-hyper"
+  , "description"     : "A Node.js LevelDB binding, primary backend for LevelUP (HyperDex fork)"
+  , "version"         : "0.9.1"
+  , "contributors"    : [
+        "Rod Vagg <r at va.gg> (https://github.com/rvagg)"
+      , "John Chesley <john at chesl.es> (https://github.com/chesles/)"
+      , "Jake Verbaten <raynos2 at gmail.com> (https://github.com/raynos)"
+      , "Dominic Tarr <dominic.tarr at gmail.com> (https://github.com/dominictarr)"
+      , "Max Ogden <max at maxogden.com> (https://github.com/maxogden)"
+      , "Lars-Magnus Skog <lars.magnus.skog at gmail.com> (https://github.com/ralphtheninja)"
+      , "David Björklund <david.bjorklund at gmail.com> (https://github.com/kesla)"
+      , "Julian Gruber <julian at juliangruber.com> (https://github.com/juliangruber)"
+      , "Paolo Fragomeni <paolo at async.ly> (https://github.com/hij1nx)"
+      , "Anton Whalley <anton.whalley at nearform.com> (https://github.com/No9)"
+      , "Matteo Collina <matteo.collina at gmail.com> (https://github.com/mcollina)"
+      , "Pedro Teixeira <pedro.teixeira at gmail.com> (https://github.com/pgte)"
+      , "James Halliday <mail at substack.net> (https://github.com/substack)"
+    ]
+  , "repository"      : {
+        "type"                : "git"
+      , "url"                 : "https://github.com/rvagg/node-leveldown.git"
+    }
+  , "homepage"        : "https://github.com/rvagg/node-leveldown"
+  , "keywords": [ "leveldb", "level" ]
+  , "main"            : "index.js"
+  , "dependencies"    : {
+        "bindings"            : "~1.1.1"
+      , "nan"                 : "~0.5.2"
+    }
+  , "devDependencies" : {
+        "tap"                 : "~0.4.1"
+      , "rimraf"              : "~2.1.4"
+      , "mkfiletree"          : "~0.0.0"
+      , "readfiletree"        : "~0.0.0"
+      , "abstract-leveldown"  : "~0.11.1"
+      , "monotonic-timestamp" : "~0.0.8"
+      , "du"                  : "~0.0.1"
+    }
+  , "scripts"         : {
+        "test"                : "tap test/*-test.js --stderr"
+    }
+  , "license"         : "MIT"
+  , "gypfile"         : true
 }
diff --git a/src/batch.h b/src/batch.h
index c72d790..da568b4 100644
--- a/src/batch.h
+++ b/src/batch.h
@@ -4,7 +4,7 @@
 #include <vector>
 #include <node.h>
 
-#include <leveldb/write_batch.h>
+#include "hyperleveldb/write_batch.h"
 
 #include "database.h"
 
diff --git a/src/batch_async.cc b/src/batch_async.cc
index 4ff256c..deebfff 100644
--- a/src/batch_async.cc
+++ b/src/batch_async.cc
@@ -4,7 +4,8 @@
  */
 
 
-#include <leveldb/write_batch.h>
+#include "hyperleveldb/write_batch.h"
+
 #include "batch.h"
 #include "batch_async.h"
 
diff --git a/src/database.cc b/src/database.cc
index 8e1d379..63952ee 100644
--- a/src/database.cc
+++ b/src/database.cc
@@ -7,8 +7,8 @@
 #include <node.h>
 #include <node_buffer.h>
 
-#include "leveldb/db.h"
-#include "leveldb/write_batch.h"
+#include "hyperleveldb/db.h"
+#include "hyperleveldb/write_batch.h"
 
 #include "leveldown.h"
 #include "database.h"
diff --git a/src/database.h b/src/database.h
index 937ec08..65b884e 100644
--- a/src/database.h
+++ b/src/database.h
@@ -10,10 +10,12 @@
 #include <vector>
 #include <node.h>
 
-#include "leveldb/cache.h"
-#include "leveldb/db.h"
-#include "leveldb/filter_policy.h"
+#include "hyperleveldb/cache.h"
+#include "hyperleveldb/db.h"
+#include "hyperleveldb/filter_policy.h"
+
 #include "nan.h"
+
 #include "leveldown.h"
 #include "iterator.h"
 
diff --git a/src/database_async.h b/src/database_async.h
index 5b3ee99..5401d70 100644
--- a/src/database_async.h
+++ b/src/database_async.h
@@ -9,7 +9,7 @@
 #include <vector>
 #include <node.h>
 
-#include "leveldb/cache.h"
+#include "hyperleveldb/cache.h"
 
 #include "async.h"
 
diff --git a/src/leveldown.h b/src/leveldown.h
index 2617ade..5182000 100644
--- a/src/leveldown.h
+++ b/src/leveldown.h
@@ -7,7 +7,7 @@
 
 #include <node.h>
 #include <node_buffer.h>
-#include <leveldb/slice.h>
+#include "hyperleveldb/slice.h"
 
 #include "nan.h"
 
diff --git a/src/leveldown_async.cc b/src/leveldown_async.cc
index db84c1f..a5d903d 100644
--- a/src/leveldown_async.cc
+++ b/src/leveldown_async.cc
@@ -3,7 +3,7 @@
  * MIT +no-false-attribs License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE>
  */
 
-#include <leveldb/db.h>
+#include "hyperleveldb/db.h"
 
 #include "leveldown.h"
 #include "leveldown_async.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list