fastlane-plugin-android_testlab_script_swit 0.1.911 → 0.1.912
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: 4465c4a69bc3ae01153f0c63114861172afb1c90243c288078a9d49ca1b3beff
|
4
|
+
data.tar.gz: de98da85edd72c4e19ed75f52d133ac2d64e52544a8ac602a907a015449dc58a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffa363d664193a0abe9caaa4f6d796eb871b0d4f7bbaabb63f820a3fa8a97c38f374acdd005f4c539b6b9fdaabe1c9522900871defa43a65ab61897df18ff714
|
7
|
+
data.tar.gz: b75766bb4dbfd6cfd00328dc2e565fc5808d89b0947fce57e5906d5d1e33b41e4d4b232f42bb5519b515a10326c421fb19055970c9f72bb77c3af92aa90832bc
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -80,7 +80,7 @@ module Fastlane
|
|
80
80
|
|
81
81
|
swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{device_index + 1}\"}]},"
|
82
82
|
|
83
|
-
parts.each_with_index do |part,
|
83
|
+
parts.each_with_index do |part, part_index|
|
84
84
|
swit_device_payload += "{\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Part : #{parts[index]}\"}]},"
|
85
85
|
|
86
86
|
if index == (parts.length -1)
|
@@ -88,7 +88,7 @@ module Fastlane
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
-
|
91
|
+
swit_device_payload += "," unless device_index == (resultJson.length - 1) && part_index == (parts.length - 1)
|
92
92
|
end
|
93
93
|
|
94
94
|
# remove the last comma if it exists
|