chef-handler-status_notifier 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/chef-handler-status_notifier.gemspec +1 -1
- data/lib/chef/handler/status_notifier.rb +2 -2
- 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: 73f6f38bd841e0e107c2400b0b235ddbdc753198
|
4
|
+
data.tar.gz: c3bec7725443d7cd528bba619837ecfe1e32a0c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1d91d29d62913121f7409bc006a70cbd99703940812bab09ab4fcfb6fc0f869ed452dec688ee15d972927263971d32d794f2ef8f01a2389777bd159ce289dbe
|
7
|
+
data.tar.gz: 9c4d45ea5265ce2a5e301aca7701932d5286c540523c7b66f1fd8d0597b73d442e4d1dba0f0d504d51758846376c622c20336a2a975bc90a434a8b6bb8888105
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "chef-handler-status_notifier"
|
6
|
-
spec.version = "0.4.
|
6
|
+
spec.version = "0.4.3"
|
7
7
|
spec.authors = ["Faizal Zakaria"]
|
8
8
|
spec.email = ["phaibusiness@gmail.com"]
|
9
9
|
spec.summary = %q{Chef status notifier handler}
|
@@ -61,9 +61,9 @@ class StatusNotifierHandler < Chef::Handler
|
|
61
61
|
def slack_attachment(node_name, status, msg)
|
62
62
|
color = (status == :failed)? "#ff0000" : "#36a64f"
|
63
63
|
{
|
64
|
-
fallback: "
|
64
|
+
fallback: "Chef status, #{msg}",
|
65
65
|
color: "#{color}",
|
66
|
-
author_name: "
|
66
|
+
author_name: "Fai's Slave (#{node_name})",
|
67
67
|
title: "status: #{status}",
|
68
68
|
text: "#{msg}"
|
69
69
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-status_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Faizal Zakaria
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hipchat
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.4.
|
94
|
+
rubygems_version: 2.4.5.1
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Chef status notifier handler
|