slack_webhooks 0.0.3 → 0.0.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: fad94820f8d3dd81d3760d6328386819e89ceb61
4
- data.tar.gz: ce6699c25362df460b38059239a873bab2bbeadc
3
+ metadata.gz: 6392837e069b0b29a9fe559d5a518f95caa29b9c
4
+ data.tar.gz: dabb45b973648b81975afb435b25cb64f369bf81
5
5
  SHA512:
6
- metadata.gz: 8a91caac4047fb548ea47098ef912132f7695ff21f8d78350f3e323c5e824e5a2e6619485bb3a7d0f4b697cf60470cf0459fadd75581d9e27004a5a98e04b518
7
- data.tar.gz: 111aa98b4557a8a414b219a9cbc301fa9a57f1ff7d5b36968e2987b4e687be9008c8083f656bf1b62bef8715eeb26233fd43c21b5501d670f268b5033443b848
6
+ metadata.gz: a8b8395db74d7ce4e3d4ed796bc64e788fecb80882c26d3fe46a0fd609d095d73b39f039b13ccb3879c360fb7d1bfc4f65f69dad09668fb0bd068291a4dcb125
7
+ data.tar.gz: 2067c8b1b458b8bb81474d31ae5dcf78b826a1217bb99b7c0cc1f4bfe39c7c7a6816dc05671ec0b8e691e1706661d15a071b49f796e1cf9a8538daa8261edf8d
@@ -49,7 +49,6 @@ module SlackWebhooks
49
49
  def send(s, options={})
50
50
  # Now send it to back to the channel on slack
51
51
  s = "#{command} #{text}" if s.nil?
52
- puts "Posting #{s} to #{channel}. .."
53
52
  notifier = Slack::Notifier.new webhook_url
54
53
  notifier.channel = channel
55
54
  notifier.username = botname
@@ -61,6 +60,8 @@ module SlackWebhooks
61
60
  options[:icon_url] = self.icon_url
62
61
  end
63
62
 
63
+ puts "Posting #{s} to #{channel} with options #{options}"
64
+
64
65
  resp = notifier.ping s, options
65
66
 
66
67
  p resp
@@ -1,3 +1,3 @@
1
1
  module SlackWebhooks
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder