fastlane-plugin-android_testlab_script_swit 0.1.59 → 0.1.60

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: b6b9590ae77e0dc54c8ee2f135704efe2d40c929c5be225d69dc41b74677d4a2
4
- data.tar.gz: 870b2ab989d815f50103abe4a92c035d3eb3c4b175d4dd1306497cf2d9504d7c
3
+ metadata.gz: 433ae917a1d77fd508b76854302277fc1b5c7a7eb695e4f514c56da61d5a78ed
4
+ data.tar.gz: 8eb294131557ff2f01c5cf8d47a6c4b2b03301841cc9f50aea40c1152270e0e6
5
5
  SHA512:
6
- metadata.gz: 6746c05a46905fd685c937843654c2c19fb6a42e2bcb3ef638c24cb4c04dd5fcf9780b5c782c659eba8c7bc6540fcc899ddc79b76c40c58d45a670253a26d652
7
- data.tar.gz: 4615383325c0cc10b7ca6bffcfd843ed00b0903c728e335ffa494fd3f7f1757f2fa02456719f3ad01995c81f3fcdc079a9b4256eb211dee1e3cd41393d101fe4
6
+ metadata.gz: 7141618559c47af3b089ab46181a19f420e29a1824a9fb22ccd7f625a99be57fea7815a44079888d983ad30332da7315e9c250a3fd448dbc0e2bf43d399569de
7
+ data.tar.gz: '084d6edaabc6c2d7e879fde41bd63dddaa83716a82746ce0f9184e15c9d6fbdef2f6113e724584d4a5f6afed47c3508091977cfba49dd9b0e76dae2369fe1ad2'
@@ -43,6 +43,9 @@ module Fastlane
43
43
  json = JSON.parse(File.read(params[:console_log_file_name]))
44
44
  UI.message("Test status: #{json}")
45
45
 
46
+ #
47
+ payload_string = params[:swit_webhook_payload]
48
+
46
49
  # 각 JSON 객체에 대해 반복
47
50
  json.each do |item|
48
51
  # 정보 추출하기
@@ -59,6 +62,18 @@ module Fastlane
59
62
  parts.each_with_index do |part, index|
60
63
  UI.message("Part #{index + 1}: #{part}")
61
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
+ }
75
+ end
76
+
62
77
  end
63
78
 
64
79
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.59"
3
+ VERSION = "0.1.60"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.59
4
+ version: 0.1.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이