Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "tools/nodeunit"] | ||
path = tools/nodeunit | ||
url = git://github.com/caolan/nodeunit.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
{ "name" : "firebird" | ||
, "version" : "0.0.1" | ||
, "description" : "very basic libfbclient binding to node" | ||
, "author": "Denys Khanzhiyev aka XDenSer" | ||
, "author": "Denys Khanzhiyev" | ||
, "main": "./firebird" | ||
, "scripts": { "install": "node-waf configure build" } | ||
, "maintainers" : | ||
[ { "name": "Denys Khanzhiyev" | ||
, "email": "xdenser@gmail.com" | ||
} | ||
] | ||
, "bugs" : { "web" : "http://github.com/xdenser/node-firebird-libfbclient/issues" } | ||
, "licenses" : [ { "type" : "MIT" } ] | ||
, "repositories" : | ||
[ { "type" : "git" | ||
, "url" : "http://github.com/xdenser/node-firebird-libfbclient.git" | ||
} | ||
] | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
Copyright by Denys Khanzhiyev | ||
See license text in LICENSE file | ||
*/ | ||
|
||
exports.cfg = { | ||
// Database connection settings | ||
db: "test.fdb", | ||
user: "sysdba", | ||
password: "masterkey", | ||
role: "" | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
Copyright by Denys Khanzhiyev | ||
See license text in LICENSE file | ||
*/ | ||
|
||
// Load configuration | ||
var cfg = require("../config").cfg; | ||
|
||
// Require modules | ||
var | ||
fb_binding = require("../../build/default/binding"); | ||
|
||
exports.Connect = function (test) { | ||
test.expect(1); | ||
var conn = new fb_binding.Connection; | ||
test.ok(conn, "Connection inited"); | ||
test.done(); | ||
}; | ||
|
Submodule nodeunit
added at
8a31df
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters