[Groonga-commit] groonga/gcs [master] Rename cs-commands to gcs-commands

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 8日 (水) 18:41:09 JST


YUKI "Piro" Hiroshi	2012-08-08 18:41:09 +0900 (Wed, 08 Aug 2012)

  New Revision: 1b1fe3c93c7b771c83c6aac674a029cfc4e247cc
  https://github.com/groonga/gcs/commit/1b1fe3c93c7b771c83c6aac674a029cfc4e247cc

  Log:
    Rename cs-commands to gcs-commands

  Renamed files:
    bin/gcs-configure-fields
      (from bin/cs-configure-fields)
    bin/gcs-create-domain
      (from bin/cs-create-domain)
    bin/gcs-delete-domain
      (from bin/cs-delete-domain)
    bin/gcs-describe-domain
      (from bin/cs-describe-domain)
    bin/gcs-index-documents
      (from bin/cs-index-documents)
    test/gcs-commands.test.js
      (from test/cs-commands.test.js)

  Renamed: bin/gcs-configure-fields (+0 -0) 100%
===================================================================

  Renamed: bin/gcs-create-domain (+0 -0) 100%
===================================================================

  Renamed: bin/gcs-delete-domain (+0 -0) 100%
===================================================================

  Renamed: bin/gcs-describe-domain (+0 -0) 100%
===================================================================

  Renamed: bin/gcs-index-documents (+0 -0) 100%
===================================================================

  Renamed: test/gcs-commands.test.js (+39 -39) 91%
===================================================================
--- test/cs-commands.test.js    2012-08-06 17:49:18 +0900 (542836f)
+++ test/gcs-commands.test.js    2012-08-08 18:41:09 +0900 (dd8f457)
@@ -18,13 +18,13 @@ function commonTeardown() {
   temporaryDatabase = undefined;
 }
 
-suite('cs-create-domain', function() {
+suite('gcs-create-domain', function() {
   setup(commonSetup);
   teardown(commonTeardown);
 
   test('create', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'test',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -45,10 +45,10 @@ suite('cs-create-domain', function() {
 
   test('create again', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'test',
            '--database-path', temporaryDatabase.path)
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'test',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -73,7 +73,7 @@ suite('cs-create-domain', function() {
 
   test('missing domain name', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
         assert.deepEqual({ code:    result.code,
@@ -93,16 +93,16 @@ suite('cs-create-domain', function() {
   });
 });
 
-suite('cs-delete-domain', function() {
+suite('gcs-delete-domain', function() {
   setup(commonSetup);
   teardown(commonTeardown);
 
   test('delete force', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'test',
            '--database-path', temporaryDatabase.path)
-      .run('cs-delete-domain',
+      .run('gcs-delete-domain',
            '--domain-name', 'test',
            '--force',
            '--database-path', temporaryDatabase.path)
@@ -126,7 +126,7 @@ suite('cs-delete-domain', function() {
 
   test('delete not-existing domain', function(done) {
     utils
-      .run('cs-delete-domain',
+      .run('gcs-delete-domain',
            '--domain-name', 'test',
            '--force',
            '--database-path', temporaryDatabase.path)
@@ -145,7 +145,7 @@ suite('cs-delete-domain', function() {
 
   test('delete without domain', function(done) {
     utils
-      .run('cs-delete-domain',
+      .run('gcs-delete-domain',
            '--force',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -162,7 +162,7 @@ suite('cs-delete-domain', function() {
   });
 });
 
-suite('cs-describe-domain', function() {
+suite('gcs-describe-domain', function() {
   setup(commonSetup);
   teardown(commonTeardown);
 
@@ -181,13 +181,13 @@ suite('cs-describe-domain', function() {
 
   test('describe one', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'domain2',
            '--database-path', temporaryDatabase.path)
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'domain1',
            '--database-path', temporaryDatabase.path)
-      .run('cs-describe-domain',
+      .run('gcs-describe-domain',
            '--domain-name', 'domain1',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -204,13 +204,13 @@ suite('cs-describe-domain', function() {
 
   test('describe all', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'domain2',
            '--database-path', temporaryDatabase.path)
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'domain1',
            '--database-path', temporaryDatabase.path)
-      .run('cs-describe-domain',
+      .run('gcs-describe-domain',
            '--show-all',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -228,16 +228,16 @@ suite('cs-describe-domain', function() {
   });
 });
 
-suite('cs-configure-fields', function() {
+suite('gcs-configure-fields', function() {
   setup(commonSetup);
   teardown(commonTeardown);
 
   function testCreateField(done, name, type) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', name,
            '--type', type,
@@ -275,15 +275,15 @@ suite('cs-configure-fields', function() {
 
   function testDeleteField(done, name, type) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', name,
            '--type', type,
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', name,
            '--delete',
@@ -319,15 +319,15 @@ suite('cs-configure-fields', function() {
 
   function testRecreateField(done, name, type) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', name,
            '--type', type,
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', name,
            '--type', type,
@@ -357,10 +357,10 @@ suite('cs-configure-fields', function() {
 
   test('delete not-existing field', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', 'name',
            '--delete',
@@ -380,10 +380,10 @@ suite('cs-configure-fields', function() {
 
   test('create field without type', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', 'name',
            '--database-path', temporaryDatabase.path)
@@ -402,7 +402,7 @@ suite('cs-configure-fields', function() {
 
   test('create field without domain', function(done) {
     utils
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--name', 'name',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -419,31 +419,31 @@ suite('cs-configure-fields', function() {
   });
 });
 
-suite('cs-index-documents', function() {
+suite('gcs-index-documents', function() {
   setup(commonSetup);
   teardown(commonTeardown);
 
   test('reindex', function(done) {
     utils
-      .run('cs-create-domain',
+      .run('gcs-create-domain',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', 'name',
            '--type', 'text',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', 'age',
            '--type', 'uint',
            '--database-path', temporaryDatabase.path)
-      .run('cs-configure-fields',
+      .run('gcs-configure-fields',
            '--domain-name', 'companies',
            '--name', 'product',
            '--type', 'literal',
            '--database-path', temporaryDatabase.path)
-      .run('cs-index-documents',
+      .run('gcs-index-documents',
            '--domain-name', 'companies',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -469,7 +469,7 @@ suite('cs-index-documents', function() {
 
   test('reindex not-existing domain', function(done) {
     utils
-      .run('cs-index-documents',
+      .run('gcs-index-documents',
            '--domain-name', 'test',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
@@ -487,7 +487,7 @@ suite('cs-index-documents', function() {
 
   test('reindex without domain', function(done) {
     utils
-      .run('cs-index-documents',
+      .run('gcs-index-documents',
            '--database-path', temporaryDatabase.path)
       .next(function(result) {
         assert.deepEqual({ code:    result.code,
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
다운로드 



Groonga-commit メーリングリストの案内
Back to archive index