fastlane-plugin-android_testlab_script_swit 0.1.86 → 0.1.87
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: 54be5819ff810f70f9939126ebac4c2c00d8e2c444923d143398b1c807dcde3b
|
4
|
+
data.tar.gz: ea37d3e56196428d52db1cbb2f8d7b6271ebe6a8446b625c049a960730fef6a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9cb728d9ad4e3e9b4c99aadec31ff118ef439904adb38091ec25cefc1819918ff931b0cb4bbaff1bbe78cc616b0ce4f6311eca303595dca672bd2d4da8e3f7b
|
7
|
+
data.tar.gz: acb686e5dc3764e718fbb320ecef94c844fb6549aaa981c5e0fa98ed5e6b763b5d8d705d37d187b735f0845d27c1658faf3513d5054d71875dc372bcc41c51f6
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -62,9 +62,7 @@ module Fastlane
|
|
62
62
|
|
63
63
|
parts.each_with_index do |part, index|
|
64
64
|
UI.message("Part #{index + 1}: #{part}")
|
65
|
-
|
66
|
-
|
67
|
-
params[:devices].each_with_index do |device, index|
|
65
|
+
|
68
66
|
new_payload += "{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
|
69
67
|
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
70
68
|
{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{device[:version]}\"}]},
|
@@ -73,9 +71,21 @@ module Fastlane
|
|
73
71
|
{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{outcome}\"}]}"
|
74
72
|
|
75
73
|
new_payload += "," unless index == params[:devices].length - 1
|
74
|
+
|
76
75
|
end
|
77
76
|
end
|
78
77
|
|
78
|
+
# params[:devices].each_with_index do |device, index|
|
79
|
+
# new_payload += "{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
|
80
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
81
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{device[:version]}\"}]},
|
82
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"locale : #{device[:locale]}\"}]},
|
83
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"orientation : #{device[:orientation]}\"}]},
|
84
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{outcome}\"}]}"
|
85
|
+
#
|
86
|
+
# new_payload += "," unless index == params[:devices].length - 1
|
87
|
+
# end
|
88
|
+
|
79
89
|
# Fetch results
|
80
90
|
download_dir = params[:download_dir]
|
81
91
|
if download_dir
|