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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4e069d97855cb4b0318683b0ff4556fd03fbe87
4
- data.tar.gz: 3a9e29c5938f89f0efa960977a5e8f6905b8b2ec
3
+ metadata.gz: 302ceb797574f63a1770ceab358b803c2c89d378
4
+ data.tar.gz: 9eeaf7e3024301e0a35285d7b76671c6b4eb50f1
5
5
  SHA512:
6
- metadata.gz: 3d2f18686affee05e9a754a35d28898e685102ae3c1378da35c29b81d35ae8c9d88de69b68a10eb42c5a3509ad2bc256ac744e129cef0ca85f4126925cb963bd
7
- data.tar.gz: 7d97debffc22395df2e4cf950346b7ebe209d078b3018a38047253f9daafd2ddc9b288ca8197ec7c3edc169f20e2f2a8c26c44cebe697064eccb6e72b83fa08b
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(msg, attachments: [a_ok_note])
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(:team), config(:token))
41
+ ::Slack::Notifier.new(config[:team], config[:token])
42
42
  end
43
43
 
44
44
  end
@@ -1,6 +1,6 @@
1
1
  module Jackal
2
2
  module Slack
3
3
  # current library version
4
- VERSION = Gem::Version.new('0.1.0')
4
+ VERSION = Gem::Version.new('0.1.2')
5
5
  end
6
6
  end
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.0
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-15 00:00:00.000000000 Z
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