capistrano-helpers 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2565c2634ee8996d143d90ac9a6c2e03baa37876
4
- data.tar.gz: 244dae3d4214ecf271d162f1a86b6b11a4a0372a
3
+ metadata.gz: e919629f0254d5b38e98dd1079343db96cf0a741
4
+ data.tar.gz: dc493a9a207622092b848d6d591566664e8edf32
5
5
  SHA512:
6
- metadata.gz: b9e8a0889476ba5e8366af76ec114a3a59fb1ad96e957d08354734259966634dbdf57288d29838cda7b8827071cf3afd55f1726e3c72dd205e411de5531ef05b
7
- data.tar.gz: d17a3832a4784d7ae4720cd8c31fded0074e547cbe3e4ff1f0a80e244ad711fcb02830274162911b28739cd4c2afbc6481add5f7b1ffe9b6f968d5af2004161e
6
+ metadata.gz: 42df7101463fcbfae1cbbc7624e42035cfca5d9a8142b5f3d1675a5af7cf5e9383500bac6dcc8e3b71094712d779463f43b28f8f538f8dbe07b0a75dc395ad56
7
+ data.tar.gz: db32a7adf116b840d107bc9cf96405f19b0496f020fdca631df926c7f4b3bf89ef3cffcde3f34cf22e0bfe7687c1e8b2b3380a8eb12ef8f0d6f75eec74a8d7b1
data/README.md CHANGED
@@ -202,6 +202,35 @@ This will create two symbolic links on the production server:
202
202
  #{release_path}/config/database.yml -> #{shared_path}/private/config/database.yml
203
203
  #{release_path}/config/session_secret.txt -> #{shared_path}/private/config/session_secret.txt
204
204
 
205
+ ### slack
206
+
207
+ Once the deploy is complete, this helper will post a message to the given
208
+ Slack room stating the username, the application, the branch/tag and the
209
+ environment. E.g.:
210
+
211
+ Scott Woods just deployed myapp v0.5.4 to staging
212
+
213
+ You will need to add the <tt>slack-notifier</tt> gem to your Gemfile.
214
+
215
+ This helper also expects to find a configuration file <tt>config/slack.yml</tt>
216
+ with the following format:
217
+
218
+ # This file is used for developer chat room notifications.
219
+ webhook_url: "https://hooks.slack.com/services/YOUR_SLACK_WEBHOOK_HERE"
220
+ channel: "#flip-learning"
221
+ username: "capistrano"
222
+ icon_emoji: ":bird:"
223
+
224
+ You can override the location of the configuration file by setting the
225
+ :slack_config variable:
226
+
227
+ set :slack_config, 'somewhere/else.yml'
228
+
229
+ You can disable the notification for a specific deployment stage by setting
230
+ the :slack_notifications variable to false, e.g. in config/deploy/staging:
231
+
232
+ set :slack_notifications, false
233
+
205
234
  ### specs
206
235
 
207
236
  Before the app is deployed, this helper checks out the branch/tag that is
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.0
1
+ 0.11.0
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: capistrano-helpers 0.10.0 ruby lib
5
+ # stub: capistrano-helpers 0.11.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "capistrano-helpers"
9
- s.version = "0.10.0"
9
+ s.version = "0.11.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Woods