pusher-chatkit-server 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/chatkit/client.rb +3 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd50747b8046dc072876ab55a6d14fdeff1ced9b
4
- data.tar.gz: d7cf32176bd955ac6fec9688dc6084848206d5e1
3
+ metadata.gz: e70875d940a106dfbf2fbc0bc25aaad3b77250c5
4
+ data.tar.gz: 1964d162f71ad76702585857fac6554e9f3e2881
5
5
  SHA512:
6
- metadata.gz: a3bdffe4d4c45b5b327d37da0d203a4692147172045ae22e857e8052039c7090b8a1dd583bb3a394434063792a7f8dc2f07150e859bf2894676acd54cac432c2
7
- data.tar.gz: ed6bbf3cb9da4888ebfb9780cb19b30217a86251681fc50817fc45e73b062f5716a5034098b91ddb4d1bcd8715164ccc08cfe3c850b0e7066182ada9f68c2595
6
+ metadata.gz: 54ca178a9cf6477f6e7e211f777d159ba665c6ab9f1e05d5007bf3f9d30b6504f4f3210bde47551dc603e79e382d5b03d0d5bdb192b7a467adfc55d38597aff8
7
+ data.tar.gz: e739b131e772e32a34d2bcf8e331dfcd4772eeb8e7490604a5ff19275cbbbc5d9e05ae49c2891b49673a19971b28fedf8c91aeb9720e3d2079dc4f52d3736bfa
@@ -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.0.0
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-10-30 00:00:00.000000000 Z
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.5.2.3
58
+ rubygems_version: 2.6.12
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: Pusher Chatkit Ruby SDK