slack-post 0.3.5 → 0.3.6

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: 704e64eaa7e2068c92f59aa56ddbfced5d4535cf
4
- data.tar.gz: 4f41a8d67f199e2ef8ecafbdf5412869ec97c933
3
+ metadata.gz: ad6a9a6fa3e7712ab8f8a1b0711dc6b63934e0d8
4
+ data.tar.gz: 4b150f642a4e95554291d3133efa14eeb9670004
5
5
  SHA512:
6
- metadata.gz: f23c02dc1b21f7831808bed27b125832e2b2364848f95b187d82f5cb49a13c28cbae63f030f571218be5a430b53fcc4813402b26f28a593e3d213af42db24063
7
- data.tar.gz: 86ae75a02ac524b1050899f9980ca2ce2074b1e9bd3fc6a2410cdb3d1b0305a47e369d9edc1be2d5f4c08d5a7f7d498a5916967a6be109588465cea5beef452d
6
+ metadata.gz: d7ef190f00ef9ed12f013d765e3873f71130024379d3b58ac79190be3359aa686c1c344d0fda6862137087b420da5c0c235a021888f4942b09757f15ee38c032
7
+ data.tar.gz: 6b21f1cdebfde51c130abbba94ebd048b7b38fed9003edaf4bbb92e3afc06621614ee1d993bddabbf7b89c7a169192a805b54868b51ef47f4b51ab63acedbcdc
@@ -1,5 +1,5 @@
1
1
  module Slack
2
2
  module Post
3
- VERSION = "0.3.5"
3
+ VERSION = "0.3.6"
4
4
  end
5
5
  end
data/lib/slack/post.rb CHANGED
@@ -89,7 +89,7 @@ module Slack
89
89
  end
90
90
 
91
91
  KnownConfigParams = [:webhook_url, :username, :channel, :subdomain, :token, :icon_url, :icon_emoji].freeze
92
- AttachmentParams = [:fallback, :text, :pretext, :color, :fields, :image_url, :mrkdwn_in].freeze
92
+ AttachmentParams = [:fallback, :title, :title_link, :author_name, :author_link, :author_icon, :image_url, :thumb_url, :text, :pretext, :color, :fields, :footer, :footer_icon, :ts, :mrkdwn_in].freeze
93
93
  FieldParams = [:title, :value, :short].freeze
94
94
 
95
95
  def self.prune(opts, allowed_elements = KnownConfigParams)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-post
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bragg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-14 00:00:00.000000000 Z
11
+ date: 2017-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler