Merge branch 'release/1.0.3' into production

This commit is contained in:
Raymond Feng 2014-06-16 09:04:42 -07:00
commit 593fe080a5
2 changed files with 6 additions and 6 deletions

View File

@ -64,7 +64,7 @@ StorageService.prototype.getContainers = function (cb) {
StorageService.prototype.createContainer = function (options, cb) {
options = options || {};
if ('object' === typeof options && !(options instanceof storage.Container)) {
var Container = factory.getProvider(this.provider).Container;
var Container = factory.getProvider(this.provider).storage.Container;
options = new Container(this.client, options);
}
return this.client.createContainer(options, function (err, container) {

View File

@ -1,22 +1,22 @@
{
"name": "loopback-storage-service",
"description": "Loopback Storage Service",
"version": "1.0.2",
"version": "1.0.3",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --timeout 30000 test/*test.js"
},
"dependencies": {
"pkgcloud": "~0.9.4",
"async": "~0.2.10",
"pkgcloud": "~0.9.6",
"async": "~0.9.0",
"formidable": "~1.0.14"
},
"devDependencies": {
"express": "~3.4.0",
"loopback": "1.x.x",
"mocha": "~1.18.2",
"supertest": "~0.10.0",
"mkdirp": "~0.3.5"
"supertest": "~0.13.0",
"mkdirp": "~0.5.0"
},
"repository": {
"type": "git",