fastlane-plugin-android_testlab_script_swit 0.1.909 → 0.1.910

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: c9dcc9b818282c7dc465168f8cc16f6876fa9f292634b13ea444e119fafbce26
4
- data.tar.gz: c14a885068c58fde034e23ae7d1c9cbcd1b8721fc43a146fd309110fa585d000
3
+ metadata.gz: 673b81d033f7a7ffe5ee441dc8cb01085525468a584359540deb6b45bbc133e2
4
+ data.tar.gz: 3400955d2e46ce5ed54f748198379a88e0561710da14672402d3fc232ddd669b
5
5
  SHA512:
6
- metadata.gz: 92f7f10071d24d3c6b395f97d79dda479d1c7bbc39617194851a8a7316beedf459fbce4114f8ad0ac541e090da375266f89c3e1b2fd88b53fc16bde7f7a94e5e
7
- data.tar.gz: 978940a94fc4d1e1704ce65154508aa0c4f00d66a6abb02b39dda101bb01ff444caedb66e44deb74f507f8f3a611ddef7c6e857e7983a74376da6566cd288612
6
+ metadata.gz: b61a5165d2625dff6b89940cb641555b1b0bff97d313908efd745264d456d571b37a6f6e4f685aeb601e724a8f01ba5e03ec8d0a0a13ac8fd9f503052f5408c0
7
+ data.tar.gz: 07fe8b118a381b5154131882586a3f40cb50f1c71ee696ce94bb5c09b7742f81c09054d6ae64c63bf7da81fc29751937a1bf83fa8417bf0caca6cb952df9c556
@@ -68,8 +68,7 @@ module Fastlane
68
68
  # swit_device_payload += "," unless index == parts.length - 1
69
69
  # end
70
70
  # end
71
-
72
-
71
+
73
72
  resultJson.each_with_index do |item, device_index|
74
73
  # 정보 추출하기
75
74
  axis_value = item["axis_value"]
@@ -81,23 +80,19 @@ module Fastlane
81
80
 
82
81
  swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{device_index + 1}\"}]},"
83
82
 
84
- part_names = ["Model", "Version", "Locale", "Orientation"]
85
-
86
83
  parts.each_with_index do |part, index|
87
- swit_device_payload += "{\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"#{part_names[index]} : #{parts[index]}\"}]},"
88
-
89
- if index == parts.length -1
84
+ swit_device_payload += "{\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Part : #{parts[index]}\"}]},"
85
+ if index == parts.length -1 then
90
86
  swit_device_payload += "{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content":"Result : #{outcome}\"}]}"
91
87
  end
92
-
93
- swit_device_payload += "," unless device_index == resultJson.length -1 && index == parts.length -1
94
-
95
88
  end
96
-
89
+
90
+ swit_device_payload += "," unless device_index == resultJson.length -1 && index == parts.length -1
97
91
  end
98
92
 
99
93
  # remove the last comma if it exists
100
94
  swit_device_payload.chomp!(',')
95
+
101
96
 
102
97
 
103
98
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.909"
3
+ VERSION = "0.1.910"
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.909
4
+ version: 0.1.910
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이