Skip to content

Commit 28d3312

Browse files
committed
Bump version to 0.4.1
1 parent 9241e98 commit 28d3312

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "oracledb",
3-
"version" : "0.3.1",
3+
"version" : "0.4.1",
44
"description" : "Oracle Database driver by Oracle Corp.",
55
"license" : "Apache 2.0",
66
"homepage": "http://www.oracle.com/technetwork/database/database-technologies/node_js/index.html",

src/njs/src/njsOracle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Handle<Value> Oracledb::GetVersion ( Local<String> property,
382382
const AccessorInfo& info )
383383
{
384384
HandleScope scope;
385-
int version = NJS_ORACLE_VERSION;
385+
int version = NJS_NODE_ORACLEDB_VERSION;
386386
Local<Integer> value = v8::Integer::New(version);
387387
return scope.Close(value);
388388
}

src/njs/src/njsOracle.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,15 @@ using namespace node;
4040
using namespace v8;
4141

4242

43-
/*0.3.1. Keep the version in sync with package.json */
43+
/*0.4.1. Keep the version in sync with package.json */
44+
#define NJS_NODE_ORACLEDB_MAJOR 0
45+
#define NJS_NODE_ORACLEDB_MINOR 4
46+
#define NJS_NODE_ORACLEDB_PATCH 1
47+
4448
/* Formula: 10000 x majorversion + 100 * minorversion + patchrelease number */
45-
#define NJS_ORACLE_VERSION 301
49+
#define NJS_NODE_ORACLEDB_VERSION ( (NJS_NODE_ORACLEDB_MAJOR * 10000) + \
50+
(NJS_NODE_ORACLEDB_MINOR * 100) + \
51+
(NJS_NODE_ORACLEDB_PATCH) )
4652

4753

4854
class Oracledb: public ObjectWrap

0 commit comments

Comments
 (0)