fastlane-plugin-android_testlab_script_swit 0.1.81 → 0.1.82
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: 7bd7a34fd2ed085ce3490c8a140d1faf0c00d4910e59e4a3c59cd488cb2eb678
|
|
4
|
+
data.tar.gz: abbbc9969ee7262c4198d6b1c8dd788abfb1370af5e00edf0b81203ca944ab63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e222fffb43cd0e9f119d753d79fc26a6e95ad7065c05746decd0b5d1009691d4f284939cdc85a6cf74a6ab755737eb4292007101367d2baa80c20e540f463dd9
|
|
7
|
+
data.tar.gz: 4124971e80c275064831051a217c30d7fa19cd8f3ce1ec76311430a470b808bcf6b619e804eaaf39383c2635792326255c02c76948191cf2684dd615f82b7eee
|
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 + ']}]}'
|