null+****@clear*****
null+****@clear*****
2011年 11月 25日 (金) 20:45:06 JST
Yoji SHIDARA 2011-11-25 11:45:06 +0000 (Fri, 25 Nov 2011)
New Revision: 5ff14a5529a24ce63560f6138fc183d6367b80b5
Log:
use nroonga instead of Nroonga
Modified files:
examples/prompt.coffee
examples/server.coffee
examples/test.js
test/database.test.coffee
Modified: examples/prompt.coffee (+3 -3)
===================================================================
--- examples/prompt.coffee 2011-11-25 11:39:56 +0000 (8459511)
+++ examples/prompt.coffee 2011-11-25 11:45:06 +0000 (a417077)
@@ -1,10 +1,10 @@
-Nroonga = require('../lib/nroonga')
+nroonga = require('../lib/nroonga')
readline = require('readline')
db = if process.argv.length > 2
- new Nroonga.Database(process.argv[2])
+ new nroonga.Database(process.argv[2])
else
- new Nroonga.Database()
+ new nroonga.Database()
rl = readline.createInterface(process.stdin, process.stdout)
prefix = '> '
Modified: examples/server.coffee (+3 -3)
===================================================================
--- examples/server.coffee 2011-11-25 11:39:56 +0000 (ab52ac9)
+++ examples/server.coffee 2011-11-25 11:45:06 +0000 (59e87a7)
@@ -1,10 +1,10 @@
express = require('express')
-Nroonga = require('../lib/nroonga')
+nroonga = require('../lib/nroonga')
db = if process.argv.length > 2
- new Nroonga.Database(process.argv[2])
+ new nroonga.Database(process.argv[2])
else
- new Nroonga.Database()
+ new nroonga.Database()
port = 3000
Modified: examples/test.js (+2 -2)
===================================================================
--- examples/test.js 2011-11-25 11:39:56 +0000 (d1e545f)
+++ examples/test.js 2011-11-25 11:45:06 +0000 (ac62ee3)
@@ -1,6 +1,6 @@
-Nroonga = require('../lib/nroonga')
+nroonga = require('../lib/nroonga')
-db = new Nroonga.Database()
+db = new nroonga.Database()
db.command('status', function(error, data) {
console.log(data);
Modified: test/database.test.coffee (+3 -3)
===================================================================
--- test/database.test.coffee 2011-11-25 11:39:56 +0000 (2efa7be)
+++ test/database.test.coffee 2011-11-25 11:45:06 +0000 (c290c7d)
@@ -1,13 +1,13 @@
-Nroonga = require('../lib/nroonga')
+nroonga = require('../lib/nroonga')
module.exports =
'get groonga status by Database#commandSync': (beforeExit, assert) ->
- db = new Nroonga.Database()
+ db = new nroonga.Database()
status = db.commandSync('status')
assert.isDefined status.version
'get groonga status by Database#command': (beforeExit, assert) ->
- db = new Nroonga.Database()
+ db = new nroonga.Database()
status = null
db.command 'status', (error, data) ->
status = data