slack-ruby-block-kit 0.14.0 → 0.14.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
  SHA256:
3
- metadata.gz: a72d92b839ba2ef4885e63bed1564e1a6a0f65ca4a7dcf715d6dd3d8c484aafa
4
- data.tar.gz: 229c80dd332e7719fc2508a4df85a495ef1d3105fad5b7af973cf613b64b204e
3
+ metadata.gz: f246aa7387af72f881368aded6d6e83e30b1bd113f4f6b6f54f3968d03eca3a2
4
+ data.tar.gz: c7c6dcb85e7492339f79d3085023ca4f6dee63b47a7f27bac308496e69ed2cd2
5
5
  SHA512:
6
- metadata.gz: 9283d529957e8ed30de73467458a86dd63e7fd8a27b116b232315fa4988303e816392e551ad984fef2115e39b97cdc7a43e6c8dcc78ac84571b0e637cdb5ef71
7
- data.tar.gz: fbf99dc606a305237c2e2dc53b9c1bff7c5f79c81e5e988290e4fe35390dce372f93d4611c463760b11e6a397353d3b94a6e91a352bfb6bcd9d94614c0a9b2ed
6
+ metadata.gz: 8b1c53f9cb1eaefc24d5204d9e12fc17034199d76d4d214f069ba944a1de310bbaebadffb6b6d2e63062b212cc3bd0ac926c220d381139f7ef2f5ef0b25de112
7
+ data.tar.gz: 33e1561f3e90d9a02ef49a14368f32e32eec8cb6cc5874a249d0b9e24869333880df5da4dc1021ee6324e594965ae0d7e5f0a25e0a963917caaf3fc45f8964ce
data/CHANGELOG.md CHANGED
@@ -24,6 +24,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
24
  ### Security
25
25
  - N/A
26
26
 
27
+ ---
28
+
29
+ ## [0.14.1] - 2021-05-05
30
+
31
+ ### Fixed
32
+ - Allow Layout::Section to render without `text` (#87 by @pbendersky)
33
+
27
34
 
28
35
  ---
29
36
 
@@ -89,7 +96,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
89
96
  See [releases] for previous changes.
90
97
 
91
98
 
92
- [Unreleased]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.13.0...HEAD
99
+ [Unreleased]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.14.1...HEAD
100
+ [0.14.1]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.14.0...v0.14.1
101
+ [0.14.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.13.0...v0.14.0
93
102
  [0.13.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.12.0...v0.13.0
94
103
  [0.12.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.11.0...v0.12.0
95
104
  [0.11.0]: https://github.com/CGA1123/slack-ruby-block-kit/compare/v0.10.0...v0.11.0
data/Gemfile CHANGED
@@ -6,12 +6,12 @@ gemspec
6
6
 
7
7
  gem 'dotenv', '~> 2'
8
8
  gem 'faraday', '~> 1'
9
- gem 'pry', '~> 0.13'
9
+ gem 'pry', '~> 0.14'
10
10
  gem 'rake', '~> 13'
11
11
  gem 'rspec', '~> 3'
12
12
  gem 'rspec_junit_formatter', '~> 0.4'
13
13
 
14
- gem 'codecov', '~> 0.3', require: false
14
+ gem 'codecov', '~> 0.5', require: false
15
15
  gem 'rubocop', '~> 1', require: false
16
16
  gem 'rubocop-rake', '~> 0.5', require: false
17
17
  gem 'rubocop-rspec', '~> 2', require: false
data/Gemfile.lock CHANGED
@@ -1,35 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- slack-ruby-block-kit (0.14.0)
4
+ slack-ruby-block-kit (0.14.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
- codecov (0.4.3)
10
+ codecov (0.5.2)
11
11
  simplecov (>= 0.15, < 0.22)
12
12
  coderay (1.1.3)
13
13
  diff-lcs (1.4.4)
14
14
  docile (1.3.5)
15
15
  dotenv (2.7.6)
16
- faraday (1.3.0)
16
+ faraday (1.4.1)
17
+ faraday-excon (~> 1.1)
17
18
  faraday-net_http (~> 1.0)
19
+ faraday-net_http_persistent (~> 1.1)
18
20
  multipart-post (>= 1.2, < 3)
19
- ruby2_keywords
21
+ ruby2_keywords (>= 0.0.4)
22
+ faraday-excon (1.1.0)
20
23
  faraday-net_http (1.0.1)
24
+ faraday-net_http_persistent (1.1.0)
21
25
  method_source (1.0.0)
22
26
  multipart-post (2.1.1)
23
27
  parallel (1.20.1)
24
- parser (3.0.0.0)
28
+ parser (3.0.1.0)
25
29
  ast (~> 2.4.1)
26
- pry (0.13.1)
30
+ pry (0.14.1)
27
31
  coderay (~> 1.1)
28
32
  method_source (~> 1.0)
29
33
  rainbow (3.0.0)
30
34
  rake (13.0.3)
31
- regexp_parser (2.0.3)
32
- rexml (3.2.4)
35
+ regexp_parser (2.1.1)
36
+ rexml (3.2.5)
33
37
  rspec (3.10.0)
34
38
  rspec-core (~> 3.10.0)
35
39
  rspec-expectations (~> 3.10.0)
@@ -45,7 +49,7 @@ GEM
45
49
  rspec-support (3.10.2)
46
50
  rspec_junit_formatter (0.4.1)
47
51
  rspec-core (>= 2, < 4, != 2.12.0)
48
- rubocop (1.9.1)
52
+ rubocop (1.13.0)
49
53
  parallel (~> 1.10)
50
54
  parser (>= 3.0.0.0)
51
55
  rainbow (>= 2.2.2, < 4.0)
@@ -58,7 +62,7 @@ GEM
58
62
  parser (>= 2.7.1.5)
59
63
  rubocop-rake (0.5.1)
60
64
  rubocop
61
- rubocop-rspec (2.2.0)
65
+ rubocop-rspec (2.3.0)
62
66
  rubocop (~> 1.0)
63
67
  rubocop-ast (>= 1.1.0)
64
68
  ruby-progressbar (1.11.0)
@@ -72,13 +76,14 @@ GEM
72
76
  unicode-display_width (2.0.0)
73
77
 
74
78
  PLATFORMS
79
+ ruby
75
80
  x86_64-darwin-19
76
81
 
77
82
  DEPENDENCIES
78
- codecov (~> 0.3)
83
+ codecov (~> 0.5)
79
84
  dotenv (~> 2)
80
85
  faraday (~> 1)
81
- pry (~> 0.13)
86
+ pry (~> 0.14)
82
87
  rake (~> 13)
83
88
  rspec (~> 3)
84
89
  rspec_junit_formatter (~> 0.4)
@@ -186,7 +186,7 @@ module Slack
186
186
  def as_json(*)
187
187
  {
188
188
  type: TYPE,
189
- text: @text.as_json,
189
+ text: @text&.as_json,
190
190
  block_id: @block_id,
191
191
  fields: @fields&.map(&:as_json),
192
192
  accessory: @accessory&.as_json
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Slack
4
4
  module BlockKit
5
- VERSION = '0.14.0'
5
+ VERSION = '0.14.1'
6
6
  end
7
7
  end
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.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Gregg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-06 00:00:00.000000000 Z
11
+ date: 2021-05-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: