jackal-slack 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jackal-slack-0.1.1.gem +0 -0
- data/lib/jackal-slack/notification.rb +2 -2
- data/lib/jackal-slack/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 302ceb797574f63a1770ceab358b803c2c89d378
|
4
|
+
data.tar.gz: 9eeaf7e3024301e0a35285d7b76671c6b4eb50f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0713d953aa3028522048806e7d2f406af9c9f3e801de0ca0f428a857c15e5d787a2df7b47201e4f54c0c20bf7512925256ec4b9c88a0bab38b0f2cee8a9cfcad
|
7
|
+
data.tar.gz: c59f63082fec27235a3398df574da983584ccfc9202cc68b71ff206d7af6e4f46e4a540ce1a63cebb97dd13ad4d92b7f1524269215cc4696d2950b1a15cf8c26
|
Binary file
|
@@ -28,7 +28,7 @@ module Jackal
|
|
28
28
|
text: msg,
|
29
29
|
color: slack_msg[:color]
|
30
30
|
}
|
31
|
-
notifier.ping(
|
31
|
+
notifier.ping("Test kitchen run result:", attachments: [a_ok_note])
|
32
32
|
end
|
33
33
|
|
34
34
|
job_completed(:slack_notification, payload, message)
|
@@ -38,7 +38,7 @@ module Jackal
|
|
38
38
|
# Return slack_notifier object using team & token from data or config
|
39
39
|
# depending on what's loaded in the environment
|
40
40
|
def slack_notifier
|
41
|
-
::Slack::Notifier.new(config
|
41
|
+
::Slack::Notifier.new(config[:team], config[:token])
|
42
42
|
end
|
43
43
|
|
44
44
|
end
|
data/lib/jackal-slack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jackal-slack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heavywater
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jackal
|
@@ -46,6 +46,7 @@ extra_rdoc_files: []
|
|
46
46
|
files:
|
47
47
|
- CHANGELOG.md
|
48
48
|
- README.md
|
49
|
+
- jackal-slack-0.1.1.gem
|
49
50
|
- jackal-slack.gemspec
|
50
51
|
- lib/jackal-slack.rb
|
51
52
|
- lib/jackal-slack/notification.rb
|