slack_webhooks 0.0.8 → 0.0.9
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: 096e98f65714902ce1578ebe42d0d31bf91c1b40
|
4
|
+
data.tar.gz: 60e5e00719fb55830a4fc12ac7fdc2d261fc2c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f996260238ff97808f65523344cecbe48fa228d013e21cf2ee872d9fe862edb4cbe949e212e595031ddbe6406c165f07a0089586744587bb23f6507e88eb7abc
|
7
|
+
data.tar.gz: d2fdb0136f9498d046705dbbd1d6c004ae9c0721ecf66eab7370512fbc6750ad64b6043d2891861097472ee480311314bf074cab7e4411da3c58d8dc6aa27279
|
data/lib/slack_webhooks.rb
CHANGED
@@ -51,7 +51,7 @@ module SlackWebhooks
|
|
51
51
|
# Takes similar options as send. options can have attachments or whatever
|
52
52
|
def set_usage(text, options={})
|
53
53
|
options[:attachments] ||= {}
|
54
|
-
options[:attachments].unshift
|
54
|
+
options[:attachments].unshift({'text' => text})
|
55
55
|
self.usage_options = options
|
56
56
|
end
|
57
57
|
|