fastlane 2.129.0 → 2.134.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 +66 -66
- data/cert/lib/cert/module.rb +2 -0
- data/cert/lib/cert/options.rb +6 -0
- data/cert/lib/cert/runner.rb +17 -11
- data/fastlane/lib/fastlane.rb +4 -1
- data/fastlane/lib/fastlane/actions/.download_dsyms.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/actions_helper.rb +4 -0
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +11 -3
- data/fastlane/lib/fastlane/actions/carthage.rb +11 -3
- data/fastlane/lib/fastlane/actions/cocoapods.rb +24 -2
- data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
- data/fastlane/lib/fastlane/actions/danger.rb +7 -0
- data/fastlane/lib/fastlane/actions/deploygate.rb +1 -1
- data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +23 -4
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +59 -10
- data/fastlane/lib/fastlane/actions/ensure_env_vars.rb +58 -0
- data/fastlane/lib/fastlane/actions/get_version_number.rb +12 -3
- data/fastlane/lib/fastlane/actions/gradle.rb +11 -1
- data/fastlane/lib/fastlane/actions/onesignal.rb +59 -29
- data/fastlane/lib/fastlane/actions/pod_push.rb +10 -1
- data/fastlane/lib/fastlane/actions/register_devices.rb +38 -22
- data/fastlane/lib/fastlane/actions/resign.rb +2 -2
- data/fastlane/lib/fastlane/actions/slather.rb +1 -0
- data/fastlane/lib/fastlane/actions/sonar.rb +16 -0
- data/fastlane/lib/fastlane/actions/testfairy.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +9 -49
- data/fastlane/lib/fastlane/actions/update_keychain_access_groups.rb +94 -0
- data/fastlane/lib/fastlane/commands_generator.rb +16 -0
- data/fastlane/lib/fastlane/environment_printer.rb +7 -1
- data/fastlane/lib/fastlane/fast_file.rb +10 -4
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +1 -1
- data/fastlane/lib/fastlane/plugins/plugin_manager.rb +2 -0
- data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +3 -0
- data/fastlane/lib/fastlane/setup/setup_android.rb +1 -1
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +122 -34
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +72 -3
- data/fastlane/lib/fastlane/swift_runner_upgrader.rb +4 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Actions.swift +15 -0
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +121 -1
- data/fastlane/swift/Fastlane.swift +3925 -30
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +9 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +91 -9
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +65 -1
- data/fastlane/swift/Plugins.swift +15 -0
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +15 -2
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +109 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +39 -2
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +71 -1
- data/fastlane/swift/upgrade_manifest.json +1 -1
- data/fastlane_core/lib/fastlane_core/command_executor.rb +1 -1
- data/fastlane_core/lib/fastlane_core/device_manager.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +1 -3
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +3 -2
- data/frameit/lib/frameit/screenshot.rb +4 -0
- data/gym/lib/gym/generators/build_command_generator.rb +5 -1
- data/gym/lib/gym/options.rb +16 -16
- data/gym/lib/gym/runner.rb +33 -5
- data/match/lib/match/generator.rb +1 -0
- data/match/lib/match/importer.rb +2 -2
- data/match/lib/match/module.rb +2 -0
- data/match/lib/match/nuke.rb +5 -5
- data/match/lib/match/options.rb +17 -0
- data/match/lib/match/runner.rb +10 -6
- data/match/lib/match/storage/git_storage.rb +8 -2
- data/match/lib/match/storage/google_cloud_storage.rb +85 -33
- data/produce/lib/produce/service.rb +7 -1
- data/scan/lib/scan/error_handler.rb +9 -4
- data/scan/lib/scan/runner.rb +1 -1
- data/sigh/lib/sigh/download_all.rb +48 -8
- data/sigh/lib/sigh/runner.rb +13 -5
- data/snapshot/lib/snapshot/commands_generator.rb +2 -2
- data/snapshot/lib/snapshot/options.rb +5 -0
- data/snapshot/lib/snapshot/reports_generator.rb +3 -0
- data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +16 -1
- data/snapshot/lib/snapshot/update.rb +4 -2
- data/spaceship/lib/spaceship/client.rb +3 -3
- data/spaceship/lib/spaceship/connect_api/models/app.rb +6 -6
- data/spaceship/lib/spaceship/connect_api/models/build.rb +3 -3
- data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/device.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/profile.rb +1 -1
- data/spaceship/lib/spaceship/portal/.certificate.rb.swp +0 -0
- data/spaceship/lib/spaceship/portal/provisioning_profile.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_version.rb +4 -0
- data/spaceship/lib/spaceship/tunes/application.rb +4 -0
- data/spaceship/lib/spaceship/tunes/availability.rb +40 -8
- data/spaceship/lib/spaceship/tunes/b2b_organization.rb +50 -0
- data/spaceship/lib/spaceship/tunes/iap_family_details.rb +10 -2
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +26 -1
- metadata +55 -46
@@ -9,12 +9,20 @@ module Spaceship
|
|
9
9
|
# @return (String) the family name
|
10
10
|
attr_accessor :name
|
11
11
|
|
12
|
-
# @return (Intger) the
|
12
|
+
# @return (Intger) the family id
|
13
13
|
attr_accessor :family_id
|
14
14
|
|
15
|
+
# @return (Array) all linked in-app purchases of this family
|
16
|
+
attr_accessor :linked_iaps
|
17
|
+
|
18
|
+
# @return (Intger) amount of linked in-app purchases of this family (read-only)
|
19
|
+
attr_accessor :iap_count
|
20
|
+
|
15
21
|
attr_mapping({
|
16
22
|
'id' => :family_id,
|
17
|
-
'name.value' => :name
|
23
|
+
'name.value' => :name,
|
24
|
+
'activeAddOns' => :linked_iaps,
|
25
|
+
'totalActiveAddOns' => :iap_count
|
18
26
|
})
|
19
27
|
|
20
28
|
def versions=(value = {})
|
@@ -352,6 +352,31 @@ module Spaceship
|
|
352
352
|
parse_response(r, 'data')
|
353
353
|
end
|
354
354
|
|
355
|
+
def post_resolution_center(app_id, platform, thread_id, version_id, version_number, from, message_body)
|
356
|
+
r = request(:post) do |req|
|
357
|
+
req.url("ra/apps/#{app_id}/platforms/#{platform}/resolutionCenter")
|
358
|
+
req.body = {
|
359
|
+
appNotes: {
|
360
|
+
threads: [{
|
361
|
+
id: thread_id,
|
362
|
+
versionId: version_id,
|
363
|
+
version: version_number,
|
364
|
+
messages: [{
|
365
|
+
from: from,
|
366
|
+
date: DateTime.now.strftime('%Q'),
|
367
|
+
body: message_body,
|
368
|
+
tokens: []
|
369
|
+
}]
|
370
|
+
}]
|
371
|
+
}
|
372
|
+
}.to_json
|
373
|
+
req.headers['Content-Type'] = 'application/json'
|
374
|
+
end
|
375
|
+
|
376
|
+
data = parse_response(r, 'data')
|
377
|
+
handle_itc_response(data)
|
378
|
+
end
|
379
|
+
|
355
380
|
def get_ratings(app_id, platform, version_id = '', storefront = '')
|
356
381
|
# if storefront or version_id is empty api fails
|
357
382
|
rating_url = "ra/apps/#{app_id}/platforms/#{platform}/reviews/summary"
|
@@ -718,7 +743,7 @@ module Spaceship
|
|
718
743
|
data["preOrder"]["clearedForPreOrder"] = { "value" => cleared_for_preorder, "isEditable" => true, "isRequired" => true, "errorKeys" => nil }
|
719
744
|
data["preOrder"]["appAvailableDate"] = { "value" => app_available_date, "isEditable" => true, "isRequired" => true, "errorKeys" => nil }
|
720
745
|
data["b2bUsers"] = availability.b2b_app_enabled ? availability.b2b_users.map { |user| { "value" => { "add" => user.add, "delete" => user.delete, "dsUsername" => user.ds_username } } } : []
|
721
|
-
|
746
|
+
data["b2bOrganizations"] = availability.b2b_app_enabled ? availability.b2b_organizations.map { |org| { "value" => { "type" => org.type, "depCustomerId" => org.dep_customer_id, "organizationId" => org.dep_organization_id, "name" => org.name } } } : []
|
722
747
|
# send the changes back to Apple
|
723
748
|
r = request(:post) do |req|
|
724
749
|
req.url("ra/apps/#{app_id}/pricing/intervals")
|
metadata
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.134.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Jorge Revuelta H
|
8
|
-
- Olivier Halligon
|
9
|
-
- Aaron Brager
|
10
|
-
- Joshua Liebowitz
|
11
|
-
- Fumiya Nakamura
|
12
7
|
- Kohki Miki
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
- Maksym Grebenets
|
8
|
+
- Felix Krause
|
9
|
+
- Fumiya Nakamura
|
10
|
+
- Danielle Tomlinson
|
17
11
|
- Stefan Natchev
|
12
|
+
- Helmut Januschka
|
13
|
+
- Maksym Grebenets
|
14
|
+
- Josh Holtz
|
15
|
+
- Manu Wallner
|
16
|
+
- Aaron Brager
|
18
17
|
- Matthew Ellis
|
19
18
|
- Jérôme Lacoste
|
20
19
|
- Iulian Onofrei
|
21
|
-
-
|
22
|
-
-
|
23
|
-
-
|
20
|
+
- Jorge Revuelta H
|
21
|
+
- Andrew McBurney
|
22
|
+
- Jimmy Dee
|
23
|
+
- Olivier Halligon
|
24
|
+
- Joshua Liebowitz
|
24
25
|
- Luka Mirosevic
|
25
|
-
-
|
26
|
-
- Josh Holtz
|
26
|
+
- Jan Piotrowski
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-
|
30
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -353,6 +353,34 @@ dependencies:
|
|
353
353
|
- - "~>"
|
354
354
|
- !ruby/object:Gem::Version
|
355
355
|
version: 0.0.6
|
356
|
+
- !ruby/object:Gem::Dependency
|
357
|
+
name: faraday
|
358
|
+
requirement: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - "~>"
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0.17'
|
363
|
+
type: :runtime
|
364
|
+
prerelease: false
|
365
|
+
version_requirements: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - "~>"
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0.17'
|
370
|
+
- !ruby/object:Gem::Dependency
|
371
|
+
name: faraday_middleware
|
372
|
+
requirement: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - "~>"
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: 0.13.1
|
377
|
+
type: :runtime
|
378
|
+
prerelease: false
|
379
|
+
version_requirements: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - "~>"
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: 0.13.1
|
356
384
|
- !ruby/object:Gem::Dependency
|
357
385
|
name: fastimage
|
358
386
|
requirement: !ruby/object:Gem::Requirement
|
@@ -467,7 +495,7 @@ dependencies:
|
|
467
495
|
requirements:
|
468
496
|
- - ">="
|
469
497
|
- !ruby/object:Gem::Version
|
470
|
-
version: 1.
|
498
|
+
version: 1.3.0
|
471
499
|
- - "<"
|
472
500
|
- !ruby/object:Gem::Version
|
473
501
|
version: 2.0.0
|
@@ -477,7 +505,7 @@ dependencies:
|
|
477
505
|
requirements:
|
478
506
|
- - ">="
|
479
507
|
- !ruby/object:Gem::Version
|
480
|
-
version: 1.
|
508
|
+
version: 1.3.0
|
481
509
|
- - "<"
|
482
510
|
- !ruby/object:Gem::Version
|
483
511
|
version: 2.0.0
|
@@ -549,34 +577,6 @@ dependencies:
|
|
549
577
|
- - "<"
|
550
578
|
- !ruby/object:Gem::Version
|
551
579
|
version: 3.0.0
|
552
|
-
- !ruby/object:Gem::Dependency
|
553
|
-
name: faraday
|
554
|
-
requirement: !ruby/object:Gem::Requirement
|
555
|
-
requirements:
|
556
|
-
- - "~>"
|
557
|
-
- !ruby/object:Gem::Version
|
558
|
-
version: '0.9'
|
559
|
-
type: :runtime
|
560
|
-
prerelease: false
|
561
|
-
version_requirements: !ruby/object:Gem::Requirement
|
562
|
-
requirements:
|
563
|
-
- - "~>"
|
564
|
-
- !ruby/object:Gem::Version
|
565
|
-
version: '0.9'
|
566
|
-
- !ruby/object:Gem::Dependency
|
567
|
-
name: faraday_middleware
|
568
|
-
requirement: !ruby/object:Gem::Requirement
|
569
|
-
requirements:
|
570
|
-
- - "~>"
|
571
|
-
- !ruby/object:Gem::Version
|
572
|
-
version: '0.9'
|
573
|
-
type: :runtime
|
574
|
-
prerelease: false
|
575
|
-
version_requirements: !ruby/object:Gem::Requirement
|
576
|
-
requirements:
|
577
|
-
- - "~>"
|
578
|
-
- !ruby/object:Gem::Version
|
579
|
-
version: '0.9'
|
580
580
|
- !ruby/object:Gem::Dependency
|
581
581
|
name: simctl
|
582
582
|
requirement: !ruby/object:Gem::Requirement
|
@@ -986,6 +986,8 @@ files:
|
|
986
986
|
- fastlane/lib/fastlane.rb
|
987
987
|
- fastlane/lib/fastlane/action.rb
|
988
988
|
- fastlane/lib/fastlane/action_collector.rb
|
989
|
+
- fastlane/lib/fastlane/actions/.download_dsyms.rb.swp
|
990
|
+
- fastlane/lib/fastlane/actions/.hockey.rb.swp
|
989
991
|
- fastlane/lib/fastlane/actions/.slack.rb.swp
|
990
992
|
- fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
|
991
993
|
- fastlane/lib/fastlane/actions/README.md
|
@@ -1062,6 +1064,7 @@ files:
|
|
1062
1064
|
- fastlane/lib/fastlane/actions/dsym_zip.rb
|
1063
1065
|
- fastlane/lib/fastlane/actions/echo.rb
|
1064
1066
|
- fastlane/lib/fastlane/actions/ensure_bundle_exec.rb
|
1067
|
+
- fastlane/lib/fastlane/actions/ensure_env_vars.rb
|
1065
1068
|
- fastlane/lib/fastlane/actions/ensure_git_branch.rb
|
1066
1069
|
- fastlane/lib/fastlane/actions/ensure_git_status_clean.rb
|
1067
1070
|
- fastlane/lib/fastlane/actions/ensure_no_debug_code.rb
|
@@ -1196,6 +1199,7 @@ files:
|
|
1196
1199
|
- fastlane/lib/fastlane/actions/update_fastlane.rb
|
1197
1200
|
- fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb
|
1198
1201
|
- fastlane/lib/fastlane/actions/update_info_plist.rb
|
1202
|
+
- fastlane/lib/fastlane/actions/update_keychain_access_groups.rb
|
1199
1203
|
- fastlane/lib/fastlane/actions/update_plist.rb
|
1200
1204
|
- fastlane/lib/fastlane/actions/update_project_code_signing.rb
|
1201
1205
|
- fastlane/lib/fastlane/actions/update_project_provisioning.rb
|
@@ -1303,6 +1307,7 @@ files:
|
|
1303
1307
|
- fastlane/lib/fastlane/swift_runner_upgrader.rb
|
1304
1308
|
- fastlane/lib/fastlane/tools.rb
|
1305
1309
|
- fastlane/lib/fastlane/version.rb
|
1310
|
+
- fastlane/swift/Actions.swift
|
1306
1311
|
- fastlane/swift/Appfile.swift
|
1307
1312
|
- fastlane/swift/ArgumentProcessor.swift
|
1308
1313
|
- fastlane/swift/ControlCommand.swift
|
@@ -1312,6 +1317,7 @@ files:
|
|
1312
1317
|
- fastlane/swift/Fastlane.swift
|
1313
1318
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
|
1314
1319
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
1320
|
+
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|
1315
1321
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
|
1316
1322
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
|
1317
1323
|
- fastlane/swift/FastlaneSwiftRunner/README.txt
|
@@ -1320,6 +1326,7 @@ files:
|
|
1320
1326
|
- fastlane/swift/LaneFileProtocol.swift
|
1321
1327
|
- fastlane/swift/Matchfile.swift
|
1322
1328
|
- fastlane/swift/MatchfileProtocol.swift
|
1329
|
+
- fastlane/swift/Plugins.swift
|
1323
1330
|
- fastlane/swift/Precheckfile.swift
|
1324
1331
|
- fastlane/swift/PrecheckfileProtocol.swift
|
1325
1332
|
- fastlane/swift/RubyCommand.swift
|
@@ -1639,6 +1646,7 @@ files:
|
|
1639
1646
|
- spaceship/lib/spaceship/launcher.rb
|
1640
1647
|
- spaceship/lib/spaceship/module.rb
|
1641
1648
|
- spaceship/lib/spaceship/playground.rb
|
1649
|
+
- spaceship/lib/spaceship/portal/.certificate.rb.swp
|
1642
1650
|
- spaceship/lib/spaceship/portal/app.rb
|
1643
1651
|
- spaceship/lib/spaceship/portal/app_group.rb
|
1644
1652
|
- spaceship/lib/spaceship/portal/app_service.rb
|
@@ -1692,6 +1700,7 @@ files:
|
|
1692
1700
|
- spaceship/lib/spaceship/tunes/app_version_states_history.rb
|
1693
1701
|
- spaceship/lib/spaceship/tunes/application.rb
|
1694
1702
|
- spaceship/lib/spaceship/tunes/availability.rb
|
1703
|
+
- spaceship/lib/spaceship/tunes/b2b_organization.rb
|
1695
1704
|
- spaceship/lib/spaceship/tunes/b2b_user.rb
|
1696
1705
|
- spaceship/lib/spaceship/tunes/build.rb
|
1697
1706
|
- spaceship/lib/spaceship/tunes/build_details.rb
|