expo-push 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/expo-push/version.rb +1 -1
- data/lib/expo-push.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 926899af0486552a8a8ee17b545d656e994c4767175932e4f0c5d3d325a65ca0
|
4
|
+
data.tar.gz: 19ba2ac29c3d5f54cbe9a7d08f94c34f5af57adbae7c451401287bf8ee4a8ed7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1676fed4bbc5fa23ee154ebd50b40076c0f8cca80811bb8067cc6a21b237500740fcb4b0cabdb5c9bae55bb7d11f5cd5c1a72b2d2d82854179ed1495022f23
|
7
|
+
data.tar.gz: 45dd3c0985917a43d0522ccf68d1fe88dd39ab5961cb2e6eed0dbd8f0737e1342ffa0e871bcd4bc1e0e76590119d44fd6dff875e73860014a2c319e45c3af543
|
data/lib/expo-push/version.rb
CHANGED
data/lib/expo-push.rb
CHANGED
@@ -38,6 +38,7 @@ module Exponent
|
|
38
38
|
class Client
|
39
39
|
def initialize(**args)
|
40
40
|
@http_client = args[:http_client] || Typhoeus
|
41
|
+
@params = args[:params].presence || {}
|
41
42
|
@error_builder = ErrorBuilder.new
|
42
43
|
# future versions will deprecate this
|
43
44
|
@response_handler = args[:response_handler] || ResponseHandler.new
|
@@ -70,6 +71,7 @@ module Exponent
|
|
70
71
|
@http_client.post(
|
71
72
|
push_url,
|
72
73
|
body: messages.to_json,
|
74
|
+
params: @params,
|
73
75
|
headers: headers,
|
74
76
|
accept_encoding: @gzip
|
75
77
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: expo-push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Ruder
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|