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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/chatkit/client.rb +2 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 45d32884903f70121e1abeb345ee47a4a5db9d0a
4
- data.tar.gz: db5607de4f317a5d609290b7ed1e0b448c84523a
2
+ SHA256:
3
+ metadata.gz: 1d23ad337a78ce6724ff5547a231cfb34e2d03558bca495a615ae68fcb88009d
4
+ data.tar.gz: 94476997fcf6a26ff12ea8a9e54156473d455c72a8af66521e9ed699190fc7c2
5
5
  SHA512:
6
- metadata.gz: 70b2403f843ce25c409d90645c7141a6b0b9e4f269dc89c509968143c38438b1e54bc754f73f890c8a6c809f2c385432cea02a0c2ec37202aad01831e359238b
7
- data.tar.gz: c51cd9172aa01ea0e022b896d8f3631ba9242d2fedb4bf1a2c676bce836b59a39b52bd46bacd678273e5d86c0674edf973f4f6245bbdc39450cbdc79bb03df2f
6
+ metadata.gz: 56206f5cd6e827d9b58e2001e6f689b75f66c708b4d0f8df758e8a91be32da79407816f96f29c1b4a0a96a8cbb1b9559a3b6d4da637db38925ed51721eb40474
7
+ data.tar.gz: e224f3b913648ab438c7528e35dbc2b0420506794c22ba7785c4fd402928e7b6b9c18a0bf8da46f8235366af1c5738958223d1f67d680a49e751f1201af02f66
@@ -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.5.0
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-04 00:00:00.000000000 Z
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.12
59
+ rubygems_version: 2.7.6
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: Pusher Chatkit Ruby SDK