fastlane-plugin-android_testlab_script_swit 0.1.61 → 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: ea4266f48f851c865ade46b5a6ae7b11658827ae0a3832641d586e3dbb95fd10
4
- data.tar.gz: 8845608427eda088dfd3a26182c6b1f573733369bbb8f4f88caeb883f48516d7
3
+ metadata.gz: d6b83ee6094d8f9e4e6a560cab587538b699494fa3c5db49472e306ff8ab287b
4
+ data.tar.gz: 8b7604256e14eb07867a57fc4ecf5ed84fcc74d10f602d22d4db4ee7bef81bf3
5
5
  SHA512:
6
- metadata.gz: 90d389eda96cdd8ce262191670d78ffb7e387ddca552a531b01aab124fb20ead186d7c2a6f963b5e376fb1748c4df070e219e52429c7d28feb806fef68e71119
7
- data.tar.gz: 6d85761328a6f7a015605924c9ebb398240a6eb8ed494353b47add89587ec97b352520748d225b79f93f983c6d7443ffec43b6b8b352ceb6df1c68b7742c9295
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,17 +61,17 @@ module Fastlane
61
61
 
62
62
  parts.each_with_index do |part, index|
63
63
  UI.message("Part #{index + 1}: #{part}")
64
- end
65
-
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
- }
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
75
75
  end
76
76
 
77
77
  end
@@ -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.61"
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.61
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