slack-ruby-block-kit 0.18.0 → 0.20.0

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
  SHA256:
3
- metadata.gz: e1dbf4c507a258057e4268545eb470d52283d73f24911adedf77f4cb3bd63dea
4
- data.tar.gz: fbb29fb003bc969ca8d9dc7eb3db3f025afd7585dc671009f5aa482d79fd711f
3
+ metadata.gz: 44fcae6fb294fcbfa6ca384c2a0347e017a512071e0b80c0fa32a222aed25ce4
4
+ data.tar.gz: 8aeeab3e359a31780efa1bc4a112a2ea6ecee249fd5d8053a1934e33a8b583ad
5
5
  SHA512:
6
- metadata.gz: 9838653c7f9641515da8433252f34123dff455b3619c3ba32fbdccaffdb8b16144f830d6ed53a246afd04acbce4ed8887a66ba45079eca99cce50b370afcbae4
7
- data.tar.gz: 4d079f8202a4d9b3a8966adf4f01e37eb0c08a22e074a3dc149a09466ea63124eb7841f8585cfc295880754a68bf2352e33a6b9de8e68afa7b5092c0e9a812c0
6
+ metadata.gz: 9826b5aeafed46bbaed087d3dc6840c02da3c28c556b6d21954b24a5784a4c10cb1894b5f20bc06856f89678a1aec3063386a46e7cc3d268fdb344186ab91899
7
+ data.tar.gz: 32a1d531da9ba92c3b526b84d3c0ea6c9fe962d6386705dcbe7752848c37fc701de1412fa3fa405d0a3a320c984f44383b29c8a5bb19f685ff914be3d9e922db
@@ -16,9 +16,10 @@ jobs:
16
16
  - uses: ruby/setup-ruby@v1
17
17
  with:
18
18
  ruby-version: 2.7
19
- - run: |
20
- otp=${{github.event.inputs.otp}}
21
- echo "::add-mask::$otp"
19
+ - name: Mask OTP
20
+ run: |
21
+ OTP=$(jq -r '.inputs.otp' $GITHUB_EVENT_PATH)
22
+ echo "::add-mask::$OTP"
22
23
  - run: gem update --system
23
24
  - run: git config --global user.email github-action@users.noreply.github.com
24
25
  - run: git config --global user.name GitHub Actions
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
- /.bundle/
1
+ /.bundle
2
+ /vendor/bundle
2
3
  /.yardoc
3
4
  /_yardoc/
4
5
  /coverage/
@@ -7,6 +8,7 @@
7
8
  /spec/reports/
8
9
  /spec/examples.txt
9
10
  /tmp/
11
+ .idea
10
12
 
11
13
  # rspec failure tracking
12
14
  .rspec_status
data/.rubocop.yml CHANGED
@@ -83,5 +83,8 @@ Metrics/ClassLength:
83
83
  Metrics/CyclomaticComplexity:
84
84
  Max: 8
85
85
 
86
+ Metrics/MethodLength:
87
+ Max: 25
88
+
86
89
  RSpec/ExampleLength:
87
- Max: 6
90
+ Max: 25
data/CHANGELOG.md CHANGED
@@ -25,6 +25,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
25
  ### Security
26
26
  - N/A
27
27
 
