From 16c826bd4facf0dc717a9dcdf901fa29e4fb6d35 Mon Sep 17 00:00:00 2001 From: Anatoliy Chakkaev Date: Mon, 25 Mar 2013 01:35:08 +0400 Subject: [PATCH] Rename files --- index.js | 4 ++-- lib/{abstract-class.js => model.js} | 0 lib/schema.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename lib/{abstract-class.js => model.js} (100%) diff --git a/index.js b/index.js index 7f10d5a2..50a64117 100644 --- a/index.js +++ b/index.js @@ -2,8 +2,8 @@ var fs = require('fs'); var path = require('path'); exports.Schema = require('./lib/schema').Schema; -exports.AbstractClass = require('./lib/abstract-class').AbstractClass; -exports.Validatable = require('./lib/validatable').Validatable; +exports.AbstractClass = require('./lib/model.js').AbstractClass; +exports.Validatable = require('./lib/validations.js').Validatable; var baseSQL = './lib/sql'; diff --git a/lib/abstract-class.js b/lib/model.js similarity index 100% rename from lib/abstract-class.js rename to lib/model.js diff --git a/lib/schema.js b/lib/schema.js index 681d873f..b12bdc33 100644 --- a/lib/schema.js +++ b/lib/schema.js @@ -1,7 +1,7 @@ /** * Module dependencies */ -var AbstractClass = require('./abstract-class').AbstractClass; +var AbstractClass = require('./model.js').AbstractClass; var util = require('util'); var path = require('path'); var fs = require('fs');