fastlane-plugin-android_testlab_script_swit 0.1.62 → 0.1.63
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: d6b83ee6094d8f9e4e6a560cab587538b699494fa3c5db49472e306ff8ab287b
|
4
|
+
data.tar.gz: 8b7604256e14eb07867a57fc4ecf5ed84fcc74d10f602d22d4db4ee7bef81bf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8f614ca19814239f68a976011d0180d98cd6fef2d6fcd1c809f18e6198e56614b6c5fdd4bac29675151989fb38c3f18d13d5851217b99ede0d3545c63f2694d
|
7
|
+
data.tar.gz: 5a930758ea23478488ed836481739331dff65a28036d4c90682752b4796ed69b1370510bdc9f2026aaecdb14e94b1e1d67b8fe95a48c54a943300668dfcd28f6
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -44,14 +44,14 @@ module Fastlane
|
|
44
44
|
UI.message("Test status: #{json}")
|
45
45
|
|
46
46
|
#
|
47
|
-
payload_string = params[:swit_webhook_payload]
|
47
|
+
# payload_string = params[:swit_webhook_payload]
|
48
48
|
|
49
49
|
# 각 JSON 객체에 대해 반복
|
50
50
|
json.each do |item|
|
51
51
|
# 정보 추출하기
|
52
|
-
axis_value
|
53
|
-
outcome
|
54
|
-
test_details
|
52
|
+
axis_value = item["axis_value"]
|
53
|
+
outcome = item["outcome"]
|
54
|
+
test_details = item["test_details"]
|
55
55
|
|
56
56
|
# 'axis_value' 분리하기
|
57
57
|
parts = axis_value.split('-')
|
@@ -61,19 +61,19 @@ module Fastlane
|
|
61
61
|
|
62
62
|
parts.each_with_index do |part, index|
|
63
63
|
UI.message("Part #{index + 1}: #{part}")
|
64
|
+
|
65
|
+
params[:devices].each_with_index do |device, index|
|
66
|
+
payload_string = {
|
67
|
+
{"type":"rt_section","indent":1,"elements":[{"type":"rt_text","content":"Device#{index + 1}"}]},
|
68
|
+
{"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"model : #{device[:model]}"}]},
|
69
|
+
{"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"OS Version : #{device[:version]}"}]},
|
70
|
+
{"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"locale : #{device[:locale]}"}}},
|
71
|
+
{"type":"rt_section","indent":2,"elements":[{"type\":\"rt_text\",\"content":{"orientation : #{device[:orientation]}"}}},
|
72
|
+
{"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"Result : #{outcome}"}}},
|
73
|
+
}
|
74
|
+
end
|
64
75
|
end
|
65
76
|
|
66
|
-
# params[:devices].each_with_index do |device, index|
|
67
|
-
# payload_string += %Q{
|
68
|
-
# {"type":"rt_section","indent":1,"elements":[{"type":"rt_text","content":"Device#{index + 1}"}]},
|
69
|
-
# {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"model : #{device[:model]}"}]},
|
70
|
-
# {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"OS Version : #{device[:version]}"}]},
|
71
|
-
# {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"locale : #{device[:locale]}"}}},
|
72
|
-
# {"type":"rt_section","indent":2,"elements":[{"type\":\"rt_text\",\"content":{"orientation : #{device[:orientation]}"}}},
|
73
|
-
# {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"Result : #{outcome}"}}},
|
74
|
-
# }
|
75
|
-
# end
|
76
|
-
|
77
77
|
end
|
78
78
|
|
79
79
|
|
@@ -188,7 +188,7 @@ module Fastlane
|
|
188
188
|
type: String,
|
189
189
|
optional: false),
|
190
190
|
|
191
|
-
# swit_webhook url (
|
191
|
+
# swit_webhook url (false)
|
192
192
|
FastlaneCore::ConfigItem.new(key: :swit_webhook_url,
|
193
193
|
env_name: "SWIT_WEBHOOK_URL",
|
194
194
|
description: "The Swit WebHOOK URL",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-android_testlab_script_swit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.63
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 나비이쁜이
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|