fastlane-plugin-android_testlab_script_swit 0.1.906 → 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: 96dab9ced59454726f9aef469e2d6e65f8792ee04570c176860967c98bb20a54
4
- data.tar.gz: 3bf15cf5d3d9dc69400239430cf46c37edbfbd21506030bb77ab70174ec8d3e6
3
+ metadata.gz: c28119c22f04356fb683ca615a62cfee397bf7460c7e943e0b72857af83943a3
4
+ data.tar.gz: 88de0d4cb52f04005a59648e1786f1a12602ce3fd58a5f13939a81879ecd8632
5
5
  SHA512:
6
- metadata.gz: fa7679a0f5db39003d65921c58dcd007400e00bb76ac3836266f1e635aa19875c50827b9d74de73b3f5dc51e7a005259304d0b9e1eea071d7857f164cdd4ae20
7
- data.tar.gz: aec5975ea9cbbea101c1015f22dc351984809c455cd61b32a7b7bd484de20a168484e2089f049ef47392cecd02820fa06fdb0bce4450f91b295db46567f9700e
6
+ metadata.gz: 4d4be02d2be722590289871b4175d1c4de4d6f5340caaa0b3c590d661ee60d00da73d6b0c246b3e01a2e766993566a277e65c86499af2f55ffc5c7eea16af10c
7
+ data.tar.gz: 8c6ae42cca38d153b4b4abfc1cc5a2a141d284e2c5731b601d158dcf5775d66640c93d3901c569faf93779c00bb17d7b8be4fa3c9da8668edb87cbc265ad3eb0
@@ -13,8 +13,6 @@ module Fastlane
13
13
  UI.message("********************************")
14
14
  UI.message("Start Action")
15
15
  UI.message("********************************")
16
- UI.message("GCloudChannel :: ", params[:gcloud_components_channel])
17
- UI.message("********************************")
18
16
 
19
17
  # Result Bucket & Dir
20
18
  results_bucket = params[:firebase_test_lab_results_bucket] || "#{params[:project_id]}_test_results"
@@ -69,24 +67,10 @@ module Fastlane
69
67
 
70
68
  swit_device_payload += "," unless index == parts.length - 1
71
69
  end
72
-
73
70
  end
74
-
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 : #{part[:model]}\"}]},
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
87
-
88
- # 결과좀 봅시다.
89
- UI.message(new_payload)
71
+
72
+ # 중간 체크
73
+ UI.message(swit_device_payload)
90
74
 
91
75
  # Fetch results
92
76
  download_dir = params[:download_dir]
@@ -102,6 +86,9 @@ module Fastlane
102
86
 
103
87
  # Swit PayLoad 병합
104
88
  swit_webhook_payload += swit_device_payload + ']}]}'
89
+
90
+ # 마지막 체크
91
+ UI.message(swit_webhook_payload)
105
92
 
106
93
  # Swit WebHook
107
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.906"
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.906
4
+ version: 0.1.908
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이