fastlane-plugin-android_testlab_script_swit 0.1.907 → 0.1.908

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: 75cd650b8b82f169d37830454875b08c8a36a6853ae03cb4cdcdcf7bd79b62a2
4
- data.tar.gz: 2522dd23a350e5b30c5a29c3a647d4c457e102f947ac4dc503bc27abb5d0dd2e
3
+ metadata.gz: c28119c22f04356fb683ca615a62cfee397bf7460c7e943e0b72857af83943a3
4
+ data.tar.gz: 88de0d4cb52f04005a59648e1786f1a12602ce3fd58a5f13939a81879ecd8632
5
5
  SHA512:
6
- metadata.gz: ce94dd7dc7aa548f0a6a57b788b38efa700b303bebf693050b6ecc690f37b6440771f4c42273cbcd28e97f13079710314d054021998b7fb6378f19e05c988ec0
7
- data.tar.gz: 432eaa04c7310c7ef113004cc13bc4c4df083f06172e88262aea405b2a95c5a90e6d56222fad1148650c314265483bc8aa0178b762162bca9633bcaaf7f5a259
6
+ metadata.gz: 4d4be02d2be722590289871b4175d1c4de4d6f5340caaa0b3c590d661ee60d00da73d6b0c246b3e01a2e766993566a277e65c86499af2f55ffc5c7eea16af10c
7
+ data.tar.gz: 8c6ae42cca38d153b4b4abfc1cc5a2a141d284e2c5731b601d158dcf5775d66640c93d3901c569faf93779c00bb17d7b8be4fa3c9da8668edb87cbc265ad3eb0
@@ -67,21 +67,10 @@ module Fastlane
67
67
 
68
68
  swit_device_payload += "," unless index == parts.length - 1
69
69
  end
70
-
71
70
  end
72
-
73
- # results.each do |result|
74
- # result[:parts].each_with_index do |part, index|
75
- # swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Device#{index + 1}\"}]},
76
- # {\"type\": \"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"model : #{part[:model]}\"}]},
77
- # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{part[:version]}\"}]},
78
- # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"locale : #{part[:locale]}\"}]},
79
- # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"orientation : #{part[:orientation]}\"}]},
80
- # {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{result[:outcome]}\"}]}"
81
- #
82
- # swit_device_payload += "," unless index == result[:parts].length - 1
83
- # end
84
- # end
71
+
72
+ # 중간 체크
73
+ UI.message(swit_device_payload)
85
74
 
86
75
  # Fetch results
87
76
  download_dir = params[:download_dir]
@@ -97,6 +86,9 @@ module Fastlane
97
86
 
98
87
  # Swit PayLoad 병합
99
88
  swit_webhook_payload += swit_device_payload + ']}]}'
89
+
90
+ # 마지막 체크
91
+ UI.message(swit_webhook_payload)
100
92
 
101
93
  # Swit WebHook
102
94
  HTTParty.post(params[:swit_webhook_url], body: { body_text: swit_webhook_payload }.to_json, headers: { 'Content-Type' => 'application/json' })
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.907"
3
+ VERSION = "0.1.908"
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.907
4
+ version: 0.1.908
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이