fastlane-plugin-huawei_appgallery_connect 1.0.15 → 1.0.16
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfbde49f6453dab62630894c6b4d16a2710d588b0745d97b33840fbb8eaae8d8
|
4
|
+
data.tar.gz: 158bbe4a0770dfc2eb01a260144e3aecf72b14ba95f45e50789c3907a92bf8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21ac172a899067f8eac2eaf09268c7ff0e941da6886ab393a9f52f29860c6d03ec71cb997a6d84946410a87bcdf0bed5b2d53816e5aebd66767b0e961c465b44
|
7
|
+
data.tar.gz: d77abc579cd3551998c11c8c24a97053a079bcbf8cfc662e97883632da71d9e3be95ecb973dcdeb9461a41015bcac6bf4ba5b99dae4bb88a65847977c7a3aba2
|
data/lib/fastlane/plugin/huawei_appgallery_connect/helper/huawei_appgallery_connect_helper.rb
CHANGED
@@ -57,6 +57,7 @@ module Fastlane
|
|
57
57
|
request = Net::HTTP::Put.new(uri.request_uri)
|
58
58
|
request["client_id"] = client_id
|
59
59
|
request["Authorization"] = "Bearer #{token}"
|
60
|
+
request["Content-Type"] = "application/json"
|
60
61
|
|
61
62
|
request.body = {privacyPolicy: privacy_policy_url}.to_json
|
62
63
|
|
@@ -96,6 +97,7 @@ module Fastlane
|
|
96
97
|
request = Net::HTTP::Get.new(uri.request_uri)
|
97
98
|
request["client_id"] = client_id
|
98
99
|
request["Authorization"] = "Bearer #{token}"
|
100
|
+
request["Content-Type"] = "application/json"
|
99
101
|
|
100
102
|
response = http.request(request)
|
101
103
|
|
@@ -143,7 +145,7 @@ module Fastlane
|
|
143
145
|
request = Net::HTTP::Put.new(uri.request_uri)
|
144
146
|
request["client_id"] = client_id
|
145
147
|
request["Authorization"] = "Bearer #{token}"
|
146
|
-
request[
|
148
|
+
request["Content-Type"] = "application/json"
|
147
149
|
|
148
150
|
data = {fileType: 5, files: [{
|
149
151
|
|
@@ -251,6 +253,7 @@ module Fastlane
|
|
251
253
|
request = Net::HTTP::Post.new(uri.request_uri)
|
252
254
|
request["client_id"] = params[:client_id]
|
253
255
|
request["Authorization"] = "Bearer #{token}"
|
256
|
+
request["Content-Type"] = "application/json"
|
254
257
|
|
255
258
|
if params[:phase_wise_release] != nil && params[:phase_wise_release]
|
256
259
|
request.body = {
|
@@ -287,4 +290,3 @@ module Fastlane
|
|
287
290
|
end
|
288
291
|
end
|
289
292
|
end
|
290
|
-
|
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.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shreejan Shrestha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|