slack_webhooks 0.2.0 → 0.2.1

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: 99cc17d1f2de0315743589c6b7e2daa87628338a
4
- data.tar.gz: 5cfb5802139e26a4afd30191edcca5b5ddb567a0
3
+ metadata.gz: 7c10874e79c1557fbdfd9f0d20dd8bb96c02ab54
4
+ data.tar.gz: dba3a30e613b336006b71ab034ad7fcb62e2e61f
5
5
  SHA512:
6
- metadata.gz: 5ecbbd29572db20db829f33b8b6cecc4f6274fc13deabf035347e7bc8e2927fee7688a741e00b4d21bf8aa646b57c42a44c9552e3e38ffba05d38f3c336ea788
7
- data.tar.gz: 57d36d7fb781d01cdf1b07fd42640d73b8ac4e61475117832cea7c51d3fb0bd63a3bb4e608b6fd1ccfc63e6e8e0c0bf734de433d97ad02984ac93090d53ba37f
6
+ metadata.gz: 49cb968f08f0a4730e9a6950560d00601946adfcc5a5d11bf42a44ba54b73001f79320a933981a3e64180b5aa8b03b013405f0bad5bb31f113a359670b8b23d1
7
+ data.tar.gz: 01a1ae3912b95ef972d3470f99344057c3fd4d420496fd4da5f27830184d9da0af52727badce9d2be4a0e7f9abf7aff53b3037badec5f35cf933dd00a5f0becb
@@ -67,9 +67,9 @@ module SlackWebhooks
67
67
  def send(s, options={})
68
68
  # Now send it to back to the channel on slack
69
69
  s = "#{command} #{text}" if s.nil?
70
- notifier = Slack::Notifier.new webhook_url
71
- notifier.channel = channel
72
- notifier.username = botname
70
+ notifier = Slack::Notifier.new webhook_url, channel: channel, username: botname
71
+ # notifier.channel = channel
72
+ # notifier.username = botname
73
73
 
74
74
  resp = nil
75
75
  attachment = options.delete(:attachment)
@@ -1,3 +1,3 @@
1
1
  module SlackWebhooks
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder