fastlane-plugin-android_testlab_script_swit 0.1.924 → 0.1.925
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: fb53a680f9b72d0306dc5dfd500770b91a6dd6685ee74162634fdfc63620049b
|
|
4
|
+
data.tar.gz: 8577d0dc9f6a99c6852659b84fa7d1f7d056d8b9425a025f87b7a3c44af837f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65147933cff1cef5c549d667c482c5b947ed0de183295ecd7244697e9bcdfe4cb1a23e9c857ba156c189583cb0805fe5d0f940d87356f762bcc195a169b1147b
|
|
7
|
+
data.tar.gz: 33b66527d1bce78cf7289049cc2163691a3a7ca849e5965162c918734c4cb244d25e922d1d657f4b5b36ab266e767959adf7987626441c9effdeae4eb55d9420
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
|
@@ -91,7 +91,7 @@ module Fastlane
|
|
|
91
91
|
"{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Part : #{part}\"}]}"
|
|
92
92
|
end.join(',')
|
|
93
93
|
|
|
94
|
-
device_payload = "[{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"#{model}\"}]},{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\", \"content\": \"OS: #{version} / Locale: #{locale} / Orientation: #{orientation}\"},{\"type\":\"rich_text\",\"elements\":[{\"type\":\"rt_section\",\"elements\":[{\"type\":\"rt_text\",\"content\":\"결과 : \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"},{\"type\":\"rt_text\",\"content\":\" #{outcome} \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"}]}
|
|
94
|
+
device_payload = "[{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"#{model}\"}]},{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\", \"content\": \"OS: #{version} / Locale: #{locale} / Orientation: #{orientation}\"},{\"type\":\"rich_text\",\"elements\":[{\"type\":\"rt_section\",\"elements\":[{\"type\":\"rt_text\",\"content\":\"결과 : \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"},{\"type\":\"rt_text\",\"content\":\" #{outcome} \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"}]}"
|
|
95
95
|
|
|
96
96
|
end.join(',')
|
|
97
97
|
|
|
@@ -99,6 +99,8 @@ module Fastlane
|
|
|
99
99
|
|
|
100
100
|
# Swit PayLoad 병합
|
|
101
101
|
swit_webhook_payload += swit_device_payload + ']}]}'
|
|
102
|
+
|
|
103
|
+
UI.message(swit_webhook_payload)
|
|
102
104
|
|
|
103
105
|
# Swit WebHook
|
|
104
106
|
HTTParty.post(params[:swit_webhook_url], body: { body_text: swit_webhook_payload }.to_json, headers: { 'Content-Type' => 'application/json' })
|