fastlane 2.157.4 → 2.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +80 -80
- 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/options.rb +17 -1
- data/deliver/lib/deliver/runner.rb +36 -7
- data/deliver/lib/deliver/upload_metadata.rb +37 -6
- 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/{.ensure_git_status_clean.rb.swp → .git_commit.rb.swp} +0 -0
- data/fastlane/lib/fastlane/actions/actions_helper.rb +20 -1
- data/fastlane/lib/fastlane/actions/app_store_connect_api_key.rb +6 -1
- 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/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 +15 -4
- data/fastlane/swift/Fastfile.swift +5 -1
- data/fastlane/swift/Fastlane.swift +2333 -2240
- 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 +42 -29
- 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 +18 -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/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 +25 -0
- data/precheck/lib/precheck/rule_processor.rb +94 -60
- data/precheck/lib/precheck/runner.rb +26 -5
- data/sigh/lib/sigh/options.rb +21 -0
- data/sigh/lib/sigh/runner.rb +80 -38
- data/snapshot/lib/assets/SnapshotHelper.swift +17 -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 +2 -1
- data/spaceship/lib/spaceship/connect_api.rb +1 -0
- data/spaceship/lib/spaceship/connect_api/api_client.rb +3 -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/app_store_version_phased_release.rb +21 -0
- 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/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 +28 -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/tunes/tunes.rb +29 -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 +24 -25
- data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
@@ -27,7 +27,8 @@ module Spaceship
|
|
27
27
|
"expirationDate" => "expiration_date",
|
28
28
|
|
29
29
|
"bundleId" => "bundle_id",
|
30
|
-
"certificates" => "certificates"
|
30
|
+
"certificates" => "certificates",
|
31
|
+
"devices" => "devices"
|
31
32
|
})
|
32
33
|
|
33
34
|
module ProfileState
|
@@ -83,6 +84,11 @@ module Spaceship
|
|
83
84
|
return resp.to_models.first
|
84
85
|
end
|
85
86
|
|
87
|
+
def fetch_all_devices(filter: {}, includes: nil, sort: nil)
|
88
|
+
resps = Spaceship::ConnectAPI.get_devices(profile_id: id, filter: filter, includes: includes).all_pages
|
89
|
+
return resps.flat_map(&:to_models)
|
90
|
+
end
|
91
|
+
|
86
92
|
def delete!
|
87
93
|
return Spaceship::ConnectAPI.delete_profile(profile_id: id)
|
88
94
|
end
|
@@ -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,39 @@ 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
|
46
72
|
end
|
47
73
|
|
48
74
|
#
|
@@ -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
|
#
|
@@ -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: {})
|
@@ -710,6 +718,18 @@ module Spaceship
|
|
710
718
|
tunes_request_client.post("appStoreVersionPhasedReleases", body)
|
711
719
|
end
|
712
720
|
|
721
|
+
def patch_app_store_version_phased_release(app_store_version_phased_release_id: nil, attributes: {})
|
722
|
+
body = {
|
723
|
+
data: {
|
724
|
+
type: "appStoreVersionPhasedReleases",
|
725
|
+
attributes: attributes,
|
726
|
+
id: app_store_version_phased_release_id
|
727
|
+
}
|
728
|
+
}
|
729
|
+
|
730
|
+
tunes_request_client.patch("appStoreVersionPhasedReleases/#{app_store_version_phased_release_id}", body)
|
731
|
+
end
|
732
|
+
|
713
733
|
def delete_app_store_version_phased_release(app_store_version_phased_release_id: nil)
|
714
734
|
params = tunes_request_client.build_params(filter: nil, includes: nil, limit: nil, sort: nil)
|
715
735
|
tunes_request_client.delete("appStoreVersionPhasedReleases/#{app_store_version_phased_release_id}", params)
|
@@ -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.162.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
- Fumiya Nakamura
|
10
|
-
- Helmut Januschka
|
11
|
-
- Olivier Halligon
|
7
|
+
- Kohki Miki
|
8
|
+
- Danielle Tomlinson
|
12
9
|
- Aaron Brager
|
13
|
-
-
|
10
|
+
- Fumiya Nakamura
|
14
11
|
- Maksym Grebenets
|
15
|
-
- Iulian Onofrei
|
16
|
-
- Jérôme Lacoste
|
17
|
-
- Jimmy Dee
|
18
12
|
- Felix Krause
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
13
|
+
- Joshua Liebowitz
|
14
|
+
- Jérôme Lacoste
|
15
|
+
- Iulian Onofrei
|
22
16
|
- Max Ott
|
23
|
-
- Danielle Tomlinson
|
24
|
-
- Kohki Miki
|
25
17
|
- Daniel Jankowski
|
26
|
-
-
|
18
|
+
- Josh Holtz
|
19
|
+
- Olivier Halligon
|
20
|
+
- Stefan Natchev
|
27
21
|
- Andrew McBurney
|
22
|
+
- Luka Mirosevic
|
23
|
+
- Jimmy Dee
|
28
24
|
- Matthew Ellis
|
25
|
+
- Manu Wallner
|
26
|
+
- Helmut Januschka
|
27
|
+
- Jorge Revuelta H
|
28
|
+
- Jan Piotrowski
|
29
29
|
autorequire:
|
30
30
|
bindir: bin
|
31
31
|
cert_chain: []
|
32
|
-
date: 2020-
|
32
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: slack-notifier
|
@@ -980,12 +980,10 @@ 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/.hockey.rb.swp
|
987
|
-
- fastlane/lib/fastlane/actions/.slack.rb.swp
|
988
|
-
- fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
|
986
|
+
- fastlane/lib/fastlane/actions/.git_commit.rb.swp
|
989
987
|
- fastlane/lib/fastlane/actions/README.md
|
990
988
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
991
989
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -1324,12 +1322,12 @@ files:
|
|
1324
1322
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
|
1325
1323
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
1326
1324
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|
1327
|
-
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
|
1328
1325
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
|
1329
1326
|
- fastlane/swift/FastlaneSwiftRunner/README.txt
|
1330
1327
|
- fastlane/swift/Gymfile.swift
|
1331
1328
|
- fastlane/swift/GymfileProtocol.swift
|
1332
1329
|
- fastlane/swift/LaneFileProtocol.swift
|
1330
|
+
- fastlane/swift/MainProcess.swift
|
1333
1331
|
- fastlane/swift/Matchfile.swift
|
1334
1332
|
- fastlane/swift/MatchfileProtocol.swift
|
1335
1333
|
- fastlane/swift/Plugins.swift
|
@@ -1484,7 +1482,6 @@ files:
|
|
1484
1482
|
- pem/lib/pem/options.rb
|
1485
1483
|
- pilot/README.md
|
1486
1484
|
- pilot/lib/pilot.rb
|
1487
|
-
- pilot/lib/pilot/.manager.rb.swp
|
1488
1485
|
- pilot/lib/pilot/build_manager.rb
|
1489
1486
|
- pilot/lib/pilot/commands_generator.rb
|
1490
1487
|
- pilot/lib/pilot/features.rb
|
@@ -1612,15 +1609,16 @@ files:
|
|
1612
1609
|
- spaceship/lib/assets/languageMapping.json
|
1613
1610
|
- spaceship/lib/assets/languageMappingReadable.json
|
1614
1611
|
- spaceship/lib/spaceship.rb
|
1612
|
+
- spaceship/lib/spaceship/.DS_Store
|
1615
1613
|
- spaceship/lib/spaceship/base.rb
|
1616
1614
|
- spaceship/lib/spaceship/client.rb
|
1617
1615
|
- spaceship/lib/spaceship/commands_generator.rb
|
1618
1616
|
- spaceship/lib/spaceship/connect_api.rb
|
1619
|
-
- spaceship/lib/spaceship/connect_api/.DS_Store
|
1620
1617
|
- spaceship/lib/spaceship/connect_api/api_client.rb
|
1621
1618
|
- spaceship/lib/spaceship/connect_api/client.rb
|
1622
1619
|
- spaceship/lib/spaceship/connect_api/file_uploader.rb
|
1623
1620
|
- spaceship/lib/spaceship/connect_api/model.rb
|
1621
|
+
- spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp
|
1624
1622
|
- spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb
|
1625
1623
|
- spaceship/lib/spaceship/connect_api/models/app.rb
|
1626
1624
|
- spaceship/lib/spaceship/connect_api/models/app_category.rb
|
@@ -1664,6 +1662,7 @@ files:
|
|
1664
1662
|
- spaceship/lib/spaceship/connect_api/models/sandbox_tester.rb
|
1665
1663
|
- spaceship/lib/spaceship/connect_api/models/territory.rb
|
1666
1664
|
- spaceship/lib/spaceship/connect_api/models/user.rb
|
1665
|
+
- spaceship/lib/spaceship/connect_api/models/user_invitation.rb
|
1667
1666
|
- spaceship/lib/spaceship/connect_api/provisioning/client.rb
|
1668
1667
|
- spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
|
1669
1668
|
- spaceship/lib/spaceship/connect_api/response.rb
|
@@ -1827,7 +1826,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1827
1826
|
- !ruby/object:Gem::Version
|
1828
1827
|
version: '0'
|
1829
1828
|
requirements: []
|
1830
|
-
rubygems_version: 3.0.
|
1829
|
+
rubygems_version: 3.0.6
|
1831
1830
|
signing_key:
|
1832
1831
|
specification_version: 4
|
1833
1832
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|