slack_webhooks 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack_webhooks/version.rb +1 -1
- data/lib/slack_webhooks.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: 001dedc9da30d97314b71dcba60db67a664d8003
|
4
|
+
data.tar.gz: a222c6cd4d737b9fc4e2315f0a6f5f5238b0c2cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62b2d26acc7436f552f68791093c0471925473c3bdc305773e97355bd6f8ca12be57aaabeea21218a6734cf29b80f7cad8d0fc7e6986229e590936c44416e78d
|
7
|
+
data.tar.gz: 44dbe766f927b4f383ee7db3f06566e39d81eb9d8470c63a83a219a7782ed22a0d98b2d30b176c9b31dcfa4287c6f5c5a6979e8f7775aca06c243f245220a974
|
data/lib/slack_webhooks.rb
CHANGED
@@ -50,7 +50,7 @@ module SlackWebhooks
|
|
50
50
|
|
51
51
|
# Takes similar options as send. options can have attachments or whatever
|
52
52
|
def set_usage(text, options={})
|
53
|
-
options[:attachments] ||=
|
53
|
+
options[:attachments] ||= []
|
54
54
|
options[:attachments].unshift({'text' => text})
|
55
55
|
self.usage_options = options
|
56
56
|
end
|