fastlane-plugin-android_testlab_script_swit 0.1.81 → 0.1.83
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dc6add2b93c966aa1ac5f0003a5035e26fdb7ffbb240f55ccbb80e01dd1d8ce
|
4
|
+
data.tar.gz: 42992cf340573a3df070082edb9067219b64bacc1f248bccfcc1534c9a37aa05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ddea827b91c859b16263bcee3416344193eb35c07e2c823c8e29d59c26816cf9b841bfee5cd80d4aae4c347231bbbb202e37d3c715d800f12403c5bc0120194
|
7
|
+
data.tar.gz: 8ccbed1c557252d7a304ec766d5f794347a9c96f5e59724daf13e1185b4b7e22f0c865c609d5b9060c1c58269b54d9247e54374dff61d9e9219b4bcd94ae0d1c
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -86,10 +86,10 @@ module Fastlane
|
|
86
86
|
|
87
87
|
params[:devices].each_with_index do |device, index|
|
88
88
|
new_payload += "[{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
89
|
+
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
90
|
+
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
|
91
|
+
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"]}],
|
92
|
+
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"]}]}"
|
93
93
|
|
94
94
|
new_payload += "," unless index == params[:devices].length - 1
|
95
95
|
end
|
@@ -112,7 +112,7 @@ module Fastlane
|
|
112
112
|
|
113
113
|
|
114
114
|
# Remove the closing square bracket from the original payload and add a comma
|
115
|
-
swit_webhook_payload = params[:swit_webhook_payload][0..-
|
115
|
+
swit_webhook_payload = params[:swit_webhook_payload][0..-5] + ','
|
116
116
|
|
117
117
|
# Add the additional payload and close the square bracket
|
118
118
|
swit_webhook_payload += new_payload + ']}]}'
|