fastlane-plugin-firebase_app_distribution 0.4.0.pre.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb +1 -1
- data/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb +5 -0
- data/lib/fastlane/plugin/firebase_app_distribution/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c1ecfa3d259597531bf5d000974d70de8f91aaf2e530f4b277f9382627bb27c
|
4
|
+
data.tar.gz: 64de62eea1701401a75adee5b412970e6bc3abb14964ad9f4fc7a57ce74d03e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01423717bdd9b128f047b81c3e91072067441aeb0378b27e45b72af59f4387bb37d40144f2d082f1608bcf59f709bae0feefa9fcdba490873e679fff9898dca2
|
7
|
+
data.tar.gz: 02d60865da2daee4b649bcebe14c35f64eaba2c8fd09f4ebd21d3099632779492d81eeac454697052db836ba63425f68ef7a1a59656d6f915b14a36a57cc2096
|
data/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb
CHANGED
@@ -76,7 +76,7 @@ module Fastlane
|
|
76
76
|
end
|
77
77
|
|
78
78
|
if upload_status_response.testing_uri
|
79
|
-
UI.message("🔗 Share this release with testers: #{upload_status_response.testing_uri}")
|
79
|
+
UI.message("🔗 Share this release with testers who have access: #{upload_status_response.testing_uri}")
|
80
80
|
end
|
81
81
|
|
82
82
|
if upload_status_response.binary_download_uri
|
data/lib/fastlane/plugin/firebase_app_distribution/client/firebase_app_distribution_api_client.rb
CHANGED
@@ -44,6 +44,7 @@ module Fastlane
|
|
44
44
|
connection.post(distribute_url(release_name), payload.to_json) do |request|
|
45
45
|
request.headers[AUTHORIZATION] = "Bearer " + @auth_token
|
46
46
|
request.headers[CONTENT_TYPE] = APPLICATION_JSON
|
47
|
+
request.headers[CLIENT_VERSION] = client_version_header_value
|
47
48
|
end
|
48
49
|
rescue Faraday::ClientError
|
49
50
|
UI.user_error!("#{ErrorMessage::INVALID_TESTERS} \nEmails: #{emails} \nGroup Aliases: #{group_aliases}")
|
@@ -74,6 +75,7 @@ module Fastlane
|
|
74
75
|
connection.patch(update_release_notes_url(release_name), payload.to_json) do |request|
|
75
76
|
request.headers[AUTHORIZATION] = "Bearer " + @auth_token
|
76
77
|
request.headers[CONTENT_TYPE] = APPLICATION_JSON
|
78
|
+
request.headers[CLIENT_VERSION] = client_version_header_value
|
77
79
|
end
|
78
80
|
rescue Faraday::ClientError => e
|
79
81
|
error = ErrorResponse.new(e.response)
|
@@ -92,6 +94,7 @@ module Fastlane
|
|
92
94
|
begin
|
93
95
|
response = connection.get(aab_info_url(app_name)) do |request|
|
94
96
|
request.headers[AUTHORIZATION] = "Bearer " + @auth_token
|
97
|
+
request.headers[CLIENT_VERSION] = client_version_header_value
|
95
98
|
end
|
96
99
|
rescue Faraday::ResourceNotFound
|
97
100
|
UI.user_error!("#{ErrorMessage::INVALID_APP_ID}: #{app_name}")
|
@@ -183,6 +186,7 @@ module Fastlane
|
|
183
186
|
def get_upload_status(operation_name)
|
184
187
|
response = connection.get(upload_status_url(operation_name)) do |request|
|
185
188
|
request.headers[AUTHORIZATION] = "Bearer " + @auth_token
|
189
|
+
request.headers[CLIENT_VERSION] = client_version_header_value
|
186
190
|
end
|
187
191
|
UploadStatusResponse.new(response.body)
|
188
192
|
end
|
@@ -197,6 +201,7 @@ module Fastlane
|
|
197
201
|
begin
|
198
202
|
response = connection.get(get_udids_url(app_id)) do |request|
|
199
203
|
request.headers[AUTHORIZATION] = "Bearer " + @auth_token
|
204
|
+
request.headers[CLIENT_VERSION] = client_version_header_value
|
200
205
|
end
|
201
206
|
rescue Faraday::ResourceNotFound
|
202
207
|
UI.user_error!("#{ErrorMessage::INVALID_APP_ID}: #{app_id}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-firebase_app_distribution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Natchev
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-01-
|
13
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|
@@ -180,9 +180,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
|
-
- - "
|
183
|
+
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version:
|
185
|
+
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubygems_version: 3.1.6
|
188
188
|
signing_key:
|