pusher-chatkit-server 1.0.0 → 1.1.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 +4 -4
- data/lib/chatkit/client.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e70875d940a106dfbf2fbc0bc25aaad3b77250c5
|
|
4
|
+
data.tar.gz: 1964d162f71ad76702585857fac6554e9f3e2881
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54ca178a9cf6477f6e7e211f777d159ba665c6ab9f1e05d5007bf3f9d30b6504f4f3210bde47551dc603e79e382d5b03d0d5bdb192b7a467adfc55d38597aff8
|
|
7
|
+
data.tar.gz: e739b131e772e32a34d2bcf8e331dfcd4772eeb8e7490604a5ff19275cbbbc5d9e05ae49c2891b49673a19971b28fedf8c91aeb9720e3d2079dc4f52d3736bfa
|
data/lib/chatkit/client.rb
CHANGED
|
@@ -206,6 +206,8 @@ module Chatkit
|
|
|
206
206
|
name: options[:name],
|
|
207
207
|
private: options[:private] || false
|
|
208
208
|
}
|
|
209
|
+
|
|
210
|
+
body[:custom_data] = options[:custom_data] unless options[:custom_data].nil?
|
|
209
211
|
|
|
210
212
|
unless options[:user_ids].nil?
|
|
211
213
|
body[:user_ids] = options[:user_ids]
|
|
@@ -227,6 +229,7 @@ module Chatkit
|
|
|
227
229
|
payload = {}
|
|
228
230
|
payload[:name] = options[:name] unless options[:name].nil?
|
|
229
231
|
payload[:private] = options[:private] unless options[:private].nil?
|
|
232
|
+
payload[:custom_data] = options[:custom_data] unless options[:custom_data].nil?
|
|
230
233
|
|
|
231
234
|
api_request({
|
|
232
235
|
method: "PUT",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pusher-chatkit-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pusher
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pusher-platform
|
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
55
55
|
version: '0'
|
|
56
56
|
requirements: []
|
|
57
57
|
rubyforge_project:
|
|
58
|
-
rubygems_version: 2.
|
|
58
|
+
rubygems_version: 2.6.12
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Pusher Chatkit Ruby SDK
|