README.md in slackistrano-1.1.0 vs README.md in slackistrano-2.0.0
- old
+ new
@@ -6,10 +6,15 @@
Send notifications to [Slack](https://slack.com) about [Capistrano](http://www.capistranorb.com) deployments.
If you need Capistrano v2 support, check out [capistrano-slack](https://github.com/j-mcnally/capistrano-slack).
+## NOTE: Upgrading from 1.x? Not Getting Notifications?
+
+Version 2.0 has changed how Slackistrano must be loaded in your Gemfile and Capfile. See the *Installation* section
+below current install.
+
## Requirements
- Capistrano >= 3.1.0
- Ruby >= 2.0
- A Slack account
@@ -17,11 +22,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'slackistrano', require: false
+gem 'slackistrano'
```
And then execute:
```bash
@@ -38,10 +43,10 @@
In both case, you need to enable the integration inside Slack and get the token and/or webhook url that will be needed later.
Require the library in your application's Capfile:
```ruby
-require 'slackistrano'
+require 'slackistrano/capistrano'
```
If you post using *Incoming Webhooks* you need to set your webhook url in your application's config/deploy.rb:
```ruby