fastlane-plugin-android_testlab_script_swit 0.1.915 → 0.1.916

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: 3bbbcfb99af6fca66373690a1e9dd4a9f917a18b38ac267c3a44495bfafc53d3
4
- data.tar.gz: 7e66e6d341a29612dc8c27618eedce46bf4b35e8c2f88c708c5b6ab261bf18b7
3
+ metadata.gz: 16f5b4ce741d819dd105c9a915259481e748a9d1f7d70d33021d58768eafac30
4
+ data.tar.gz: c13498ef4f0e1a6ae7b9c061277fcef6e4dbb64aa4551d8e49265bb3a2154cea
5
5
  SHA512:
6
- metadata.gz: e3e520824c98f01c0932f815a3ce944f1d6f2f6cc511c5be85b4fcb28f6db582c2b4508233f82fa4e9a758681d37e3ecc053db9cbec9fae6f27884b8bdb0c667
7
- data.tar.gz: 3a0af5d053f62b651a52e6e73e855c6cc37adbd700364f867a5f2fde165e2c6004c482279b462fcf03a67f7f5f2c178ff74bcc54e5464372bb3628ff9ca229fe
6
+ metadata.gz: 704fdef9c914610f101d009c2f1eb3188768af7a719bb7736e16db30901da875b90f4492d15e3f5e39c297ec0dbccd81b925d3999653670ec7e6b2d3518a124b
7
+ data.tar.gz: 314ee9bd65b0e47a96153aba54839ed55d50337b9987f622e3ccc2e92cfb9ea8722086772c07efb3f29f4a000f8adb0e0653fb1d8c23a4db0140b6d8b56c4fb7
@@ -62,18 +62,23 @@ module Fastlane
62
62
  swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{device_index + 1}\"}]},"
63
63
 
64
64
  parts.each_with_index do |part, part_index|
65
- swit_device_payload += "{\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Part : #{part}\"}]},"
65
+ swit_device_payload += "{\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Part : #{part}\"}]}"
66
66
 
67
67
  if part_index == (parts.length -1)
68
- swit_device_payload += "{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content":"Result : #{outcome}\"}]}"
69
- swit_device_payload += "," unless device_index == (resultJson.length -1)
68
+ safe_outcome = outcome.to_json
69
+ swit_device_payload += ",{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\": #{safe_outcome}}]}"
70
+ else
71
+ swit_device_payload += ","
70
72
  end
71
73
  end
74
+
75
+ swit_device_payload += "," unless device_index == (resultJson.length -1)
72
76
  end
73
77
 
74
78
  # remove the last comma if it exists
75
79
  swit_device_payload.chomp!(',')
76
80
 
81
+
77
82
 
78
83
  # 각 JSON 객체에 대해 반복
79
84
  # resultJson.each do |item|
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.915"
3
+ VERSION = "0.1.916"
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.915
4
+ version: 0.1.916
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이