From 0cae4d4f38774f6a7014350bdf160d9d8b8bb740 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 1 Jul 2014 08:54:56 -0700 Subject: [PATCH 1/3] Update module name --- LICENSE | 4 ++-- README.md | 8 ++++---- example/public/index.html | 2 +- package.json | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 715666e..ba561b2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ Copyright (c) 2013-2014 StrongLoop, Inc. -loopback-storage-service uses a 'dual license' model. Users may use -loopback-storage-service under the terms of the Artistic 2.0 license, or under +loopback-component-storage uses a 'dual license' model. Users may use +loopback-component-storage under the terms of the Artistic 2.0 license, or under the StrongLoop License. The text of both is included below. Artistic License 2.0 diff --git a/README.md b/README.md index 4fd2c04..08ce7ac 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# loopback-storage-service +# loopback-component-storage LoopBack storage service provides Node.js and REST APIs to manage binary contents using pluggable storage providers, such as local file systems, Amazon S3, or @@ -13,13 +13,13 @@ storage services including: The binary artifacts are organized with containers and files. A container is the collection of files. Each file will belong to a container. -## Define a model with the loopback-storage-service connector +## Define a model with the loopback-component-storage connector LoopBack exposes the APIs using a model that is attached to a data source configured -with the loopback-storage-service connector. +with the loopback-component-storage connector. var ds = loopback.createDataSource({ - connector: require('loopback-storage-service'), + connector: require('loopback-component-storage'), provider: 'filesystem', root: path.join(__dirname, 'storage') }); diff --git a/example/public/index.html b/example/public/index.html index 55c02c8..e7ef4ad 100644 --- a/example/public/index.html +++ b/example/public/index.html @@ -45,7 +45,7 @@ diff --git a/package.json b/package.json index 5d61844..d399484 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "loopback-storage-service", + "name": "loopback-component-storage", "description": "Loopback Storage Service", "version": "1.0.4", "main": "index.js", @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/strongloop/loopback-storage-service.git" + "url": "https://github.com/strongloop/loopback-component-storage.git" }, "license": { "name": "Dual Artistic-2.0/StrongLoop", From 8d607c7526acaf06fd31d4e678f561e3d10fd6a4 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 1 Jul 2014 09:59:22 -0700 Subject: [PATCH 2/3] Update README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 08ce7ac..093caa6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# loopback-component-storage +# LoopBack Storage Component -LoopBack storage service provides Node.js and REST APIs to manage binary contents +**NOTE: The loopback-component-storage module supersedes [loopback-storage-service](https://www.npmjs.org/package/loopback-storage-service). Please update your package.json accordingly.** + +LoopBack storage component provides Node.js and REST APIs to manage binary contents using pluggable storage providers, such as local file systems, Amazon S3, or Rackspace cloud files. We use [pkgcloud](https://github.com/pkgcloud/pkgcloud) to support the cloud based storage services including: From c5658f5ff3772c31227aebd6e5ea07fee6775d23 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 1 Jul 2014 10:55:03 -0700 Subject: [PATCH 3/3] Bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d399484..e84971d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "loopback-component-storage", "description": "Loopback Storage Service", - "version": "1.0.4", + "version": "1.0.5", "main": "index.js", "scripts": { "test": "./node_modules/.bin/mocha --timeout 30000 test/*test.js"