fastlane 2.158.0 → 2.163.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +74 -74
- data/cert/lib/cert/options.rb +28 -1
- data/cert/lib/cert/runner.rb +50 -33
- data/deliver/lib/deliver/app_screenshot_iterator.rb +4 -4
- data/deliver/lib/deliver/module.rb +2 -0
- data/deliver/lib/deliver/options.rb +20 -4
- data/deliver/lib/deliver/runner.rb +36 -8
- data/deliver/lib/deliver/upload_metadata.rb +49 -9
- data/deliver/lib/deliver/upload_price_tier.rb +7 -2
- data/deliver/lib/deliver/upload_screenshots.rb +25 -8
- data/{pilot/lib/pilot/.manager.rb.swp → fastlane/lib/fastlane/.erb_template_helper.rb.swp} +0 -0
- data/fastlane/lib/fastlane/actions/{.slack.rb.swp → .git_commit.rb.swp} +0 -0
- data/fastlane/lib/fastlane/actions/.register_device.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.register_devices.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/actions_helper.rb +20 -1
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +39 -3
- data/fastlane/lib/fastlane/actions/app_store_connect_api_key.rb +15 -1
- data/fastlane/lib/fastlane/actions/check_app_store_metadata.rb +1 -0
- data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +1 -0
- data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/create_app_online.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +3 -2
- data/fastlane/lib/fastlane/actions/docs/run_tests.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +3 -3
- data/fastlane/lib/fastlane/actions/docs/upload_to_play_store.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +2 -2
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +32 -7
- data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +13 -2
- data/fastlane/lib/fastlane/actions/get_certificates.rb +1 -0
- data/fastlane/lib/fastlane/actions/get_provisioning_profile.rb +1 -0
- data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +15 -0
- data/fastlane/lib/fastlane/actions/register_device.rb +46 -5
- data/fastlane/lib/fastlane/actions/register_devices.rb +46 -15
- data/fastlane/lib/fastlane/actions/sync_code_signing.rb +1 -0
- data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +3 -2
- data/fastlane/lib/fastlane/helper/git_helper.rb +2 -0
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +6 -4
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Actions.swift +2 -1
- data/fastlane/swift/Appfile.swift +2 -4
- data/fastlane/swift/ArgumentProcessor.swift +2 -6
- data/fastlane/swift/ControlCommand.swift +2 -5
- data/fastlane/swift/Deliverfile.swift +5 -2
- data/fastlane/swift/DeliverfileProtocol.swift +18 -7
- data/fastlane/swift/Fastfile.swift +5 -1
- data/fastlane/swift/Fastlane.swift +2368 -2251
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +5 -5
- data/fastlane/swift/Gymfile.swift +5 -2
- data/fastlane/swift/GymfileProtocol.swift +6 -3
- data/fastlane/swift/LaneFileProtocol.swift +49 -40
- data/fastlane/swift/MainProcess.swift +77 -0
- data/fastlane/swift/Matchfile.swift +5 -2
- data/fastlane/swift/MatchfileProtocol.swift +21 -6
- data/fastlane/swift/Plugins.swift +2 -1
- data/fastlane/swift/Precheckfile.swift +5 -2
- data/fastlane/swift/PrecheckfileProtocol.swift +14 -3
- data/fastlane/swift/RubyCommand.swift +2 -6
- data/fastlane/swift/RubyCommandable.swift +2 -6
- data/fastlane/swift/Runner.swift +5 -9
- data/fastlane/swift/RunnerArgument.swift +2 -6
- data/fastlane/swift/Scanfile.swift +5 -2
- data/fastlane/swift/ScanfileProtocol.swift +6 -3
- data/fastlane/swift/Screengrabfile.swift +5 -2
- data/fastlane/swift/ScreengrabfileProtocol.swift +6 -3
- data/fastlane/swift/Snapshotfile.swift +5 -2
- data/fastlane/swift/SnapshotfileProtocol.swift +6 -3
- data/fastlane/swift/SocketClient.swift +3 -7
- data/fastlane/swift/SocketClientDelegateProtocol.swift +2 -6
- data/fastlane/swift/SocketResponse.swift +2 -6
- data/fastlane/swift/formatting/Brewfile.lock.json +18 -10
- data/fastlane/swift/main.swift +4 -8
- data/fastlane/swift/upgrade_manifest.json +1 -1
- data/fastlane_core/lib/fastlane_core/analytics/analytics_session.rb +6 -7
- data/fastlane_core/lib/fastlane_core/keychain_importer.rb +2 -2
- data/frameit/lib/frameit/editor.rb +1 -0
- data/gym/lib/gym/generators/package_command_generator_xcode7.rb +2 -2
- data/match/lib/match/generator.rb +6 -1
- data/match/lib/match/importer.rb +44 -8
- data/match/lib/match/migrate.rb +13 -2
- data/match/lib/match/nuke.rb +65 -22
- data/match/lib/match/options.rb +27 -2
- data/match/lib/match/runner.rb +38 -10
- data/match/lib/match/spaceship_ensure.rb +27 -21
- data/match/lib/match/storage/google_cloud_storage.rb +20 -3
- data/match/lib/match/storage/s3_storage.rb +19 -3
- data/pilot/lib/pilot/options.rb +2 -2
- data/precheck/lib/precheck/options.rb +16 -0
- data/precheck/lib/precheck/runner.rb +20 -1
- data/sigh/lib/sigh/download_all.rb +16 -4
- data/sigh/lib/sigh/options.rb +21 -0
- data/sigh/lib/sigh/runner.rb +80 -38
- data/snapshot/lib/assets/SnapshotHelper.swift +21 -2
- data/spaceship/README.md +1 -1
- data/spaceship/lib/spaceship/{connect_api/.DS_Store → .DS_Store} +0 -0
- data/spaceship/lib/spaceship/client.rb +9 -4
- data/spaceship/lib/spaceship/connect_api.rb +25 -0
- data/spaceship/lib/spaceship/connect_api/api_client.rb +12 -3
- data/spaceship/lib/spaceship/connect_api/client.rb +38 -15
- data/{fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp → spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp} +0 -0
- data/spaceship/lib/spaceship/connect_api/models/app.rb +17 -9
- data/spaceship/lib/spaceship/connect_api/models/app_info.rb +1 -0
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot.rb +3 -1
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +2 -2
- data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +3 -5
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb +3 -5
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +2 -1
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +42 -0
- data/spaceship/lib/spaceship/connect_api/models/device.rb +5 -0
- data/spaceship/lib/spaceship/connect_api/models/profile.rb +7 -1
- data/spaceship/lib/spaceship/connect_api/models/user_invitation.rb +59 -0
- data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +45 -2
- data/spaceship/lib/spaceship/connect_api/spaceship.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +13 -0
- data/spaceship/lib/spaceship/connect_api/token.rb +6 -1
- data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +17 -9
- data/spaceship/lib/spaceship/connect_api/users/users.rb +40 -0
- data/spaceship/lib/spaceship/helper/net_http_generic_request.rb +11 -5
- metadata +27 -25
- data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
require_relative '../model'
|
2
|
+
module Spaceship
|
3
|
+
class ConnectAPI
|
4
|
+
class UserInvitation
|
5
|
+
include Spaceship::ConnectAPI::Model
|
6
|
+
|
7
|
+
attr_accessor :first_name
|
8
|
+
attr_accessor :last_name
|
9
|
+
attr_accessor :email
|
10
|
+
attr_accessor :roles
|
11
|
+
attr_accessor :all_apps_visible
|
12
|
+
attr_accessor :provisioning_allowed
|
13
|
+
|
14
|
+
attr_mapping({
|
15
|
+
"firstName" => "first_name",
|
16
|
+
"lastName" => "last_name",
|
17
|
+
"email" => "email",
|
18
|
+
"roles" => "roles",
|
19
|
+
"allAppsVisible" => "all_apps_visible",
|
20
|
+
"provisioningAllowed" => "provisioning_allowed"
|
21
|
+
})
|
22
|
+
|
23
|
+
module UserRole
|
24
|
+
ADMIN = "ADMIN"
|
25
|
+
FINANCE = "FINANCE"
|
26
|
+
TECHNICAL = "TECHNICAL"
|
27
|
+
SALES = "SALES"
|
28
|
+
MARKETING = "MARKETING"
|
29
|
+
DEVELOPER = "DEVELOPER"
|
30
|
+
ACCOUNT_HOLDER = "ACCOUNT_HOLDER"
|
31
|
+
READ_ONLY = "READ_ONLY"
|
32
|
+
APP_MANAGER = "APP_MANAGER"
|
33
|
+
ACCESS_TO_REPORTS = "ACCESS_TO_REPORTS"
|
34
|
+
CUSTOMER_SUPPORT = "CUSTOMER_SUPPORT"
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.type
|
38
|
+
return "userInvitations"
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Managing invitations
|
43
|
+
#
|
44
|
+
|
45
|
+
def self.all(filter: {}, includes: nil, sort: nil)
|
46
|
+
resps = Spaceship::ConnectAPI.get_user_invitations(filter: filter, includes: includes, sort: sort).all_pages
|
47
|
+
return resps.flat_map(&:to_models)
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.find(email: nil, includes: nil)
|
51
|
+
return all(filter: { email: email }, includes: includes)
|
52
|
+
end
|
53
|
+
|
54
|
+
def delete!
|
55
|
+
Spaceship::ConnectAPI.delete_user_invitation(user_invitation_id: id)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -36,13 +36,56 @@ module Spaceship
|
|
36
36
|
provisioning_request_client.get("certificates", params)
|
37
37
|
end
|
38
38
|
|
39
|
+
def get_certificate(certificate_id: nil, includes: nil)
|
40
|
+
params = provisioning_request_client.build_params(filter: nil, includes: includes, limit: nil, sort: nil)
|
41
|
+
provisioning_request_client.get("certificates/#{certificate_id}", params)
|
42
|
+
end
|
43
|
+
|
44
|
+
def post_certificate(attributes: {})
|
45
|
+
body = {
|
46
|
+
data: {
|
47
|
+
attributes: attributes,
|
48
|
+
type: "certificates"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
provisioning_request_client.post("certificates", body)
|
53
|
+
end
|
54
|
+
|
55
|
+
def delete_certificate(certificate_id: nil)
|
56
|
+
raise "Certificate id is nil" if certificate_id.nil?
|
57
|
+
|
58
|
+
provisioning_request_client.delete("certificates/#{certificate_id}")
|
59
|
+
end
|
60
|
+
|
39
61
|
#
|
40
62
|
# devices
|
41
63
|
#
|
42
64
|
|
43
|
-
def get_devices(filter: {}, includes: nil, limit: nil, sort: nil)
|
65
|
+
def get_devices(profile_id: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
44
66
|
params = provisioning_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
45
|
-
|
67
|
+
if profile_id.nil?
|
68
|
+
provisioning_request_client.get("devices", params)
|
69
|
+
else
|
70
|
+
provisioning_request_client.get("profiles/#{profile_id}/devices", params)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
def post_device(name: nil, platform: nil, udid: nil)
|
75
|
+
attributes = {
|
76
|
+
name: name,
|
77
|
+
platform: platform,
|
78
|
+
udid: udid
|
79
|
+
}
|
80
|
+
|
81
|
+
body = {
|
82
|
+
data: {
|
83
|
+
attributes: attributes,
|
84
|
+
type: "devices"
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
provisioning_request_client.post("devices", body)
|
46
89
|
end
|
47
90
|
|
48
91
|
#
|
@@ -73,12 +73,13 @@ module Spaceship
|
|
73
73
|
# @param portal_team_id (String) (optional): The Spaceship::Portal team id
|
74
74
|
# @param tunes_team_id (String) (optional): The Spaceship::Tunes team id
|
75
75
|
# @param team_name (String) (optional): The team name
|
76
|
+
# @param skip_select_team (Boolean) (optional): Whether to skip automatic selection or prompt for team
|
76
77
|
#
|
77
78
|
# @raise InvalidUserCredentialsError: raised if authentication failed
|
78
79
|
#
|
79
80
|
# @return (Spaceship::ConnectAPI::Client) The client the login method was called for
|
80
|
-
def login(user = nil, password = nil, use_portal: true, use_tunes: true, portal_team_id: nil, tunes_team_id: nil, team_name: nil)
|
81
|
-
@client = ConnectAPI::Client.login(user, password, use_portal: use_portal, use_tunes: use_tunes, portal_team_id: portal_team_id, tunes_team_id: tunes_team_id, team_name: team_name)
|
81
|
+
def login(user = nil, password = nil, use_portal: true, use_tunes: true, portal_team_id: nil, tunes_team_id: nil, team_name: nil, skip_select_team: false)
|
82
|
+
@client = ConnectAPI::Client.login(user, password, use_portal: use_portal, use_tunes: use_tunes, portal_team_id: portal_team_id, tunes_team_id: tunes_team_id, team_name: team_name, skip_select_team: skip_select_team)
|
82
83
|
end
|
83
84
|
|
84
85
|
# Open up the team selection for the user (if necessary).
|
@@ -277,6 +277,19 @@ module Spaceship
|
|
277
277
|
test_flight_request_client.delete("betaTesters/#{beta_tester_id}/relationships/betaGroups", nil, body)
|
278
278
|
end
|
279
279
|
|
280
|
+
def delete_beta_testers_from_app(beta_tester_ids: [], app_id: nil)
|
281
|
+
body = {
|
282
|
+
data: beta_tester_ids.map do |id|
|
283
|
+
{
|
284
|
+
type: "betaTesters",
|
285
|
+
id: id
|
286
|
+
}
|
287
|
+
end
|
288
|
+
}
|
289
|
+
|
290
|
+
test_flight_request_client.delete("apps/#{app_id}/relationships/betaTesters", nil, body)
|
291
|
+
end
|
292
|
+
|
280
293
|
#
|
281
294
|
# betaTesterMetrics
|
282
295
|
#
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'jwt'
|
2
|
+
require 'base64'
|
2
3
|
require 'openssl'
|
3
4
|
|
4
5
|
# extract pem from .p8
|
@@ -39,7 +40,7 @@ module Spaceship
|
|
39
40
|
self.create(json)
|
40
41
|
end
|
41
42
|
|
42
|
-
def self.create(key_id: nil, issuer_id: nil, filepath: nil, key: nil, duration: nil, in_house: nil)
|
43
|
+
def self.create(key_id: nil, issuer_id: nil, filepath: nil, key: nil, is_key_content_base64: false, duration: nil, in_house: nil)
|
43
44
|
key_id ||= ENV['SPACESHIP_CONNECT_API_KEY_ID']
|
44
45
|
issuer_id ||= ENV['SPACESHIP_CONNECT_API_ISSUER_ID']
|
45
46
|
filepath ||= ENV['SPACESHIP_CONNECT_API_KEY_FILEPATH']
|
@@ -51,6 +52,10 @@ module Spaceship
|
|
51
52
|
key ||= ENV['SPACESHIP_CONNECT_API_KEY']
|
52
53
|
key ||= File.binread(filepath)
|
53
54
|
|
55
|
+
if !key.nil? && is_key_content_base64
|
56
|
+
key = Base64.decode64(key)
|
57
|
+
end
|
58
|
+
|
54
59
|
self.new(
|
55
60
|
key_id: key_id,
|
56
61
|
issuer_id: issuer_id,
|
@@ -185,9 +185,12 @@ module Spaceship
|
|
185
185
|
type: "apps",
|
186
186
|
id: app_id
|
187
187
|
}
|
188
|
-
data[:attributes] = attributes unless attributes.empty?
|
189
188
|
data[:relationships] = relationships unless relationships.empty?
|
190
189
|
|
190
|
+
if !attributes.nil? && !attributes.empty?
|
191
|
+
data[:attributes] = attributes
|
192
|
+
end
|
193
|
+
|
191
194
|
# Body
|
192
195
|
body = {
|
193
196
|
data: data
|
@@ -308,12 +311,17 @@ module Spaceship
|
|
308
311
|
tunes_request_client.get("appPrices", params)
|
309
312
|
end
|
310
313
|
|
314
|
+
def get_app_price(app_price_id: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
315
|
+
params = tunes_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
316
|
+
tunes_request_client.get("appPrices/#{app_price_id}", params)
|
317
|
+
end
|
318
|
+
|
311
319
|
#
|
312
320
|
# appPricePoints
|
313
321
|
#
|
314
322
|
def get_app_price_points(filter: {}, includes: nil, limit: nil, sort: nil)
|
315
|
-
params =
|
316
|
-
|
323
|
+
params = tunes_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
324
|
+
tunes_request_client.get("appPricePoints", params)
|
317
325
|
end
|
318
326
|
|
319
327
|
#
|
@@ -360,9 +368,9 @@ module Spaceship
|
|
360
368
|
# appScreenshotSets
|
361
369
|
#
|
362
370
|
|
363
|
-
def get_app_screenshot_sets(filter: {}, includes: nil, limit: nil, sort: nil)
|
371
|
+
def get_app_screenshot_sets(app_store_version_localization_id: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
364
372
|
params = tunes_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
365
|
-
tunes_request_client.get("appScreenshotSets", params)
|
373
|
+
tunes_request_client.get("appStoreVersionLocalizations/#{app_store_version_localization_id}/appScreenshotSets", params)
|
366
374
|
end
|
367
375
|
|
368
376
|
def get_app_screenshot_set(app_screenshot_set_id: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
@@ -453,9 +461,9 @@ module Spaceship
|
|
453
461
|
# appInfos
|
454
462
|
#
|
455
463
|
|
456
|
-
def get_app_infos(filter: {}, includes: nil, limit: nil, sort: nil)
|
464
|
+
def get_app_infos(app_id: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
457
465
|
params = tunes_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
458
|
-
tunes_request_client.get("appInfos", params)
|
466
|
+
tunes_request_client.get("apps/#{app_id}/appInfos", params)
|
459
467
|
end
|
460
468
|
|
461
469
|
def patch_app_info(app_info_id: nil, attributes: {})
|
@@ -641,9 +649,9 @@ module Spaceship
|
|
641
649
|
# appStoreVersionLocalizations
|
642
650
|
#
|
643
651
|
|
644
|
-
def get_app_store_version_localizations(filter: {}, includes: nil, limit: nil, sort: nil)
|
652
|
+
def get_app_store_version_localizations(app_store_version_id: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
645
653
|
params = tunes_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
646
|
-
tunes_request_client.get("appStoreVersionLocalizations", params)
|
654
|
+
tunes_request_client.get("appStoreVersions/#{app_store_version_id}/appStoreVersionLocalizations", params)
|
647
655
|
end
|
648
656
|
|
649
657
|
def post_app_store_version_localization(app_store_version_id: nil, attributes: {})
|
@@ -17,11 +17,18 @@ module Spaceship
|
|
17
17
|
# users
|
18
18
|
#
|
19
19
|
|
20
|
+
# Get list of users
|
20
21
|
def get_users(filter: {}, includes: nil, limit: nil, sort: nil)
|
21
22
|
params = users_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
22
23
|
users_request_client.get("users", params)
|
23
24
|
end
|
24
25
|
|
26
|
+
# Delete existing user
|
27
|
+
def delete_user(user_id: nil)
|
28
|
+
users_request_client.delete("users/#{user_id}")
|
29
|
+
end
|
30
|
+
|
31
|
+
# Change app permissions for user
|
25
32
|
def add_user_visible_apps(user_id: nil, app_ids: nil)
|
26
33
|
body = {
|
27
34
|
data: app_ids.map do |app_id|
|
@@ -34,6 +41,39 @@ module Spaceship
|
|
34
41
|
|
35
42
|
users_request_client.post("users/#{user_id}/relationships/visibleApps", body)
|
36
43
|
end
|
44
|
+
|
45
|
+
#
|
46
|
+
# invitations (invited users)
|
47
|
+
#
|
48
|
+
|
49
|
+
# Get all invited users (not yet accepted)
|
50
|
+
def get_user_invitations(filter: {}, includes: nil, limit: nil, sort: nil)
|
51
|
+
params = users_request_client.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
52
|
+
users_request_client.get("userInvitations", params)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Invite new users to App Store Connect
|
56
|
+
def post_user_invitation(email: nil, first_name: nil, last_name: nil, roles: [], provisioning_allowed: nil, all_apps_visible: nil)
|
57
|
+
body = {
|
58
|
+
data: {
|
59
|
+
type: "userInvitations",
|
60
|
+
attributes: {
|
61
|
+
email: email,
|
62
|
+
firstName: first_name,
|
63
|
+
lastName: last_name,
|
64
|
+
roles: roles,
|
65
|
+
provisioningAllowed: provisioning_allowed,
|
66
|
+
allAppsVisible: all_apps_visible
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
users_request_client.post("userInvitations", body)
|
71
|
+
end
|
72
|
+
|
73
|
+
# Remove invited user from team (not yet accepted)
|
74
|
+
def delete_user_invitation(user_invitation_id: nil)
|
75
|
+
users_request_client.delete("userInvitations/#{user_invitation_id}")
|
76
|
+
end
|
37
77
|
end
|
38
78
|
end
|
39
79
|
end
|
@@ -5,10 +5,16 @@ require 'net/http'
|
|
5
5
|
# Certain apple endpoints return 415 responses if a Content-Type is supplied.
|
6
6
|
# Net::HTTP will default a content-type if none is provided by faraday
|
7
7
|
# This monkey-patch allows us to leave out the content-type if we do not specify one.
|
8
|
-
module
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
module NetHTTPGenericRequestMonkeypatch
|
9
|
+
def supply_default_content_type
|
10
|
+
# Return no content type if we communicating with an apple.com domain
|
11
|
+
return if !self['host'].nil? && self['host'].end_with?('.apple.com')
|
12
|
+
|
13
|
+
# Otherwise use the default implementation
|
14
|
+
super
|
13
15
|
end
|
14
16
|
end
|
17
|
+
|
18
|
+
# We prepend the monkeypatch so the patch has access to the original implementation
|
19
|
+
# using `super`.
|
20
|
+
Net::HTTPGenericRequest.prepend(NetHTTPGenericRequestMonkeypatch)
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.163.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Aaron Brager
|
8
|
-
- Stefan Natchev
|
9
|
-
- Manu Wallner
|
10
|
-
- Maksym Grebenets
|
11
|
-
- Jérôme Lacoste
|
12
|
-
- Josh Holtz
|
13
|
-
- Matthew Ellis
|
14
|
-
- Felix Krause
|
15
7
|
- Daniel Jankowski
|
8
|
+
- Kohki Miki
|
9
|
+
- Helmut Januschka
|
16
10
|
- Danielle Tomlinson
|
11
|
+
- Fumiya Nakamura
|
12
|
+
- Joshua Liebowitz
|
13
|
+
- Jérôme Lacoste
|
14
|
+
- Aaron Brager
|
15
|
+
- Jorge Revuelta H
|
17
16
|
- Iulian Onofrei
|
18
|
-
- Luka Mirosevic
|
19
17
|
- Jimmy Dee
|
20
|
-
- Andrew McBurney
|
21
|
-
- Kohki Miki
|
22
|
-
- Jorge Revuelta H
|
23
|
-
- Joshua Liebowitz
|
24
|
-
- Fumiya Nakamura
|
25
|
-
- Helmut Januschka
|
26
|
-
- Olivier Halligon
|
27
18
|
- Jan Piotrowski
|
19
|
+
- Luka Mirosevic
|
20
|
+
- Felix Krause
|
28
21
|
- Max Ott
|
22
|
+
- Stefan Natchev
|
23
|
+
- Manu Wallner
|
24
|
+
- Matthew Ellis
|
25
|
+
- Josh Holtz
|
26
|
+
- Maksym Grebenets
|
27
|
+
- Andrew McBurney
|
28
|
+
- Olivier Halligon
|
29
29
|
autorequire:
|
30
30
|
bindir: bin
|
31
31
|
cert_chain: []
|
32
|
-
date: 2020-
|
32
|
+
date: 2020-10-12 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: slack-notifier
|
@@ -980,11 +980,12 @@ files:
|
|
980
980
|
- fastlane/lib/assets/s3_plist_template.erb
|
981
981
|
- fastlane/lib/assets/s3_version_template.erb
|
982
982
|
- fastlane/lib/fastlane.rb
|
983
|
+
- fastlane/lib/fastlane/.erb_template_helper.rb.swp
|
983
984
|
- fastlane/lib/fastlane/action.rb
|
984
985
|
- fastlane/lib/fastlane/action_collector.rb
|
985
|
-
- fastlane/lib/fastlane/actions/.
|
986
|
-
- fastlane/lib/fastlane/actions/.
|
987
|
-
- fastlane/lib/fastlane/actions/.
|
986
|
+
- fastlane/lib/fastlane/actions/.git_commit.rb.swp
|
987
|
+
- fastlane/lib/fastlane/actions/.register_device.rb.swp
|
988
|
+
- fastlane/lib/fastlane/actions/.register_devices.rb.swp
|
988
989
|
- fastlane/lib/fastlane/actions/README.md
|
989
990
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
990
991
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -1323,12 +1324,12 @@ files:
|
|
1323
1324
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
|
1324
1325
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
1325
1326
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|
1326
|
-
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
|
1327
1327
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
|
1328
1328
|
- fastlane/swift/FastlaneSwiftRunner/README.txt
|
1329
1329
|
- fastlane/swift/Gymfile.swift
|
1330
1330
|
- fastlane/swift/GymfileProtocol.swift
|
1331
1331
|
- fastlane/swift/LaneFileProtocol.swift
|
1332
|
+
- fastlane/swift/MainProcess.swift
|
1332
1333
|
- fastlane/swift/Matchfile.swift
|
1333
1334
|
- fastlane/swift/MatchfileProtocol.swift
|
1334
1335
|
- fastlane/swift/Plugins.swift
|
@@ -1483,7 +1484,6 @@ files:
|
|
1483
1484
|
- pem/lib/pem/options.rb
|
1484
1485
|
- pilot/README.md
|
1485
1486
|
- pilot/lib/pilot.rb
|
1486
|
-
- pilot/lib/pilot/.manager.rb.swp
|
1487
1487
|
- pilot/lib/pilot/build_manager.rb
|
1488
1488
|
- pilot/lib/pilot/commands_generator.rb
|
1489
1489
|
- pilot/lib/pilot/features.rb
|
@@ -1611,15 +1611,16 @@ files:
|
|
1611
1611
|
- spaceship/lib/assets/languageMapping.json
|
1612
1612
|
- spaceship/lib/assets/languageMappingReadable.json
|
1613
1613
|
- spaceship/lib/spaceship.rb
|
1614
|
+
- spaceship/lib/spaceship/.DS_Store
|
1614
1615
|
- spaceship/lib/spaceship/base.rb
|
1615
1616
|
- spaceship/lib/spaceship/client.rb
|
1616
1617
|
- spaceship/lib/spaceship/commands_generator.rb
|
1617
1618
|
- spaceship/lib/spaceship/connect_api.rb
|
1618
|
-
- spaceship/lib/spaceship/connect_api/.DS_Store
|
1619
1619
|
- spaceship/lib/spaceship/connect_api/api_client.rb
|
1620
1620
|
- spaceship/lib/spaceship/connect_api/client.rb
|
1621
1621
|
- spaceship/lib/spaceship/connect_api/file_uploader.rb
|
1622
1622
|
- spaceship/lib/spaceship/connect_api/model.rb
|
1623
|
+
- spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp
|
1623
1624
|
- spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb
|
1624
1625
|
- spaceship/lib/spaceship/connect_api/models/app.rb
|
1625
1626
|
- spaceship/lib/spaceship/connect_api/models/app_category.rb
|
@@ -1663,6 +1664,7 @@ files:
|
|
1663
1664
|
- spaceship/lib/spaceship/connect_api/models/sandbox_tester.rb
|
1664
1665
|
- spaceship/lib/spaceship/connect_api/models/territory.rb
|
1665
1666
|
- spaceship/lib/spaceship/connect_api/models/user.rb
|
1667
|
+
- spaceship/lib/spaceship/connect_api/models/user_invitation.rb
|
1666
1668
|
- spaceship/lib/spaceship/connect_api/provisioning/client.rb
|
1667
1669
|
- spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
|
1668
1670
|
- spaceship/lib/spaceship/connect_api/response.rb
|
@@ -1826,7 +1828,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1826
1828
|
- !ruby/object:Gem::Version
|
1827
1829
|
version: '0'
|
1828
1830
|
requirements: []
|
1829
|
-
rubygems_version: 3.0.
|
1831
|
+
rubygems_version: 3.0.6
|
1830
1832
|
signing_key:
|
1831
1833
|
specification_version: 4
|
1832
1834
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|