slack-poster 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 +4 -4
- data/lib/slack-poster/poster.rb +2 -2
- data/lib/slack-poster/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5249484a668973cfc0d259ae96503cec59118451
|
4
|
+
data.tar.gz: 58236ac7caa81963298cb817931ed224f99c848f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17bd59116e431eb6d4abd08e0c1c3970d18ec9c200725a96e21fb58ed70666d9fe11cace9b44a41e81921d5a4a4d7c31b4411ad0224686b378e1aecaec06c08e
|
7
|
+
data.tar.gz: c1fddda791d8130e304a7c76529e76735c62b383176fef600779e809a6e3cf4ac30de6f84332026e76de64efd45de2300e45e8c81a122020d31395f372332682
|
data/lib/slack-poster/poster.rb
CHANGED
@@ -46,8 +46,8 @@ module Slack
|
|
46
46
|
@icon_emoji = format_emoji(options[:icon_emoji])
|
47
47
|
@icon_url = options[:icon_url]
|
48
48
|
|
49
|
-
raise ArgumentError, 'Team name is required' if team.
|
50
|
-
raise ArgumentError, 'Token is' if token.
|
49
|
+
raise ArgumentError, 'Team name is required' if team.nil?
|
50
|
+
raise ArgumentError, 'Token is' if token.nil?
|
51
51
|
end
|
52
52
|
|
53
53
|
# This method will post to the configured team Slack.
|
data/lib/slack-poster/version.rb
CHANGED