slack-poster 1.0.0 → 1.0.1

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: f2983ac4240b7eb64a305d391a72e6a5b938138b
4
- data.tar.gz: 4b29f5d41631752102bec277c02e2f860868c390
3
+ metadata.gz: f0a050b12a6ce8ae2c53036b2702123eca962fa4
4
+ data.tar.gz: a896b337ec14ca27be143f8c730bc3c4309d48a5
5
5
  SHA512:
6
- metadata.gz: f9c82fa36fa830aba79fd595e1faf782d11978510d3a94f4635b21519fd941cb64c31e8e5edfbafce579273d1457404584649d1c202d0199b5c255d2ca938e6e
7
- data.tar.gz: a9e9275421a04637c0ca462f86548198e90424c09b40407380a533fb42b31e8f312ba490e74a0965a4e9733cdae395d5d33a387f377a166a20337421f3776417
6
+ metadata.gz: eac18b2c2d966ab3887c72d64456a570c3275d9176d3c4c4b70fa6769dba148b57845363d93f748a9292337032442e9f20c86699e1e9cc652ea625961a87d5a7
7
+ data.tar.gz: 93348ae808183956d5389e943b0f12990108363de88ac33f611dfbb40f28a631ea645895ffddc349c6cb945e893976b7162051540ae38b7f051a4c3755adf3e0
@@ -47,7 +47,7 @@ module Slack
47
47
  end
48
48
 
49
49
  def send_message(message)
50
- body = message.is_a?(String) ? options.merge(text: text) : options.merge(message.as_json)
50
+ body = message.is_a?(String) ? options.merge(text: message) : options.merge(message.as_json)
51
51
 
52
52
  attach_extras(body) unless attachments.empty?
53
53
 
@@ -1,3 +1,3 @@
1
1
  module Slack
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-poster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero