From 1970f12988e9c9eee7111de1fc942963b14fd7d3 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 16 Jul 2013 12:03:41 -0700 Subject: [PATCH] Rename jugglingdb to loopback-data --- index.js | 2 +- lib/application.js | 4 ++-- lib/connectors/memory.js | 2 +- lib/loopback.js | 4 ++-- lib/models/model.js | 2 +- package.json | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index e5802780..8594093e 100644 --- a/index.js +++ b/index.js @@ -15,4 +15,4 @@ loopback.Memory = require('./lib/connectors/memory'); * Types */ -loopback.GeoPoint = require('jugglingdb/lib/geo').GeoPoint; \ No newline at end of file +loopback.GeoPoint = require('loopback-data/lib/geo').GeoPoint; \ No newline at end of file diff --git a/lib/application.js b/lib/application.js index 703e630e..5e573ad2 100644 --- a/lib/application.js +++ b/lib/application.js @@ -2,8 +2,8 @@ * Module dependencies. */ -var DataSource = require('jugglingdb').DataSource - , ModelBuilder = require('jugglingdb').ModelBuilder +var DataSource = require('loopback-data').DataSource + , ModelBuilder = require('loopback-data').ModelBuilder , assert = require('assert') , RemoteObjects = require('sl-remoting'); diff --git a/lib/connectors/memory.js b/lib/connectors/memory.js index ce027f27..3bfa4a75 100644 --- a/lib/connectors/memory.js +++ b/lib/connectors/memory.js @@ -13,7 +13,7 @@ var Connector = require('./base-connector') , util = require('util') , inherits = util.inherits , assert = require('assert') - , JdbMemory = require('jugglingdb/lib/adapters/memory'); + , JdbMemory = require('loopback-data/lib/adapters/memory'); /** * Create a new `Memory` connector with the given `options`. diff --git a/lib/loopback.js b/lib/loopback.js index 14b60a1a..a5466db0 100644 --- a/lib/loopback.js +++ b/lib/loopback.js @@ -9,8 +9,8 @@ var express = require('express') , path = require('path') , proto = require('./application') , utils = require('express/node_modules/connect').utils - , DataSource = require('jugglingdb').DataSource - , ModelBuilder = require('jugglingdb').ModelBuilder + , DataSource = require('loopback-data').DataSource + , ModelBuilder = require('loopback-data').ModelBuilder , assert = require('assert') , i8n = require('inflection'); diff --git a/lib/models/model.js b/lib/models/model.js index 32e51364..e512a4af 100644 --- a/lib/models/model.js +++ b/lib/models/model.js @@ -2,7 +2,7 @@ * Module Dependencies. */ -var ModelBuilder = require('jugglingdb').ModelBuilder; +var ModelBuilder = require('loopback-data').ModelBuilder; var modeler = new ModelBuilder(); /** diff --git a/package.json b/package.json index 0e5e3e01..49d5f0de 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dependencies": { "debug": "latest", "express": "~3.1.1", - "jugglingdb": "git+ssh://git@github.com:strongloop/jugglingdb.git", + "loopback-data": "git+ssh://git@github.com:strongloop/loopback-data.git", "sl-remoting": "git+ssh://git@github.com:strongloop/sl-remoting.git", "inflection": "~1.2.5", "bcrypt": "~0.7.6",