chat_sdk-gchat 0.2.1 → 0.3.1
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 +4 -4
- data/lib/chat_sdk/gchat/adapter.rb +1 -4
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: add6e3e3088112cbd9ff7f961405513965fc7d0238a7a9468b639b5697824735
|
|
4
|
+
data.tar.gz: d0a335fa198ce5ca2dc762d69ad20321e74e7600e7108187b5ab37719019cdb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 694efb5db42fa7be0ff862f1ef4a5b39c99fa90bbacfefa7bd90c3808a1052e22e6cc56a36e6d4289c8fbe76a75b78b9e1c8e2d94553404338bac0106fe5c969
|
|
7
|
+
data.tar.gz: 9313c31c3faea7e8dd903a58ca79271b3cd1dfe5fec7aa2abd14e2588cb531ff524091ce1b2339d4144b501d71bf128765b7eee4a2f765d9aa519bfc169b75f3
|
|
@@ -37,10 +37,7 @@ module ChatSDK
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def parse_events(rack_request)
|
|
40
|
-
|
|
41
|
-
rack_request.body.rewind
|
|
42
|
-
|
|
43
|
-
payload = JSON.parse(body)
|
|
40
|
+
payload = read_json_body(rack_request)
|
|
44
41
|
EventParser.parse(payload)
|
|
45
42
|
rescue JSON::ParserError
|
|
46
43
|
[]
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chat_sdk-gchat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Quentin Rousseau
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
@@ -53,7 +53,7 @@ dependencies:
|
|
|
53
53
|
version: '1.0'
|
|
54
54
|
description: Google Chat bot adapter for the ChatSDK framework
|
|
55
55
|
email:
|
|
56
|
-
-
|
|
56
|
+
- quentin@rootly.com
|
|
57
57
|
executables: []
|
|
58
58
|
extensions: []
|
|
59
59
|
extra_rdoc_files: []
|
|
@@ -64,7 +64,7 @@ files:
|
|
|
64
64
|
- lib/chat_sdk/gchat/event_parser.rb
|
|
65
65
|
- lib/chat_sdk/gchat/resource_name.rb
|
|
66
66
|
- lib/chat_sdk/gchat/token_verifier.rb
|
|
67
|
-
homepage: https://github.com/rootlyhq/
|
|
67
|
+
homepage: https://github.com/rootlyhq/chat-sdk
|
|
68
68
|
licenses:
|
|
69
69
|
- MIT
|
|
70
70
|
metadata:
|