slacked 0.6.0 → 0.7.0

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: 8a7da465607719f44e4f1e56da1124890fca7173
4
- data.tar.gz: 6f32fb134f62f24c51ebf091fd353c29a58cc865
3
+ metadata.gz: 43c93f797ec347cc95898adf7ff3db9878d5a6c5
4
+ data.tar.gz: 7b6f2fb2794724e639549f6f625fa3c930d93734
5
5
  SHA512:
6
- metadata.gz: 4930ec81f754c60a490f4daef5246306fa947244af777d97b8264fdadfd22050dd49dd1eadebc4f045105c4d184a16a957a722d68a11dd7a2203b5acba652891
7
- data.tar.gz: 84e9c0d777f66d49957340ff9398d21d91dc2c5a2ef678c152283b7e644e4bb0385cf1f73d03e0676f6e175ae83e2636db26a796cdfcebf2795b5d0a15e7cd01
6
+ metadata.gz: 7a8914973c57b03e2e6248bae9a5d45639cc9b4b81fc6133a33aa1923ae887da828c2ce4f687b7d44503f8cbaa008c14b4d218d37ff41e5ad0ee4356511531b2
7
+ data.tar.gz: 9992d5d1ae2a1cde5c32e8849cc86a4297d720a54ce185d88dc4cdced1c24f4558875bbb1e4b9918022f4c9466d5640fad2fe5bbc62e101581698949be2222f5
@@ -1,9 +1,9 @@
1
1
  module Slacked
2
2
  class << self
3
3
 
4
- def post
4
+ def post message = ENV["SLACK_MESSAGE"]
5
5
  send = Slack::Notifier.new ENV["SLACK_WEBHOOK"]
6
- send.ping ENV["SLACK_MESSAGE"], icon_emoji: ":ghost:"
6
+ send.ping message, icon_emoji: ":ghost:"
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Slacked
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slacked
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sean