fastlane-plugin-android_testlab_script_swit 0.1.79 → 0.1.81

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: d6f7d4dd9e630ebf7278f37d8c56440180e41ab7ae59c47924fa2caf2224016e
4
- data.tar.gz: 87be8b82ef88b882005206aeadd1d0abf4529cc081fa7d799a3bf43670c56782
3
+ metadata.gz: 78783cfb07f63f9a0069c8992548260d7c90ac430bfc82bd73b970db70c7dffb
4
+ data.tar.gz: 23ebb40662de899226be0f432452b13514889e4e0fb46f6a83b98be4300b4e19
5
5
  SHA512:
6
- metadata.gz: 92809838c4aadcac137e75aa317359483b90151ee1b6107958881041c3ca5188ade23230df7b0cc66bf64a4bfe58a95203266d5c2e3a5902e45b8ac1973bc105
7
- data.tar.gz: f68157fca579c24288903d5852a954824165c72ac986af1263914b9e526f45615e25a05e0e065e04af5e0f5554d63c0a8ee68476b1dfd319c4f9c1bccfcde44b
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,17 +110,15 @@ 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
- HTTParty.post(params[:swit_webhook_url], body: { body_text: params[:swit_webhook_payload] }.to_json, headers: { 'Content-Type' => 'application/json' })
121
+ HTTParty.post(params[:swit_webhook_url], body: { body_text: swit_webhook_payload }.to_json, headers: { 'Content-Type' => 'application/json' })
122
122
 
123
123
  UI.message("Finish Action")
124
124
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.79"
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.79
4
+ version: 0.1.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이