fastlane-plugin-android_testlab_script_swit 0.1.80 → 0.1.81

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: b6e3084e3bd0acc2554513f8dbe09f44ee454b8f91b25dfa82d2c1b98ed25ff0
4
- data.tar.gz: d28fa9a9ceb6c567c0ed543d174cb8f314c7bec7263c8fd7f15ab2a546a2b728
3
+ metadata.gz: 78783cfb07f63f9a0069c8992548260d7c90ac430bfc82bd73b970db70c7dffb
4
+ data.tar.gz: 23ebb40662de899226be0f432452b13514889e4e0fb46f6a83b98be4300b4e19
5
5
  SHA512:
6
- metadata.gz: 3290c26e8e1c030ce54f2e3e1b5f2da471420179db28071ea84d373455db454a6551c5081224ac3b9745f59902d8e0438de7974832ff3711c27f93bd0ad456e3
7
- data.tar.gz: 5ea0d98c8a076019578ff3e5bb6fa71e336b43c0ac31d838dbcf04dd6152c86b1d1b5e40343b3300e058bdc50d1710a69b7f3185095369f144e2eb592344c4f5
6
+ metadata.gz: ed99c2a707b4b8e8b5d1001853027d5f4b43f0a155aa12a25b20f3903aa8473b102099bc801f927ccccbe01501fb576a3b563c7a715dff384d8999689f51b96f
7
+ data.tar.gz: a7450365e567a38e477faee1c17f3d6c8e4ded6bbe1b6058b2cff5901765f4855f0318d1b2b1c6a2eb13d47e9f2b6290d790fa0ac79b1707a41352d4ea2199fc
@@ -90,6 +90,8 @@ module Fastlane
90
90
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
91
91
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"}]},
92
92
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]}"
93
+
94
+ new_payload += "," unless index == params[:devices].length - 1
93
95
  end
94
96
 
95
97
  # Fetch results
@@ -108,14 +110,12 @@ module Fastlane
108
110
  # 원래 하던 행위
109
111
  # payload_string = params[:swit_webhook_payload]
110
112
 
111
- # 앞뒤 지우기
112
- new_payload_string = new_payload.to_json
113
113
 
114
114
  # Remove the closing square bracket from the original payload and add a comma
115
115
  swit_webhook_payload = params[:swit_webhook_payload][0..-3] + ','
116
116
 
117
117
  # Add the additional payload and close the square bracket
118
- swit_webhook_payload += new_payload_string + ']}]}'
118
+ swit_webhook_payload += new_payload + ']}]}'
119
119
 
120
120
  # Swit Message
121
121
  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.80"
3
+ VERSION = "0.1.81"
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.80
4
+ version: 0.1.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이