Skip to content

Commit

Permalink
Update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kirkpatrick committed Feb 4, 2016
1 parent 9761b18 commit 16a5f67
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ An 'access' [Operation Hook](https://docs.strongloop.com/display/public/LB/Opera

```json
{
"loopback-component-access": {
"loopback-component-access-groups": {
"{option}": "{value}"
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = function loopbackComponentAccess(app, options) {
loopback.version.split('.')[0] || 1;

if (loopbackMajor < 2) {
throw new Error('loopback-component-access requires loopback 2.0 or newer');
throw new Error('loopback-component-access-groups requires loopback 2.0 or newer');
}

// Initialise helper class.
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = class AccessUtils {
});

// Save the component config for easy reference.
app.set('loopback-component-access', options);
app.set('loopback-component-access-groups', options);
debug('options: %o', options);
}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "loopback-component-access",
"name": "loopback-component-access-groups",
"description": "Access controls for Loopback.",
"version": "0.1.0",
"author": {
"name": "Tom Kirkpatrick @mrfelton"
},
"repository": {
"type": "git",
"url": "https://github.com/fullcube/loopback-component-access.git"
"url": "https://github.com/fullcube/loopback-component-access-groups.git"
},
"keywords": [
"loopback",
Expand All @@ -16,9 +16,9 @@
],
"license": "MIT",
"bugs": {
"url": "https://github.com/fullcube/loopback-component-access/issues"
"url": "https://github.com/fullcube/loopback-component-access-groups/issues"
},
"homepage": "https://github.com/fullcube/loopback-component-access",
"homepage": "https://github.com/fullcube/loopback-component-access-groups",
"files": [
"lib",
"test"
Expand Down

0 comments on commit 16a5f67

Please sign in to comment.