fastlane-plugin-huawei_appgallery_connect 1.0.22 → 1.0.24

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: ba38e11c0c4c135c7685008802a9dad4c810b85f7f3f514d4479e590c5a6d678
4
- data.tar.gz: cdf4811e1c2a5cbe2c41f5a2ebab16c99bff01e642cc71cfbc9c39d22c66621c
3
+ metadata.gz: 934901c3b617cc4ed08c4e497dee4d06a81e1b13c49aa5f9adff8d9d8ad4e198
4
+ data.tar.gz: 19df33596ab5124b39cf11e1d2ea340760e2557331e5ade092c4e20fbff82224
5
5
  SHA512:
6
- metadata.gz: d5b72a30518b8ab10041a737e99595fb6d70c17cd4851c87a3199802d8ef610000a4ce116244e69efdd23644457b65416e2c3ada8986b0e98951df692e742775
7
- data.tar.gz: 77b72f7286a44475b280e5609d99b16c180f9883762b0ea4df8bed7e3d57e983e40852f46131baa71574bce8453954dcadc4868aa84cdf1db1bb20d3b983fea1
6
+ metadata.gz: 3d44df0797efd909411e74dbeff7c84767e2c302f8115b1af9220905714675d8b38b441f4ccc8bad0e936ca24db399379003ac9a7153d661c4a31ebf99da6520
7
+ data.tar.gz: 02b46deaf235627ad9e746417a62130a5a5d2b223912f6f42f0e0377fc94170b1759e2444b6eca2968f5b867638a8a3cf436766c9b01b95fda0090792d77d8c9
@@ -1,4 +1,5 @@
1
1
  require 'fastlane_core/ui/ui'
2
+ require 'CGI'
2
3
 
3
4
  module Fastlane
4
5
  UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
@@ -184,7 +185,6 @@ module Fastlane
184
185
 
185
186
  def self.query_aab_compilation_status(token,params, pkgVersion)
186
187
  UI.important("Checking aab compilation status")
187
-
188
188
  uri = URI.parse("https://connect-api.cloud.huawei.com/api/publish/v2/aab/complile/status?appId=#{params[:app_id]}&pkgIds=#{pkgVersion}")
189
189
 
190
190
  http = Net::HTTP.new(uri.host, uri.port)
@@ -203,7 +203,7 @@ module Fastlane
203
203
  result_json = JSON.parse(response.body)
204
204
 
205
205
  if result_json['ret']['code'] == 0
206
- return result_json['aabCompileStatus']
206
+ return result_json['pkgStateList'][0]['aabCompileStatus']
207
207
  else
208
208
  UI.user_error!(result_json)
209
209
  return -999
@@ -229,7 +229,7 @@ module Fastlane
229
229
  end
230
230
 
231
231
  if params[:release_time] != nil
232
- params[:release_time] = Addressable::URI.encode(params[:release_time], /\W/)
232
+ params[:release_time] = CGI.escape(params[:release_time])
233
233
  release_time = "&releaseTime=#{params[:release_time]}"
234
234
  end
235
235
 
@@ -242,7 +242,7 @@ module Fastlane
242
242
  UI.user_error!("Failed to submit app for review. Changelog file length is invalid")
243
243
  return
244
244
  else
245
- changelog = "&remark=" + Addressable::URI.encode(changelog_data)
245
+ changelog = "&remark=" + CGI.escape(changelog_data)
246
246
  end
247
247
  end
248
248
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module HuaweiAppgalleryConnect
3
- VERSION = "1.0.22"
3
+ VERSION = "1.0.24"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-huawei_appgallery_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.22
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shreejan Shrestha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-25 00:00:00.000000000 Z
11
+ date: 2023-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry