aws-lex-conversation 1.1.1 → 1.1.2

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: a0c9b8b75c425c1445d19c8f0111cdc8aaf659e25267fc3b57f2db0c3fe19d01
4
- data.tar.gz: 695f55a5685e8c152044a6cbf4ad085daa40182d2f7194aee53e58681123080b
3
+ metadata.gz: ccdcefcf81f582ebc121ee3e0729ddd94db6384ff6111957cf2170d42af84ca5
4
+ data.tar.gz: 602ed481532abb744b1242a387a37ea83dbcd6a6911a043b03d2140c93c6d0ec
5
5
  SHA512:
6
- metadata.gz: f6d3e241e9f9232e397fd44f9227f039ca3bc7cc067fa52975e65d178d375b737ce013bd6e4369e4b5b84bb0d3543f509b62114cb72d6862d4d53bbde5f98428
7
- data.tar.gz: 49831a9c67c32218549bfb94c25a61e053f4c397fcc0a772b027c27c84ca8a8bf058d19a47b21b411a46ed12673c0318fca8278bf8118f58a72dfc78f6267d7d
6
+ metadata.gz: af9068ec87608b0810961beb0a839c4e0d44a8332bf7ec2fe917ebc42b1e0907eaa237eaade909b344785facb4695406e84c9995c6c31c0bf1209637d2a339e5
7
+ data.tar.gz: 92a833ede3d15611d9285781d472be3e0bbb245f7f8e7f2708a38bbfdfff5d1b88f57248929c7d3f57068752d8bba499c15b31804866013fa48afc2263aa6c89
@@ -26,10 +26,12 @@ module Aws
26
26
 
27
27
  class << self
28
28
  def slot_details!
29
- ->(v) do
30
- v.each_with_object({}) do |(key, value), hash|
31
- hash[key.to_sym] = SlotDetail.shrink_wrap(value)
32
- end
29
+ ->(val) do
30
+ val
31
+ .reject { |_, v| v.nil? }
32
+ .each_with_object({}) do |(key, value), hash|
33
+ hash[key.to_sym] = SlotDetail.shrink_wrap(value)
34
+ end
33
35
  end
34
36
  end
35
37
  end
@@ -3,7 +3,7 @@
3
3
  module Aws
4
4
  module Lex
5
5
  class Conversation
6
- VERSION = '1.1.1'
6
+ VERSION = '1.1.2'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-lex-conversation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Doyle
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2020-06-29 00:00:00.000000000 Z
15
+ date: 2020-06-30 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: shrink_wrap