fastlane-plugin-google_chat 0.1.1 → 0.1.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54c0b30fdb4a04d9e3867e9ff0e910b1670789c7257a740feb0ae48ffee2a977
|
|
4
|
+
data.tar.gz: b9cf66558458ee3a7d59a331288ffc9cc1f77e6c27928b4d9422c8c107a926ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec096822a1761d5b0807fb0f19b2454a6361a485bd92e76d5eef9e7f6b34c0e99153252f355e8c92e90b72d412a6238151f55970cd94c67500230da6812e6ca6
|
|
7
|
+
data.tar.gz: df7a85a71858817a3b7976db033e248d48ded1f1f8b250f6bf12d1e2fa0efd6c29a52f88f43a8de44a055c187c9fa9b9652655f2cb9adc0ce05b0a0756829aa0
|
|
@@ -14,12 +14,16 @@
|
|
|
14
14
|
{
|
|
15
15
|
header: {
|
|
16
16
|
title: params[:title],
|
|
17
|
-
subtitle: params[:description],
|
|
18
17
|
imageUrl: params[:imageUrl]
|
|
19
18
|
},
|
|
20
19
|
sections: [
|
|
21
20
|
{
|
|
22
21
|
widgets: [
|
|
22
|
+
{
|
|
23
|
+
textParagraph: {
|
|
24
|
+
text: params[:description]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
23
27
|
{
|
|
24
28
|
keyValue: {
|
|
25
29
|
topLabel: params[:section1Title],
|
|
@@ -52,13 +56,14 @@
|
|
|
52
56
|
# Create the HTTP objects
|
|
53
57
|
http = Net::HTTP.new(uri.host, uri.port)
|
|
54
58
|
http.use_ssl = true
|
|
55
|
-
http.verify_mode = OpenSSL::SSL::
|
|
59
|
+
# http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
56
60
|
request = Net::HTTP::Post.new(uri.request_uri)
|
|
61
|
+
request["Content-Type"] = "application/json"
|
|
57
62
|
request.body = cards.to_json
|
|
58
63
|
|
|
59
64
|
# Send the request
|
|
60
65
|
response = http.request(request)
|
|
61
|
-
|
|
66
|
+
# + response.read_body
|
|
62
67
|
UI.message("Message sent!")
|
|
63
68
|
end
|
|
64
69
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-google_chat
|
|
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
|
- Narlei Américo Moreira
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -136,7 +136,7 @@ dependencies:
|
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: 2.122.0
|
|
139
|
-
description:
|
|
139
|
+
description:
|
|
140
140
|
email: narlei.guitar@gmail.com
|
|
141
141
|
executables: []
|
|
142
142
|
extensions: []
|
|
@@ -152,7 +152,7 @@ homepage: https://github.com/narlei/fastlane-plugin-google-chat
|
|
|
152
152
|
licenses:
|
|
153
153
|
- MIT
|
|
154
154
|
metadata: {}
|
|
155
|
-
post_install_message:
|
|
155
|
+
post_install_message:
|
|
156
156
|
rdoc_options: []
|
|
157
157
|
require_paths:
|
|
158
158
|
- lib
|
|
@@ -167,8 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
168
|
version: '0'
|
|
169
169
|
requirements: []
|
|
170
|
-
rubygems_version: 3.
|
|
171
|
-
signing_key:
|
|
170
|
+
rubygems_version: 3.1.4
|
|
171
|
+
signing_key:
|
|
172
172
|
specification_version: 4
|
|
173
173
|
summary: Send messages to Google Chat
|
|
174
174
|
test_files: []
|