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: d02e177def84ba2351c112268eab1a33901782fdb531088aa8b224e0bdf4a632
4
- data.tar.gz: 45acfe808313d419546a4688e657d5486116293da704259ea29f9d94b899c336
3
+ metadata.gz: d6b83ee6094d8f9e4e6a560cab587538b699494fa3c5db49472e306ff8ab287b
4
+ data.tar.gz: 8b7604256e14eb07867a57fc4ecf5ed84fcc74d10f602d22d4db4ee7bef81bf3
5
5
  SHA512:
6
- metadata.gz: 97660d8b824517d9e92bcca10fffdd7ac4793fb478ee81de4d2ca66a6c5b6923c96aa67c3dce683674a94bed977862b3957137126fcd84bb2a49b74a19fc7bd6
7
- data.tar.gz: 772195df543b735f2faf9fc972b64cb16d8a01c672a807bf2f557da2aba88aaad917c45976d82bbf5a8391eb33fd05428e0d35485f413c2668aee2b659021bc7
6
+ metadata.gz: e8f614ca19814239f68a976011d0180d98cd6fef2d6fcd1c809f18e6198e56614b6c5fdd4bac29675151989fb38c3f18d13d5851217b99ede0d3545c63f2694d
7
+ data.tar.gz: 5a930758ea23478488ed836481739331dff65a28036d4c90682752b4796ed69b1370510bdc9f2026aaecdb14e94b1e1d67b8fe95a48c54a943300668dfcd28f6
@@ -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 = item["axis_value"]
53
- outcome = item["outcome"]
54
- test_details = item["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 (true)
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",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.62"
3
+ VERSION = "0.1.63"
4
4
  end
5
5
  end
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.62
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-27 00:00:00.000000000 Z
11
+ date: 2023-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler