hubot-slack
Advanced tools
Comparing version 3.3.0 to 3.4.0
{ | ||
"name": "hubot-slack", | ||
"version": "3.3.0", | ||
"author": { | ||
"name": "Tiny Speck", | ||
"url": "https://www.tinyspeck.com/" | ||
"version": "3.4.0", | ||
"description": "A Slack adapter for hubot", | ||
"main": "./index", | ||
"scripts": { | ||
"test": "mocha --compilers coffee:coffee-script/register --reporter spec" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Myles Grant", | ||
"email": "myles@tinyspeck.com" | ||
}, | ||
{ | ||
"name": "Evan Solomon" | ||
}, | ||
{ | ||
"name": "Jon Dalberg" | ||
}, | ||
{ | ||
"name": "Patrick Connolly" | ||
}, | ||
{ | ||
"name": "Chip Hayner", | ||
"email": "chayner@centresource.com" | ||
}, | ||
{ | ||
"name": "Eric Lindvall", | ||
"email": "eric@papertrailapp.com" | ||
} | ||
], | ||
"keywords": [ | ||
@@ -37,9 +15,4 @@ "hubot", | ||
], | ||
"description": "A Slack adapter for hubot", | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://opensource.org/licenses/mit-license.php" | ||
} | ||
], | ||
"author": "Slack Technologies, Inc.", | ||
"license": "MIT", | ||
"repository": { | ||
@@ -50,8 +23,11 @@ "type": "git", | ||
"bugs": { | ||
"url": "https://github.com/slackhq/hubot-slack/issues", | ||
"email": "feedback@tinyspeck.com" | ||
"url": "https://github.com/slackhq/hubot-slack/issues" | ||
}, | ||
"dependencies": { | ||
"slack-client": "~1.4.0" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "~1.7.1", | ||
"grunt": "~0.4.1", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-release": "~0.6.0", | ||
@@ -64,12 +40,29 @@ "should": "~2.0.2", | ||
}, | ||
"main": "./index", | ||
"engines": { | ||
"node": ">=0.4.7" | ||
"node": ">=0.4.7", | ||
"npm": ">= 1.1.x" | ||
}, | ||
"scripts": { | ||
"test": "mocha --compilers coffee:coffee-script/register --reporter spec" | ||
}, | ||
"dependencies": { | ||
"slack-client": "~1.4.0" | ||
} | ||
"contributors": [ | ||
{ | ||
"name": "Myles Grant", | ||
"email": "myles@tinyspeck.com" | ||
}, | ||
{ | ||
"name": "Evan Solomon" | ||
}, | ||
{ | ||
"name": "Jon Dalberg" | ||
}, | ||
{ | ||
"name": "Patrick Connolly" | ||
}, | ||
{ | ||
"name": "Chip Hayner", | ||
"email": "chayner@centresource.com" | ||
}, | ||
{ | ||
"name": "Eric Lindvall", | ||
"email": "eric@papertrailapp.com" | ||
} | ||
] | ||
} |
@@ -34,13 +34,12 @@ # hubot-slack | ||
- `heroku create my-company-slackbot` | ||
- `heroku addons:add redistogo:nano` | ||
- `heroku addons:create rediscloud:30` | ||
- Activate the Hubot service on your ["Team Services"](http://my.slack.com/services/new/hubot) page inside Slack. | ||
- Add the [config variables](#adapter-configuration). For example: | ||
- Add the [config variables](#configuration). For example: | ||
% heroku config:add HEROKU_URL=http://my-company-slackbot.herokuapp.com | ||
% heroku config:add HEROKU_URL=https://my-company-slackbot.herokuapp.com | ||
% heroku config:add HUBOT_SLACK_TOKEN=xoxb-1234-5678-91011-00e4dd | ||
- Deploy and start the bot: | ||
- Deploy the bot: | ||
% git push heroku master | ||
% heroku ps:scale web=1 | ||
@@ -64,3 +63,3 @@ - Profit! | ||
- Deploy your new hubot to production. | ||
- Once you're happy it works, remove the old hubot integration from | ||
- Once you're happy it works, disable the old hubot integration from | ||
https://my.slack.com/services | ||
@@ -76,2 +75,4 @@ | ||
If you have scripts that send notifications to specific channels, use the channel name ie. `HUBOT_TWITTER_MENTION_ROOM="#general"` Keep in mind that your bot needs to be joined to your specific channels by the /invite slash command. | ||
If you're using the [hubot-auth](https://github.com/hubot-scripts/hubot-auth/) script, you can get the user IDs required for the `HUBOT_AUTH_ADMIN` setting by calling the [users.list API method](https://api.slack.com/methods/users.list/test). | ||
@@ -78,0 +79,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
32690
80
9