slack_webhooks 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 096e98f65714902ce1578ebe42d0d31bf91c1b40
4
- data.tar.gz: 60e5e00719fb55830a4fc12ac7fdc2d261fc2c50
3
+ metadata.gz: 001dedc9da30d97314b71dcba60db67a664d8003
4
+ data.tar.gz: a222c6cd4d737b9fc4e2315f0a6f5f5238b0c2cd
5
5
  SHA512:
6
- metadata.gz: f996260238ff97808f65523344cecbe48fa228d013e21cf2ee872d9fe862edb4cbe949e212e595031ddbe6406c165f07a0089586744587bb23f6507e88eb7abc
7
- data.tar.gz: d2fdb0136f9498d046705dbbd1d6c004ae9c0721ecf66eab7370512fbc6750ad64b6043d2891861097472ee480311314bf074cab7e4411da3c58d8dc6aa27279
6
+ metadata.gz: 62b2d26acc7436f552f68791093c0471925473c3bdc305773e97355bd6f8ca12be57aaabeea21218a6734cf29b80f7cad8d0fc7e6986229e590936c44416e78d
7
+ data.tar.gz: 44dbe766f927b4f383ee7db3f06566e39d81eb9d8470c63a83a219a7782ed22a0d98b2d30b176c9b31dcfa4287c6f5c5a6979e8f7775aca06c243f245220a974
@@ -1,3 +1,3 @@
1
1
  module SlackWebhooks
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -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
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder