chef-handler-status_notifier 0.4.3 → 0.4.4

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: 73f6f38bd841e0e107c2400b0b235ddbdc753198
4
- data.tar.gz: c3bec7725443d7cd528bba619837ecfe1e32a0c2
3
+ metadata.gz: 3149f18b65e07619bad10f7b36ce33d0ac29fc42
4
+ data.tar.gz: 3c3d034ad1bfac27d916a3cc8f3f2d91bd03bc91
5
5
  SHA512:
6
- metadata.gz: d1d91d29d62913121f7409bc006a70cbd99703940812bab09ab4fcfb6fc0f869ed452dec688ee15d972927263971d32d794f2ef8f01a2389777bd159ce289dbe
7
- data.tar.gz: 9c4d45ea5265ce2a5e301aca7701932d5286c540523c7b66f1fd8d0597b73d442e4d1dba0f0d504d51758846376c622c20336a2a975bc90a434a8b6bb8888105
6
+ metadata.gz: 88e108cd32ecd04df1b2f441ee75cd9cfe71a0de5a0eeae6ddb15f37a4f006c6a7c1f587dac2179fe06037d0430308de8c9415e8941a4e3564f1e0f3a8da35ec
7
+ data.tar.gz: 5b0ede03e06aa9d39b8490b096157e4a3b4c00de5cc73807fcb129c993993c022758d69a9dbb5b22dc7a67180b147c2618f6651d5aa4e4bd3e7cee496149bb8d
@@ -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.3"
6
+ spec.version = "0.4.4"
7
7
  spec.authors = ["Faizal Zakaria"]
8
8
  spec.email = ["phaibusiness@gmail.com"]
9
9
  spec.summary = %q{Chef status notifier handler}
@@ -45,9 +45,7 @@ class StatusNotifierHandler < Chef::Handler
45
45
 
46
46
  def send_to_slack(node_name, status, msg)
47
47
  return unless @slack_params[:enabled]
48
- slack.channel = @slack_params[:channel]
49
- slack.username = @slack_params[:username]
50
- slack.ping '', attachments: [slack_attachment(node_name, status, msg)]
48
+ slack.ping '', attachments: [slack_attachment(node_name, status, msg)], channel: @slack_params[:channel], username: @slack_params[:username]
51
49
  end
52
50
 
53
51
  def hipchat
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.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Faizal Zakaria
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2017-01-05 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.5.1
94
+ rubygems_version: 2.5.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Chef status notifier handler