getstream-ruby 13.2.0 → 13.2.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b051023a5efd3242f97748fe838cebac58b8b69da38c7de00fd018f274f16113
|
|
4
|
+
data.tar.gz: 9fc8981f69110a556c5e644b54c8dc31f0fb98d9acf9d09d0d9a536b24d8da1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63a1240b7fe20d82815222c6003179279922b0d4901a251ba502810bb7901cfcc2e513e74aca4284333fe7ec67d396dd34fb18cfb80d14bb8003191f5c9030a6
|
|
7
|
+
data.tar.gz: a7a9ed011677519484692d5534840b2b60a70a182c65cf35ce42b37bef9eafd1571877ce88fdbc20bfc331d24cf20f37fe125ec5742472344de50a726f3662a1
|
|
@@ -210,10 +210,9 @@ module GetStreamRuby
|
|
|
210
210
|
|
|
211
211
|
private
|
|
212
212
|
|
|
213
|
-
# Plain strings and numbers stay unencoded: callers may already escape them.
|
|
214
213
|
def query_value(value)
|
|
215
214
|
return URI.encode_www_form_component(value.iso8601(9)) if value.is_a?(Time) || value.is_a?(DateTime)
|
|
216
|
-
return value unless
|
|
215
|
+
return URI.encode_www_form_component(value) unless [Array, Hash, GetStream::BaseModel].any? { |k| value.is_a?(k) }
|
|
217
216
|
|
|
218
217
|
scalars = value.is_a?(Array) && value.all? { |e| e.is_a?(String) || e.is_a?(Numeric) || e == true || e == false }
|
|
219
218
|
URI.encode_www_form_component(scalars ? value.join(',') : value.to_json)
|
|
@@ -13,7 +13,7 @@ module GetStream
|
|
|
13
13
|
# @return [String] Opaque cursor for the next page of this section, present only when more results exist. Pass it back under next.channels with the same query
|
|
14
14
|
attr_accessor :next
|
|
15
15
|
# @!attribute channels
|
|
16
|
-
# @return [Array<ChannelStateResponseFields>] Channels the caller is a member of whose name starts with the query, in the same shape as the query channels endpoint's results
|
|
16
|
+
# @return [Array<ChannelStateResponseFields>] Channels the caller is a member of whose name starts with the query, in the same shape as the query channels endpoint's results, without messages and with up to 4 members, oldest first. channel.member_count is the channel's total member count
|
|
17
17
|
attr_accessor :channels
|
|
18
18
|
# @!attribute error
|
|
19
19
|
# @return [SearchAllSectionError]
|