28
+ ## [0.20.0] - 2022-09-25
29
+
30
+ ### Added
31
+ - Added `focus_on_load` parameter to following elements (#153 by @aka-nez):
32
+ - `Slack::BlockKit::Element::ChannelsSelect`
33
+ - `Slack::BlockKit::Element::Checkboxes`
34
+ - `Slack::BlockKit::Element::ConversationsSelect`
35
+ - `Slack::BlockKit::Element::Datepicker`
36
+ - `Slack::BlockKit::Element::ExternalSelect`
37
+ - `Slack::BlockKit::Element::MultiChannelsSelect`
38
+ - `Slack::BlockKit::Element::MultiConversationsSelect`
39
+ - `Slack::BlockKit::Element::MultiExternalSelect`
40
+ - `Slack::BlockKit::Element::MultiStaticSelect`
41
+ - `Slack::BlockKit::Element::MultiUsersSelect`
42
+ - `Slack::BlockKit::Element::PlainTextInput`
43
+ - `Slack::BlockKit::Element::RadioButtons`
44
+ - `Slack::BlockKit::Element::StaticSelect`
45
+ - `Slack::BlockKit::Element::Timepicker`
46
+ - `Slack::BlockKit::Element::UsersSelect`
47
+
48
+ ## [0.19.0] - 2022-09-05
49
+
50
+ ### Added
51
+ - Added `Slack::BlockKit::Layout::Video` (#152 by @jcat4)
52
+
53
+ This adds support for Slack's new Video Block.
54
+
55
+ See: https://api.slack.com/reference/block-kit/blocks#video
56
+
57
+
28
58
  ## [0.18.0] - 2022-08-26
29
59
 
30
60
  ### Added
@@ -125,8 +155,10 @@ This release contains a breaking change on the `Layout::Actions` interface.
125
155
  - Fixed initial options in multi select blocks (#46 by @caalberts)
126
156
 
127
157
 
128
- [Unreleased]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.18.0...HEAD
129
- [0.17.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.17.0...v0.18.0
158
+ [Unreleased]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.20.0...HEAD
159
+ [0.20.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.19.0...v0.20.0
160
+ [0.19.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.18.0...v0.19.0
161
+ [0.18.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.17.0...v0.18.0
130
162
  [0.17.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.16.0...v0.17.0
131
163
  [0.16.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.15.0...v0.16.0
132
164
  [0.15.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.14.1...v0.15.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slack-ruby-block-kit (0.18.0)
4
+ slack-ruby-block-kit (0.20.0)
5
5
  zeitwerk (~> 2.6)
6
6
 
7
7
  GEM
@@ -55,6 +55,19 @@ module Slack
55
55
  append(block)
56
56
  end
57
57
 
58
+ def video(alt_text:, thumbnail_url:, video_url:, title:, description:, **optional_args)
59
+ block = Layout::Video.new(
60
+ alt_text: alt_text,
61
+ thumbnail_url: thumbnail_url,
62
+ video_url: video_url,
63
+ title: title,
64
+ description: description,
65
+ **optional_args
66
+ )
67
+
68
+ append(block)
69
+ end
70
+
58
71
  def section(block_id: nil)
59
72
  block = Layout::Section.new(block_id: block_id)
60
73
 
@@ -17,10 +17,11 @@ module Slack
17
17
 
18
18
  TYPE = 'channels_select'
19
19
 
20
- def initialize(placeholder:, action_id:, initial: nil, emoji: nil)
20
+ def initialize(placeholder:, action_id:, initial: nil, emoji: nil, focus_on_load: nil)
21
21
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
22
22
  @action_id = action_id
23
23
  @initial_channel = initial
24
+ @focus_on_load = focus_on_load
24
25
 
25
26
  yield(self) if block_given?
26
27
  end
@@ -30,6 +31,7 @@ module Slack
30
31
  type: TYPE,
31
32
  placeholder: @placeholder.as_json,
32
33
  action_id: @action_id,
34
+ focus_on_load: @focus_on_load,
33
35
  initial_channel: @initial_channel,
34
36
  confirm: confirm&.as_json
35
37
  }.compact
@@ -12,8 +12,9 @@ module Slack
12
12
 
13
13
  TYPE = 'checkboxes'
14
14
 
15
- def initialize(action_id:)
15
+ def initialize(action_id:, focus_on_load: nil)
16
16
  @action_id = action_id
17
+ @focus_on_load = focus_on_load
17
18
  @options = []
18
19
 
19
20
  yield(self) if block_given?
@@ -36,6 +37,7 @@ module Slack
36
37
  action_id: @action_id,
37
38
  options: @options.map(&:as_json),
38
39
  initial_options: initial_options&.map(&:as_json),
40
+ focus_on_load: @focus_on_load,
39
41
  confirm: confirm&.as_json
40
42
  }.compact
41
43
  end
@@ -18,10 +18,17 @@ module Slack
18
18
 
19
19
  TYPE = 'conversations_select'
20
20
 
21
- def initialize(placeholder:, action_id:, initial: nil, emoji: nil)
21
+ def initialize(
22
+ placeholder:,
23
+ action_id:,
24
+ initial: nil,
25
+ emoji: nil,
26
+ focus_on_load: nil
27
+ )
22
28
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
23
29
  @action_id = action_id
24
30
  @initial_conversation = initial
31
+ @focus_on_load = focus_on_load
25
32
  @filter = nil
26
33
 
27
34
  yield(self) if block_given?
@@ -44,6 +51,7 @@ module Slack
44
51
  type: TYPE,
45
52
  placeholder: @placeholder.as_json,
46
53
  action_id: @action_id,
54
+ focus_on_load: @focus_on_load,
47
55
  initial_conversation: @initial_conversation,
48
56
  confirm: confirm&.as_json,
49
57
  filter: @filter&.as_json
@@ -14,9 +14,10 @@ module Slack
14
14
 
15
15
  TYPE = 'datepicker'
16
16
 
17
- def initialize(action_id:, placeholder: nil, initial: nil, emoji: nil)
17
+ def initialize(action_id:, placeholder: nil, initial: nil, emoji: nil, focus_on_load: nil)
18
18
  @action_id = action_id
19
19
  @initial_date = initial
20
+ @focus_on_load = focus_on_load
20
21
  @placeholder = placeholder_text(placeholder, emoji)
21
22
 
22
23
  yield(self) if block_given?
@@ -28,6 +29,7 @@ module Slack
28
29
  action_id: @action_id,
29
30
  placeholder: @placeholder&.as_json,
30
31
  initial_date: @initial_date,
32
+ focus_on_load: @focus_on_load,
31
33
  confirm: confirm&.as_json
32
34
  }.compact
33
35
  end
@@ -23,11 +23,19 @@ module Slack
23
23
 
24
24
  TYPE = 'external_select'
25
25
 
26
- def initialize(placeholder:, action_id:, initial: nil, min_query_length: nil, emoji: nil)
26
+ def initialize(
27
+ placeholder:,
28
+ action_id:,
29
+ initial: nil,
30
+ min_query_length: nil,
31
+ emoji: nil,
32
+ focus_on_load: nil
33
+ )
27
34
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
28
35
  @action_id = action_id
29
36
  @initial_option = initial
30
37
  @min_query_length = min_query_length
38
+ @focus_on_load = focus_on_load
31
39
 
32
40
  yield(self) if block_given?
33
41
  end
@@ -37,6 +45,7 @@ module Slack
37
45
  type: TYPE,
38
46
  placeholder: @placeholder.as_json,
39
47
  action_id: @action_id,
48
+ focus_on_load: @focus_on_load,
40
49
  initial_option: @initial_option&.as_json,
41
50
  min_query_length: @min_query_length,
42
51
  confirm: confirm&.as_json
@@ -17,11 +17,19 @@ module Slack
17
17
 
18
18
  TYPE = 'multi_channels_select'
19
19
 
20
- def initialize(placeholder:, action_id:, initial: nil, emoji: nil, max_selected_items: nil)
20
+ def initialize(
21
+ placeholder:,
22
+ action_id:,
23
+ initial: nil,
24
+ emoji: nil,
25
+ max_selected_items: nil,
26
+ focus_on_load: nil
27
+ )
21
28
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
22
29
  @action_id = action_id
23
30
  @initial_channels = initial
24
31
  @max_selected_items = max_selected_items
32
+ @focus_on_load = focus_on_load
25
33
 
26
34
  yield(self) if block_given?
27
35
  end
@@ -32,6 +40,7 @@ module Slack
32
40
  placeholder: @placeholder.as_json,
33
41
  action_id: @action_id,
34
42
  initial_channels: @initial_channels,
43
+ focus_on_load: @focus_on_load,
35
44
  confirm: confirm&.as_json,
36
45
  max_selected_items: @max_selected_items
37
46
  }.compact
@@ -18,11 +18,19 @@ module Slack
18
18
 
19
19
  TYPE = 'multi_conversations_select'
20
20
 
21
- def initialize(placeholder:, action_id:, initial: nil, emoji: nil, max_selected_items: nil)
21
+ def initialize(
22
+ placeholder:,
23
+ action_id:,
24
+ initial: nil,
25
+ emoji: nil,
26
+ max_selected_items: nil,
27
+ focus_on_load: nil
28
+ )
22
29
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
23
30
  @action_id = action_id
24
31
  @initial_conversations = initial
25
32
  @max_selected_items = max_selected_items
33
+ @focus_on_load = focus_on_load
26
34
  @filter = nil
27
35
 
28
36
  yield(self) if block_given?
@@ -46,6 +54,7 @@ module Slack
46
54
  placeholder: @placeholder.as_json,
47
55
  action_id: @action_id,
48
56
  initial_conversations: @initial_conversations,
57
+ focus_on_load: @focus_on_load,
49
58
  confirm: confirm&.as_json,
50
59
  max_selected_items: @max_selected_items,
51
60
  filter: @filter&.as_json
@@ -23,14 +23,21 @@ module Slack
23
23
 
24
24
  TYPE = 'multi_external_select'
25
25
 
26
- def initialize(placeholder:, action_id:,
27
- initial: nil, min_query_length: nil, emoji: nil, max_selected_items: nil)
28
-
26
+ def initialize(
27
+ placeholder:,
28
+ action_id:,
29
+ initial: nil,
30
+ min_query_length: nil,
31
+ emoji: nil,
32
+ max_selected_items: nil,
33
+ focus_on_load: nil
34
+ )
29
35
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
30
36
  @action_id = action_id
31
37
  @initial_options = initial
32
38
  @min_query_length = min_query_length
33
39
  @max_selected_items = max_selected_items
40
+ @focus_on_load = focus_on_load
34
41
 
35
42
  yield(self) if block_given?
36
43
  end
@@ -40,6 +47,7 @@ module Slack
40
47
  type: TYPE,
41
48
  placeholder: @placeholder.as_json,
42
49
  action_id: @action_id,
50
+ focus_on_load: @focus_on_load,
43
51
  initial_options: @initial_options&.map(&:as_json),
44
52
  min_query_length: @min_query_length,
45
53
  confirm: confirm&.as_json,
@@ -19,10 +19,17 @@ module Slack
19
19
 
20
20
  attr_accessor :options, :option_groups
21
21
 
22
- def initialize(placeholder:, action_id:, emoji: nil, max_selected_items: nil)
22
+ def initialize(
23
+ placeholder:,
24
+ action_id:,
25
+ emoji: nil,
26
+ max_selected_items: nil,
27
+ focus_on_load: nil
28
+ )
23
29
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
24
30
  @action_id = action_id
25
31
  @max_selected_items = max_selected_items
32
+ @focus_on_load = focus_on_load
26
33
 
27
34
  @options = nil
28
35
  @option_groups = nil
@@ -58,6 +65,7 @@ module Slack
58
65
  type: TYPE,
59
66
  placeholder: @placeholder.as_json,
60
67
  action_id: @action_id,
68
+ focus_on_load: @focus_on_load,
61
69
  options: @options&.map(&:as_json),
62
70
  option_groups: @option_groups&.map(&:as_json),
63
71
  initial_options: initial_options&.map(&:as_json),
@@ -17,11 +17,19 @@ module Slack
17
17
 
18
18
  TYPE = 'multi_users_select'
19
19
 
20
- def initialize(placeholder:, action_id:, initial: nil, emoji: nil, max_selected_items: nil)
20
+ def initialize(
21
+ placeholder:,
22
+ action_id:,
23
+ initial: nil,
24
+ emoji: nil,
25
+ max_selected_items: nil,
26
+ focus_on_load: nil
27
+ )
21
28
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
22
29
  @action_id = action_id
23
30
  @initial_users = initial
24
31
  @max_selected_items = max_selected_items
32
+ @focus_on_load = focus_on_load
25
33
 
26
34
  yield(self) if block_given?
27
35
  end
@@ -32,6 +40,7 @@ module Slack
32
40
  placeholder: @placeholder.as_json,
33
41
  action_id: @action_id,
34
42
  initial_users: @initial_users,
43
+ focus_on_load: @focus_on_load,
35
44
  confirm: confirm&.as_json,
36
45
  max_selected_items: @max_selected_items
37
46
  }.compact
@@ -20,7 +20,8 @@ module Slack
20
20
  initial_value: nil,
21
21
  multiline: nil,
22
22
  min_length: nil,
23
- max_length: nil
23
+ max_length: nil,
24
+ focus_on_load: nil
24
25
  )
25
26
  @placeholder = placeholder && Composition::PlainText.new(text: placeholder, emoji: emoji)
26
27
  @initial_value = initial_value
@@ -28,6 +29,7 @@ module Slack
28
29
  @multiline = multiline
29
30
  @min_length = min_length
30
31
  @max_length = max_length
32
+ @focus_on_load = focus_on_load
31
33
  @dispatch_action_config = nil
32
34
  end
33
35
 
@@ -48,6 +50,7 @@ module Slack
48
50
  min_length: @min_length,
49
51
  max_length: @max_length,
50
52
  initial_value: @initial_value,
53
+ focus_on_load: @focus_on_load,
51
54
  dispatch_action_config: @dispatch_action_config&.as_json
52
55
  }.compact
53
56
  end
@@ -13,8 +13,9 @@ module Slack
13
13
 
14
14
  attr_accessor :options
15
15
 
16
- def initialize(action_id:)
16
+ def initialize(action_id:, focus_on_load: nil)
17
17
  @action_id = action_id
18
+ @focus_on_load = focus_on_load
18
19
  @options = []
19
20
 
20
21
  yield(self) if block_given?
@@ -36,6 +37,7 @@ module Slack
36
37
  {
37
38
  type: TYPE,
38
39
  action_id: @action_id,
40
+ focus_on_load: @focus_on_load,
39
41
  options: @options.map(&:as_json),
40
42
  initial_option: initial_option&.as_json,
41
43
  confirm: confirm&.as_json
@@ -19,9 +19,10 @@ module Slack
19
19
 
20
20
  attr_accessor :options, :option_groups
21
21
 
22
- def initialize(placeholder:, action_id:, emoji: nil)
22
+ def initialize(placeholder:, action_id:, emoji: nil, focus_on_load: nil)
23
23
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
24
24
  @action_id = action_id
25
+ @focus_on_load = focus_on_load
25
26
 
26
27
  yield(self) if block_given?
27
28
  end
@@ -54,6 +55,7 @@ module Slack
54
55
  type: TYPE,
55
56
  placeholder: @placeholder.as_json,
56
57
  action_id: @action_id,
58
+ focus_on_load: @focus_on_load,
57
59
  options: options&.map(&:as_json),
58
60
  option_groups: option_groups&.map(&:as_json),
59
61
  initial_option: initial_option&.as_json,
@@ -15,10 +15,11 @@ module Slack
15
15
 
16
16
  TYPE = 'timepicker'
17
17
 
18
- def initialize(action_id:, placeholder: nil, initial: nil, emoji: nil)
18
+ def initialize(action_id:, placeholder: nil, initial: nil, emoji: nil, focus_on_load: nil)
19
19
  @placeholder = placeholder_text(placeholder, emoji) if placeholder
20
20
  @initial_time = initial
21
21
  @action_id = action_id
22
+ @focus_on_load = focus_on_load
22
23
 
23
24
  yield(self) if block_given?
24
25
  end
@@ -29,6 +30,7 @@ module Slack
29
30
  action_id: @action_id,
30
31
  placeholder: @placeholder&.as_json,
31
32
  initial_time: @initial_time,
33
+ focus_on_load: @focus_on_load,
32
34
  confirm: confirm&.as_json
33
35
  }.compact
34
36
  end
@@ -17,10 +17,11 @@ module Slack
17
17
 
18
18
  TYPE = 'users_select'
19
19
 
20
- def initialize(placeholder:, action_id:, initial: nil, emoji: nil)
20
+ def initialize(placeholder:, action_id:, initial: nil, emoji: nil, focus_on_load: nil)
21
21
  @placeholder = Composition::PlainText.new(text: placeholder, emoji: emoji)
22
22
  @action_id = action_id
23
23
  @initial_user = initial
24
+ @focus_on_load = focus_on_load
24
25
 
25
26
  yield(self) if block_given?
26
27
  end
@@ -30,6 +31,7 @@ module Slack
30
31
  type: TYPE,
31
32
  placeholder: @placeholder.as_json,
32
33
  action_id: @action_id,
34
+ focus_on_load: @focus_on_load,
33
35
  initial_user: @initial_user,
34
36
  confirm: confirm&.as_json
35
37
  }.compact
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Slack
4
+ module BlockKit
5
+ module Layout
6
+ # A video block is designed to embed videos in all app surfaces
7
+ # (e.g. link unfurls, messages, modals, App Home) — anywhere you can put blocks!
8
+ # To use the video block within your app, you must have the links.embed:write scope.
9
+ #
10
+ # https://api.slack.com/reference/messaging/blocks#context
11
+ class Video
12
+ TYPE = 'video'
13
+
14
+ def initialize(alt_text:, thumbnail_url:, video_url:, title:, description:, **optional_args)
15
+ @alt_text = alt_text
16
+ @thumbnail_url = thumbnail_url
17
+ @video_url = video_url
18
+ @author_name = optional_args[:author_name]
19
+ @block_id = optional_args[:block_id]
20
+ @provider_icon_url = optional_args[:provider_icon_url]
21
+ @provider_name = optional_args[:provider_name]
22
+ @title_url = optional_args[:title_url]
23
+ @description = Composition::PlainText.new(
24
+ text: description,
25
+ emoji: optional_args[:emoji]
26
+ )
27
+ @title = Composition::PlainText.new(
28
+ text: title,
29
+ emoji: optional_args[:emoji]
30
+ )
31
+ end
32
+
33
+ def as_json(*)
34
+ {
35
+ type: TYPE,
36
+ alt_text: @alt_text,
37
+ thumbnail_url: @thumbnail_url,
38
+ video_url: @video_url,
39
+ author_name: @author_name,
40
+ block_id: @block_id,
41
+ provider_icon_url: @provider_icon_url,
42
+ provider_name: @provider_name,
43
+ title_url: @title_url,
44
+ description: @description.as_json,
45
+ title: @title.as_json
46
+ }.compact
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Slack
4
4
  module BlockKit
5
- VERSION = '0.18.0'
5
+ VERSION = '0.20.0'
6
6
  end
7
7
  end
@@ -57,7 +57,7 @@ module Slack
57
57
  self
58
58
  end
59
59
 
60
- def as_json(*) # rubocop:disable Metrics/MethodLength
60
+ def as_json(*)
61
61
  {
62
62
  type: TYPE,
63
63
  blocks: @blocks.as_json,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-ruby-block-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Gregg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-26 00:00:00.000000000 Z
11
+ date: 2022-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk
@@ -83,6 +83,7 @@ files:
83
83
  - lib/slack/block_kit/layout/input.rb
84
84
  - lib/slack/block_kit/layout/section.rb
85
85
  - lib/slack/block_kit/layout/section/multi_select_elements.rb
86
+ - lib/slack/block_kit/layout/video.rb
86
87
  - lib/slack/block_kit/version.rb
87
88
  - lib/slack/surfaces/home.rb
88
89
  - lib/slack/surfaces/message.rb
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  - !ruby/object:Gem::Version
112
113
  version: '0'
113
114
  requirements: []
114
- rubygems_version: 3.3.21
115
+ rubygems_version: 3.3.22
115
116
  signing_key:
116
117
  specification_version: 4
117
118
  summary: A ruby wrapper for Slack's Block Kit