pusher-chatkit-server 1.5.0 → 1.6.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 +5 -5
- data/lib/chatkit/client.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1d23ad337a78ce6724ff5547a231cfb34e2d03558bca495a615ae68fcb88009d
|
|
4
|
+
data.tar.gz: 94476997fcf6a26ff12ea8a9e54156473d455c72a8af66521e9ed699190fc7c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56206f5cd6e827d9b58e2001e6f689b75f66c708b4d0f8df758e8a91be32da79407816f96f29c1b4a0a96a8cbb1b9559a3b6d4da637db38925ed51721eb40474
|
|
7
|
+
data.tar.gz: e224f3b913648ab438c7528e35dbc2b0420506794c22ba7785c4fd402928e7b6b9c18a0bf8da46f8235366af1c5738958223d1f67d680a49e751f1201af02f66
|
data/lib/chatkit/client.rb
CHANGED
|
@@ -239,6 +239,7 @@ module Chatkit
|
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
body[:id] = options[:id] unless options[:id].nil?
|
|
242
|
+
body[:push_notification_title_override] = options[:push_notification_title_override] unless options[:push_notification_title_override].nil?
|
|
242
243
|
body[:custom_data] = options[:custom_data] unless options[:custom_data].nil?
|
|
243
244
|
|
|
244
245
|
unless options[:user_ids].nil?
|
|
@@ -261,6 +262,7 @@ module Chatkit
|
|
|
261
262
|
payload = {}
|
|
262
263
|
payload[:name] = options[:name] unless options[:name].nil?
|
|
263
264
|
payload[:private] = options[:private] unless options[:private].nil?
|
|
265
|
+
payload[:push_notification_title_override] = options[:push_notification_title_override] if options.key?(:push_notification_title_override) # We want to accept nil
|
|
264
266
|
payload[:custom_data] = options[:custom_data] unless options[:custom_data].nil?
|
|
265
267
|
|
|
266
268
|
api_request({
|
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.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pusher
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-07-
|
|
11
|
+
date: 2019-07-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pusher-platform
|
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
version: '0'
|
|
57
57
|
requirements: []
|
|
58
58
|
rubyforge_project:
|
|
59
|
-
rubygems_version: 2.6
|
|
59
|
+
rubygems_version: 2.7.6
|
|
60
60
|
signing_key:
|
|
61
61
|
specification_version: 4
|
|
62
62
|
summary: Pusher Chatkit Ruby SDK
|