fastlane-plugin-android_testlab_script_swit 0.1.78 → 0.1.80

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: 947ef3fa152318036e2d95276ceeff7eddb1b6a75f5b9003524b187e85392133
4
- data.tar.gz: 5f35b245ab32dbca1617abf028ae4a709e5a082d6f317bf79cd2d7b568f46151
3
+ metadata.gz: b6e3084e3bd0acc2554513f8dbe09f44ee454b8f91b25dfa82d2c1b98ed25ff0
4
+ data.tar.gz: d28fa9a9ceb6c567c0ed543d174cb8f314c7bec7263c8fd7f15ab2a546a2b728
5
5
  SHA512:
6
- metadata.gz: 26c0cc5dc160a22e5b6e69e3dce5b93dca874e18f2d50b57113899762d663e1676dccad9bed981736f0c66fac86e5766c3c7d094135a28b81b20b2d69d44ef6e
7
- data.tar.gz: 8329a39781a09097a01bf4f9500c50f9d40ca4bc7fa3bef0f178c54bf404cbfc2db0ae2aef6525eb8d3e14bbf70ac1550fde4050e5e28833a5b2207ccd4170a6
6
+ metadata.gz: 3290c26e8e1c030ce54f2e3e1b5f2da471420179db28071ea84d373455db454a6551c5081224ac3b9745f59902d8e0438de7974832ff3711c27f93bd0ad456e3
7
+ data.tar.gz: 5ea0d98c8a076019578ff3e5bb6fa71e336b43c0ac31d838dbcf04dd6152c86b1d1b5e40343b3300e058bdc50d1710a69b7f3185095369f144e2eb592344c4f5
@@ -82,8 +82,10 @@ module Fastlane
82
82
  # {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Result : #{outcome}\"}]}]"
83
83
  # end
84
84
 
85
+ new_payload = ""
86
+
85
87
  params[:devices].each_with_index do |device, index|
86
- new_payload = "[{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
88
+ new_payload += "[{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
87
89
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
88
90
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
89
91
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"}]},
@@ -116,7 +118,7 @@ module Fastlane
116
118
  swit_webhook_payload += new_payload_string + ']}]}'
117
119
 
118
120
  # Swit Message
119
- 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' })
120
122
 
121
123
  UI.message("Finish Action")
122
124
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.78"
3
+ VERSION = "0.1.80"
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.78
4
+ version: 0.1.80
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이