capistrano-slackify 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/capistrano-slackify.gemspec +2 -2
- data/lib/slackify.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6efe9edb2bfae9ed432763cc512c2dd71d87779f
|
4
|
+
data.tar.gz: 76eced927e78e318647d365931fb86dd891a0268
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa01862a635434cdaf6edd3174c33d08ef29a6294938430d569b90f7e3745a266f04983a3ccce4d71902567ca3e80f1b1d5e2a2d84e452e3e37bd2611a15813e
|
7
|
+
data.tar.gz: 9715200f4b82f656b7e5023171d8a0ef98577e4e433f0a26597cc641ff313d15701f214960044ce935c02646479323dadf28a33135a180363e373a39e4895700
|
data/.travis.yml
CHANGED
data/capistrano-slackify.gemspec
CHANGED
@@ -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.
|
7
|
+
spec.version = '2.2.0'
|
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}
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
20
|
spec.add_runtime_dependency 'capistrano', '>= 3.1.0'
|
21
|
-
spec.add_runtime_dependency '
|
21
|
+
spec.add_runtime_dependency 'multi_json'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
24
24
|
spec.add_development_dependency 'rake'
|
data/lib/slackify.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'multi_json'
|
2
2
|
|
3
3
|
module Slackify
|
4
4
|
class Payload
|
@@ -19,13 +19,13 @@ module Slackify
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def payload
|
22
|
-
{
|
22
|
+
MultiJson.dump({
|
23
23
|
channel: fetch(:slack_channel),
|
24
24
|
username: fetch(:slack_username),
|
25
25
|
text: text,
|
26
26
|
icon_emoji: fetch(:slack_emoji),
|
27
27
|
parse: fetch(:slack_parse)
|
28
|
-
}
|
28
|
+
})
|
29
29
|
end
|
30
30
|
|
31
31
|
def fetch(*args, &block)
|
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.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- seenmyfate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: multi_json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|