stream-chat-ruby 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stream-chat/channel.rb +2 -0
- data/lib/stream-chat/client.rb +1 -1
- data/lib/stream-chat/version.rb +1 -1
- 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: 244e06d801241360619825d1d6dce2366be14e941586936172914c8ff8ca381b
|
4
|
+
data.tar.gz: cdd4f68211d18916918fd0bc092b578c4f3bec58c9aa7cbf5b54753cfa9fb07b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63dfccf208150960ee69f5cf1042aad0fab9d73583613b6944949c87a69c3e896c30a6a1c3d5853407eae1640c956949219f8f09fb4866dcd25d6e36835971bb
|
7
|
+
data.tar.gz: 7297789f705b700652c0d3cd73670c44cbda4970877879dec9e840d9c53f008e79d9e5e69564b1214bae2133d0a317bf315d53d972b3a80d9b4b3037789485e0
|
data/lib/stream-chat/channel.rb
CHANGED
data/lib/stream-chat/client.rb
CHANGED
@@ -194,7 +194,7 @@ module StreamChat
|
|
194
194
|
end
|
195
195
|
|
196
196
|
def verify_webhook(request_body, x_signature)
|
197
|
-
signature = OpenSSL::HMAC.hexdigest("SHA256", @
|
197
|
+
signature = OpenSSL::HMAC.hexdigest("SHA256", @api_secret, request_body)
|
198
198
|
signature == x_signature
|
199
199
|
end
|
200
200
|
|
data/lib/stream-chat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream-chat-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mircea Cosbuc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|