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: e8ad1b77f355b7d2284ad5e1cd0f161b2c643209cafbe79c3bd11c5de23405f2
4
- data.tar.gz: f6dd1a859de8909d8e25b1485a5dd98130da965814e6246beadaf4c291f3f41d
3
+ metadata.gz: dfbde49f6453dab62630894c6b4d16a2710d588b0745d97b33840fbb8eaae8d8
4
+ data.tar.gz: 158bbe4a0770dfc2eb01a260144e3aecf72b14ba95f45e50789c3907a92bf8e0
5
5
  SHA512:
6
- metadata.gz: 1cef05bbe6d2a076cca0e48d42e956717e792ebae5420c00e6c2c0b0ba805a186aa563c70f11268fc0d1b220b1ada355759f555c0f13fa37ad9bf0975b3409bc
7
- data.tar.gz: 15771fc11e6da6d2deb8eb442c2b05e82c9d2f379bf64658617aa041bcf5f7c9507d926cf27d343bdc189f11c111f0ff91a449360a309801cedbf64ba76e9348
6
+ metadata.gz: 21ac172a899067f8eac2eaf09268c7ff0e941da6886ab393a9f52f29860c6d03ec71cb997a6d84946410a87bcdf0bed5b2d53816e5aebd66767b0e961c465b44
7
+ data.tar.gz: d77abc579cd3551998c11c8c24a97053a079bcbf8cfc662e97883632da71d9e3be95ecb973dcdeb9461a41015bcac6bf4ba5b99dae4bb88a65847977c7a3aba2
@@ -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['Content-Type'] = "application/json"
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
-
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module HuaweiAppgalleryConnect
3
- VERSION = "1.0.15"
3
+ VERSION = "1.0.16"
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.15
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: 2020-10-31 00:00:00.000000000 Z
11
+ date: 2021-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry