capistrano-slackify 2.10.1 → 2.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2e5dbd404510e4b3d32fedaf81f56c1d5bd8b60ea63a185f5981ea4a05c5986
4
- data.tar.gz: 8bed4d0b391b6da359a9221a591d8ff7c3d5b316b0daa22ce9adb40c660b79fc
3
+ metadata.gz: fe6b8146da9d52905a9f6392bcb7f9c2b09c568d1841ca8f0c680b65d517c930
4
+ data.tar.gz: a7ee4da86d26b52d84c170d2cf8b51708e1dd5fab16c3bd486fd798ccc195822
5
5
  SHA512:
6
- metadata.gz: cd92f94b64dcecfe89f15ec130e561a1abfe4a73a7c20b232a93b6ce79585932b75c929b9deb58510634a82a3fb5c120356682b53681947edb14a719df11b33e
7
- data.tar.gz: ee1b54c4d9cf52b55e0bb93f1ae543f3672e82344c418a0934e7116a946141d32d5aef9f04353f8c40aa9644bb28c1f11211b6965edcc462397ae6d157288413
6
+ metadata.gz: f96ae4730499f985a7440f33894e8fa07ab06511f46377d34a4cdc8180a5a1906d1d14eb6cd69615d0e0ad672a344a79fad7c4f04dd0a4ac68b1f587ab524401
7
+ data.tar.gz: 9f8c3fbb557711adc5f33b6179092faba9e7b622a413fe5c1c0abd8b75ad80a43fbbe17dfd31718df1f75c7ab0f94a045d088d2ea1c8d5d3d6d92cbb2610226f
data/.travis.yml CHANGED
@@ -3,4 +3,3 @@ before_install:
3
3
  rvm:
4
4
  - 2.3.0
5
5
  - 2.2
6
- - jruby-9.0.0.0
data/README.md CHANGED
@@ -104,7 +104,7 @@ You can setup custom fields by defining a mapping for how to display them in sla
104
104
 
105
105
  To configure the way slack parses your message (see 'Parsing Modes' at https://api.slack.com/docs/formatting) use the `:slack_parse` setting:
106
106
 
107
- set :slack_parse, 'none' # available options: 'default', 'none', 'full'
107
+ set :slack_parse, 'none' # available options: 'none', 'full'
108
108
 
109
109
  ### Copyright
110
110
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-slackify'
7
- spec.version = '2.10.1'
7
+ spec.version = '2.10.2'
8
8
  spec.authors = ['seenmyfate']
9
9
  spec.email = ['seenmyfate@gmail.com']
10
10
  spec.summary = %q{Publish deployment notifications to Slack via the incoming webhooks integration}
@@ -60,7 +60,7 @@ namespace :load do
60
60
  set :slack_channel, ['#general']
61
61
  set :slack_username, 'Capistrano'
62
62
  set :slack_emoji, ':ghost:'
63
- set :slack_parse, 'default'
63
+ set :slack_parse, 'full'
64
64
  set :slack_user, -> { local_user.to_s.strip }
65
65
  set :slack_fields, ['status', 'stage', 'branch', 'revision', 'hosts']
66
66
  set :slack_custom_field_mapping, {}
@@ -8,7 +8,7 @@ module Slackify
8
8
  slack_channel: '#general',
9
9
  slack_username: 'Capistrano',
10
10
  slack_emoji: ':ghost:',
11
- slack_parse: 'default',
11
+ slack_parse: 'full',
12
12
  slack_user: 'You',
13
13
  slack_fields: ['status', 'stage', 'branch', 'revision', 'hosts', 'custom_field', 'custom_field_with_proc'],
14
14
  slack_custom_field_mapping: {
@@ -36,7 +36,7 @@ module Slackify
36
36
  }
37
37
 
38
38
  let(:payload) {
39
- %{'payload={"channel":"#general","username":"Capistrano","icon_emoji":":ghost:","parse":"default","attachments":[{"fallback":":boom:","color":"good","text":":boom:","fields":[{"title":"Status","value":"success","short":true},{"title":"Stage","value":"sandbox","short":true},{"title":"Branch","value":"master","short":true},{"title":"Revision","value":"SHA","short":true},{"title":"Hosts","value":"192.168.10.1\\r192.168.10.2","short":true},{"title":"custom title","value":"custom value","short":false},{"title":"custom title proc","value":"custom value proc","short":false}],"mrkdwn_in":["text"]}]}'}
39
+ %{'payload={"channel":"#general","username":"Capistrano","icon_emoji":":ghost:","parse":"full","attachments":[{"fallback":":boom:","color":"good","text":":boom:","fields":[{"title":"Status","value":"success","short":true},{"title":"Stage","value":"sandbox","short":true},{"title":"Branch","value":"master","short":true},{"title":"Revision","value":"SHA","short":true},{"title":"Hosts","value":"192.168.10.1\\r192.168.10.2","short":true},{"title":"custom title","value":"custom value","short":false},{"title":"custom title proc","value":"custom value proc","short":false}],"mrkdwn_in":["text"]}]}'}
40
40
  }
41
41
 
42
42
  let(:text) { context.fetch(:slack_text) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-slackify
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.1
4
+ version: 2.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - seenmyfate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-04 00:00:00.000000000 Z
11
+ date: 2018-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano