Skip to content

Commit

Permalink
rename some files
Browse files Browse the repository at this point in the history
  • Loading branch information
XadillaX committed Jan 5, 2016
1 parent df37bd0 commit c088f3f
Show file tree
Hide file tree
Showing 20 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions index.js
Expand Up @@ -7,5 +7,4 @@
"use strict"; "use strict";


exports.Toshihiko = require("./lib/toshihiko"); exports.Toshihiko = require("./lib/toshihiko");
exports.Type = require("./lib/fieldType"); exports.Type = require("./lib/field_type");
exports.Memcached = require("toshihiko-memcached");
2 changes: 1 addition & 1 deletion lib/field.js
Expand Up @@ -6,7 +6,7 @@
*/ */
"use strict"; "use strict";


var fieldTypes = require("./fieldType"); var fieldTypes = require("./field_type");
var util = require("util"); var util = require("util");


/** /**
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/query.js
Expand Up @@ -14,9 +14,9 @@ var mysql = require("mysql2");
var async = require("async"); var async = require("async");
var Scarlet = require("scarlet-task"); var Scarlet = require("scarlet-task");
var escaper = require("./escaper"); var escaper = require("./escaper");
var ResultPromisor = require("./resultpromisor"); var ResultPromisor = require("./result_promisor");
var common = require("../util/common"); var common = require("../util/common");
var sqlParser = require("../util/sqlparser"); var sqlParser = require("../util/sql_parser");


/** /**
* limit array to limit object * limit array to limit object
Expand Down
2 changes: 1 addition & 1 deletion lib/resultpromisor.js → lib/result_promisor.js
Expand Up @@ -6,7 +6,7 @@
*/ */
"use strict"; "use strict";


var damnArguments = require("../util/damnarguments"); var damnArguments = require("../util/damn_arguments");
var BlueBird = require("bluebird"); var BlueBird = require("bluebird");


/** /**
Expand Down
4 changes: 2 additions & 2 deletions lib/yukari.js
Expand Up @@ -10,8 +10,8 @@ var 囍 = require("lodash");
var util = require("util"); var util = require("util");
var mysql = require("mysql2"); var mysql = require("mysql2");
var async = require("async"); var async = require("async");
var fieldType = require("./fieldType"); var fieldType = require("./field_type");
var ResultPromisor = require("./resultpromisor"); var ResultPromisor = require("./result_promisor");


/** /**
* Yakumo Yukari is the entity of Yakumo Toshihiko. * Yakumo Yukari is the entity of Yakumo Toshihiko.
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -14,8 +14,7 @@
"lodash": "^3.10.1", "lodash": "^3.10.1",
"moment": "^2.10.6", "moment": "^2.10.6",
"mysql2": "^0.15.8", "mysql2": "^0.15.8",
"scarlet-task": "^0.1.0-comment", "scarlet-task": "^0.1.0-comment"
"toshihiko-memcached": "^0.1.0"
}, },
"devDependencies": { "devDependencies": {
"chinese-random-skill": "^0.0.3-rdm", "chinese-random-skill": "^0.0.3-rdm",
Expand All @@ -25,7 +24,8 @@
"jsxhint": "^0.15.1", "jsxhint": "^0.15.1",
"mocha": "^2.3.4", "mocha": "^2.3.4",
"precommit-hook": "^3.0.0", "precommit-hook": "^3.0.0",
"should": "^8.0.1" "should": "^8.0.1",
"toshihiko-memcached": "^0.1.0"
}, },
"scripts": { "scripts": {
"test": "make test", "test": "make test",
Expand Down
2 changes: 1 addition & 1 deletion test/field.js
Expand Up @@ -4,7 +4,7 @@
* Copyright (c) 2015 Souche.com, all rights * Copyright (c) 2015 Souche.com, all rights
* reserved * reserved
*/ */
var field = require("../lib/fieldType"); var field = require("../lib/field_type");
require("should"); require("should");


describe("Field",function () { describe("Field",function () {
Expand Down
2 changes: 1 addition & 1 deletion test/sqlparser.js → test/sql_parser.js
Expand Up @@ -5,7 +5,7 @@
* reserved. * reserved.
*/ */
require("should"); require("should");
var parser = require("../util/sqlparser"); var parser = require("../util/sql_parser");


describe("Some SQL Parser", function() { describe("Some SQL Parser", function() {
describe("sql name to column", function() { describe("sql name to column", function() {
Expand Down
2 changes: 1 addition & 1 deletion test/toshihiko.js
Expand Up @@ -6,7 +6,7 @@
*/ */
var should = require("should"); var should = require("should");
var Toshihiko = require("../lib/toshihiko"); var Toshihiko = require("../lib/toshihiko");
var Type = require("../lib/fieldType"); var Type = require("../lib/field_type");
var toshihiko = new Toshihiko("test", "root", ""); var toshihiko = new Toshihiko("test", "root", "");


describe("toshihiko", function() { describe("toshihiko", function() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion util/sqlparser.js → util/sql_parser.js
Expand Up @@ -6,7 +6,7 @@
*/ */
"use strict"; "use strict";


var keywords = require("./sqlkeyword"); var keywords = require("./sql_keyword");


function processQuote(sql, startIdx) { function processQuote(sql, startIdx) {
var start = sql[startIdx]; var start = sql[startIdx];
Expand Down

0 comments on commit c088f3f

Please sign in to comment.