fastlane-plugin-android_testlab_script_swit 0.1.64 → 0.1.66

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: 9f682bc65eeb71a668a0d0ffc875ccbcf6f0a1268cdc2a3881d10c668cc8e671
4
- data.tar.gz: ff931f3294f95a83a631584ac6110361dd016377847d84d25d1d9d260b66da37
3
+ metadata.gz: 27eda109932850f31989ededefe7a0e92b2db4c2f2d4fe7e90919e47de074a39
4
+ data.tar.gz: 5c7887bed19cef9ceb484f4f5cf172904bb74bfafc0d598530e5aefa1e7d9299
5
5
  SHA512:
6
- metadata.gz: 75890a8c09d3512eab63c768f3374caa432eb7fdb6bd19fa78729f20f015736566fd6aef0b970fb1938ee282cde0136eb2e4bea37fd078b52456b2ea9b5fc904
7
- data.tar.gz: adb3856b1ffb7ac89af69898dca4b9ec6fecf50f5ff001c1ca18b6f1ff0c161f116421367b9aaed01768dbd192795b64871661413494d95482a2f49a09d99e92
6
+ metadata.gz: 795f14d58a32319bb75b985117b92f7ee6b572b338a618437a851a605be9ebdef8a73b290a31e027b98505de780a400c186cf66f190457f2bb34a4ab0cbecd4b
7
+ data.tar.gz: 631b931276e14c421f22b852868cb22bb1af534acc21755734f9b8c41c157b58cb82602afb5ec89c6628e04d97d8307173c6bcfb8ee8fca4f3d15bd6a3d9ab4a
@@ -61,21 +61,20 @@ module Fastlane
61
61
 
62
62
  parts.each_with_index do |part, index|
63
63
  UI.message("Part #{index + 1}: #{part}")
64
-
65
- params[:devices].each_with_index do |device, index|
66
- payload_string = {
67
- {"type":"rt_section","indent":1,"elements":[{"type":"rt_text","content":"Device#{index + 1}"}]},
68
- {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"model : #{device[:model]}"}]},
69
- {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"OS Version : #{device[:version]}"}]},
70
- {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"locale : #{device[:locale]}"}}},
71
- {"type":"rt_section","indent":2,"elements":[{"type\":\"rt_text\",\"content":{"orientation : #{device[:orientation]}"}}},
72
- {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"Result : #{outcome}"}}},
73
- }
74
- end
75
64
  end
76
-
77
65
  end
78
66
 
67
+ # params[:devices].each_with_index do |device, index|
68
+ # payload_string = +{,
69
+ # {"type":"rt_section","indent":1,"elements":[{"type":"rt_text","content":"Device#{index + 1}"}]},
70
+ # {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"model : #{device[:model]}"}]},
71
+ # {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":"OS Version : #{device[:version]}"}]},
72
+ # {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"locale : #{device[:locale]}"}}},
73
+ # {"type":"rt_section","indent":2,"elements":[{"type\":\"rt_text\",\"content":{"orientation : #{device[:orientation]}"}}},
74
+ # {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"Result : #{outcome}"}}},
75
+ # }
76
+ # end
77
+
79
78
 
80
79
  # Fetch results
81
80
  download_dir = params[:download_dir]
@@ -91,7 +90,7 @@ module Fastlane
91
90
 
92
91
 
93
92
  # Swit Message
94
- HTTParty.post(params[:swit_webhook_url], body: payload_string.to_json, headers: { 'Content-Type' => 'application/json' })
93
+ HTTParty.post(params[:swit_webhook_url], body: { body_text: payload_string }.to_json, headers: { 'Content-Type' => 'application/json' })
95
94
 
96
95
  UI.message("Finish Action")
97
96
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.64"
3
+ VERSION = "0.1.66"
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.64
4
+ version: 0.1.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이