fastlane-plugin-android_testlab_script_swit 0.1.932 → 0.1.933

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: 49a457737435e64f29cb2833d014ed3b29b05ddd15f22def6296e5284f0e857f
4
- data.tar.gz: 66602066d7ac3af8f719b7ce2c89ceede8e4ae5f7c42393557674cce24060b47
3
+ metadata.gz: 98327db5dc73a4fcfd461f5a436ca9b449fe7e94dd41b01655782acd0c146c3f
4
+ data.tar.gz: ed4b920cb831ff2ba7319e0c4d757249967800359dff30faac6156a7905ff0a8
5
5
  SHA512:
6
- metadata.gz: fa0b32d42a023e723cece8584024433a6901dfee22233ef5702e29b0daa334fe235f671fb8d391ae5160d33d40411686bc5386ecd95a9865ff2efde29944fbc9
7
- data.tar.gz: 06ccac6e157f4080d00a0f9fcba315805941126b243e41ccec23b01c6747ea62ac83916f7e037f9769cb45863e92b58029a6099841ab90a823e582c05bfe3661
6
+ metadata.gz: 72bb8822e1da662b01a72aefb36cd03753a8f59d5b7ebc85f793693a707564eec78a103d0cee0ea979c47b8c75548257758e760b4643c89953fc4d27962feef9
7
+ data.tar.gz: 2060b04b4189f035665cfc24a0c4019f24630b1886515748973a8854a72ac5e2095ae3f041a62909014e474862d9dccdeb63426f3a7b25f3be530e014985fba5
@@ -76,7 +76,7 @@ module Fastlane
76
76
  swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"테스트 시간 : \"},{\"type\":\"rt_text\",\"content\":\"#{duration}\",\"styles\":{\"bold\":true}}]},"
77
77
 
78
78
  # Firebase Test Lab Result Json
79
- resultJson = JSON.parse(File.read(params[:console_log_file_name]))
79
+ resultJson = File.read(params[:console_log_file_name])
80
80
 
81
81
  swit_device_payload = resultJson.map.with_index do |item, device_index|
82
82
  axis_value_parts = item["axis_value"].split('-')
@@ -93,10 +93,10 @@ module Fastlane
93
93
  "{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\", \"content\": \"OS: #{version} / Locale: #{locale} / Orientation: #{orientation}\"}]}, "
94
94
 
95
95
  # 성공 여부
96
- if outcome == 'passed'
96
+ if outcome == 'Passed'
97
97
  device_payload +=
98
98
  "{\"type\":\"rt_section\",\"elements\":[{\"type\":\"rt_text\",\"content\":\"결과 : \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"},{\"type\":\"rt_text\",\"content\":\" Passed \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"}]}"
99
- elsif outcome == 'failed'
99
+ elsif outcome == 'Failed'
100
100
  device_payload +=
101
101
  "{\"type\":\"rt_section\",\"elements\":[{\"type\":\"rt_text\",\"content\":\"결과 : \"},{\"type\":\"rt_emoji\",\"name\":\":interrobang:\"},{\"type\":\"rt_text\",\"content\":\" Failed \"},{\"type\":\"rt_emoji\",\"name\": \":interrobang:\"}]}"
102
102
  else # Skip or other outcomes
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.932"
3
+ VERSION = "0.1.933"
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.932
4
+ version: 0.1.933
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이