slack_block_kit 0.2.0 → 0.3.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: 067c0037a8fd2f3bff99855b8879b6dedb658ac2006b458022d3053b9bca46ca
4
- data.tar.gz: 879d0649e57afa5815c1b16be7c87b41b28d934832eebfdc6d3b36352ad005f1
3
+ metadata.gz: 870caee1a680b9e6d4f9e5d148047efffb2bf713154f68d4bbfbac5c183cfeef
4
+ data.tar.gz: 73bbf31c212bb74c5ba811678fe9a7b539c0619a5421ebd329070bff068b0514
5
5
  SHA512:
6
- metadata.gz: ae170ecd8b12fad81fdf955fc36840295bdef4e1ca4c4b454022571713e610c60c5e6880a0a260bc9b002adbe4423a74f6d871503fe213730f49c04ec04bd4c7
7
- data.tar.gz: 4042f3ab1ac4efa2de8f108a065caea0d6f1334cd19bc24aab6dee4c55d5267e50517c99bbcafc8e8c281eed815697018c04e148ab88ab5729f5d623576cc888
6
+ metadata.gz: a1a4bca38961a4f09a2580c2077ab64536241987dc1d909703aae2d32c8f3e9370189676654ad9f1b3f1123829d838ebba04a2f2d4033d9d63a3d1d26903d459
7
+ data.tar.gz: 73b7d894d2516cc72fb823a0bc9fd4ee55d8a29bee87cf5f79466fa7a42765558bfbe833a3c672bcbbbc6ec795defd6a490caaa9c8804c8ad5a5ae8a861a4994
@@ -41,7 +41,7 @@ module Slack
41
41
  action_id: @action_id,
42
42
  initial_conversation: @initial_conversation,
43
43
  confirm: @confirm&.as_json
44
- }
44
+ }.compact
45
45
  end
46
46
  end
47
47
  end
@@ -74,7 +74,7 @@ module Slack
74
74
  accessorise(element)
75
75
  end
76
76
 
77
- def converstation_select(placeholder:, action_id:, initial: nil, emoji: nil)
77
+ def conversation_select(placeholder:, action_id:, initial: nil, emoji: nil)
78
78
  element = Element::ConversationsSelect.new(
79
79
  placeholder: placeholder,
80
80
  action_id: action_id,
@@ -6,7 +6,7 @@ module Slack
6
6
  module Element; end
7
7
  module Layout; end
8
8
 
9
- VERSION = '0.2.0'
9
+ VERSION = '0.3.0'
10
10
 
11
11
  Dir[File.join(__dir__, 'block_kit', 'composition', '*.rb')].each { |file| require file }
12
12
  Dir[File.join(__dir__, 'block_kit', 'element', '*.rb')].each { |file| require file }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_block_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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: 2019-03-05 00:00:00.000000000 Z
11
+ date: 2019-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,8 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubyforge_project:
158
- rubygems_version: 2.7.6
157
+ rubygems_version: 3.0.3
159
158
  signing_key:
160
159
  specification_version: 4
161
160
  summary: A ruby wrapper for Slack's Block Kit