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 +4 -4
- data/lib/slack/post/version.rb +1 -1
- data/lib/slack/post.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad6a9a6fa3e7712ab8f8a1b0711dc6b63934e0d8
|
4
|
+
data.tar.gz: 4b150f642a4e95554291d3133efa14eeb9670004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ef190f00ef9ed12f013d765e3873f71130024379d3b58ac79190be3359aa686c1c344d0fda6862137087b420da5c0c235a021888f4942b09757f15ee38c032
|
7
|
+
data.tar.gz: 6b21f1cdebfde51c130abbba94ebd048b7b38fed9003edaf4bbb92e3afc06621614ee1d993bddabbf7b89c7a169192a805b54868b51ef47f4b51ab63acedbcdc
|
data/lib/slack/post/version.rb
CHANGED
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, :
|
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.
|
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-
|
11
|
+
date: 2017-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|