fastlane-plugin-android_testlab_script_swit 0.1.904 → 0.1.905

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: 9a2582b2a34e80b4848b07e4f96d9209ad884c83303c7deee64a17d2cf28343b
4
- data.tar.gz: a5855348551c3cdfa0dbae1d9a7fc92af974301ad0ba0b4aa88352c0bb4eaf2d
3
+ metadata.gz: 3adb4c9f63019c7614662bfbbf576ff4dfa0a5b228ef8ce2b722053f952b869c
4
+ data.tar.gz: 13a37452f78eef2a50ee8a3167d0325486f23b3f1b12b677c46d9640330f0f84
5
5
  SHA512:
6
- metadata.gz: df36431785eda5980be928b76008702a6531b3e04c361b074d2f795652954b43fdc48075a805d0cf33a84ca3818a805e3964ba975cb59ab5091021d01c919b69
7
- data.tar.gz: 4beea81db53274aaddaf82cf275a5e656c7aa36cb409a5412fcfddb3b6adcc1c91bff10aec485d3fd0b17abc30f5c6a00e0f7bdee0fc69cb734c60f2f5752cdd
6
+ metadata.gz: 0dfda8874a8c148b9e36a955c840b4db6803f8226579de9d45043afc183bddf31add7b06500ebf654821a3e7d1d9a51deca23a52df95a83c2d6bfee4dc2d3973
7
+ data.tar.gz: 28647d50a8555bf62519046ad6f89919553609f9129fd22e1df66367b4cc99c327544cb2aee0d6668497a36a981caf96ab91a3b81a338fe2eef9270b9dc4a8d9
@@ -64,26 +64,29 @@ module Fastlane
64
64
 
65
65
  # 'axis_value' 분리하기
66
66
  parts = axis_value.split('-')
67
+
68
+ parts.each_with_index do |part, index|
69
+ swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{index + 1}\"}]},
70
+ {\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Part : #{parts[index]}\"}]},
71
+ {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{result[:outcome]}\"}]}"
67
72
 
68
- # 출력하기
69
- UI.message("Outcome: #{outcome}, Test Details: #{test_details}")
70
-
71
- # 결과 데이터 저장
72
- results << { parts: parts, outcome: outcome }
73
+ swit_device_payload += "," unless index == result[:parts].length - 1
74
+ end
75
+
73
76
  end
74
77
 
75
- results.each do |result|
76
- result[:parts].each_with_index do |part, index|
77
- swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{index + 1}\"}]},
78
- {\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"model : #{result[:parts].join(', ')}\"}]},
79
- {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{part[:version]}\"}]},
80
- {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"locale : #{part[:locale]}\"}]},
81
- {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"orientation : #{part[:orientation]}\"}]},
82
- {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{result[:outcome]}\"}]}"
83
-
84
- swit_device_payload += "," unless index == result[:parts].length - 1
85
- end
86
- end
78
+ # results.each do |result|
79
+ # result[:parts].each_with_index do |part, index|
80
+ # swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{index + 1}\"}]},
81
+ # {\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"model : #{part[:model]}\"}]},
82
+ # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{part[:version]}\"}]},
83
+ # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"locale : #{part[:locale]}\"}]},
84
+ # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"orientation : #{part[:orientation]}\"}]},
85
+ # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{result[:outcome]}\"}]}"
86
+ #
87
+ # swit_device_payload += "," unless index == result[:parts].length - 1
88
+ # end
89
+ # end
87
90
 
88
91
  # 결과좀 봅시다.
89
92
  UI.message(new_payload)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.904"
3
+ VERSION = "0.1.905"
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.904
4
+ version: 0.1.905
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이