fastlane 2.157.1 → 2.159.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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +80 -80
  3. data/deliver/lib/deliver/runner.rb +4 -2
  4. data/deliver/lib/deliver/upload_metadata.rb +5 -1
  5. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +12 -8
  6. data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +1 -1
  7. data/fastlane/lib/fastlane/actions/download_dsyms.rb +89 -68
  8. data/fastlane/lib/fastlane/actions/set_changelog.rb +2 -1
  9. data/fastlane/lib/fastlane/helper/git_helper.rb +2 -0
  10. data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +6 -4
  11. data/fastlane/lib/fastlane/swift_fastlane_function.rb +1 -1
  12. data/fastlane/lib/fastlane/version.rb +1 -1
  13. data/fastlane/swift/Actions.swift +2 -1
  14. data/fastlane/swift/Appfile.swift +2 -4
  15. data/fastlane/swift/ArgumentProcessor.swift +2 -6
  16. data/fastlane/swift/ControlCommand.swift +2 -5
  17. data/fastlane/swift/Deliverfile.swift +5 -2
  18. data/fastlane/swift/DeliverfileProtocol.swift +6 -3
  19. data/fastlane/swift/Fastfile.swift +5 -1
  20. data/fastlane/swift/Fastlane.swift +2227 -2218
  21. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +5 -5
  22. data/fastlane/swift/Gymfile.swift +5 -2
  23. data/fastlane/swift/GymfileProtocol.swift +6 -3
  24. data/fastlane/swift/LaneFileProtocol.swift +36 -19
  25. data/fastlane/swift/MainProcess.swift +77 -0
  26. data/fastlane/swift/Matchfile.swift +5 -2
  27. data/fastlane/swift/MatchfileProtocol.swift +6 -3
  28. data/fastlane/swift/Plugins.swift +2 -1
  29. data/fastlane/swift/Precheckfile.swift +5 -2
  30. data/fastlane/swift/PrecheckfileProtocol.swift +10 -3
  31. data/fastlane/swift/RubyCommand.swift +2 -6
  32. data/fastlane/swift/RubyCommandable.swift +2 -6
  33. data/fastlane/swift/Runner.swift +5 -9
  34. data/fastlane/swift/RunnerArgument.swift +2 -6
  35. data/fastlane/swift/Scanfile.swift +5 -2
  36. data/fastlane/swift/ScanfileProtocol.swift +6 -3
  37. data/fastlane/swift/Screengrabfile.swift +5 -2
  38. data/fastlane/swift/ScreengrabfileProtocol.swift +6 -3
  39. data/fastlane/swift/Snapshotfile.swift +5 -2
  40. data/fastlane/swift/SnapshotfileProtocol.swift +6 -3
  41. data/fastlane/swift/SocketClient.swift +3 -7
  42. data/fastlane/swift/SocketClientDelegateProtocol.swift +2 -6
  43. data/fastlane/swift/SocketResponse.swift +2 -6
  44. data/fastlane/swift/formatting/Brewfile.lock.json +18 -10
  45. data/fastlane/swift/main.swift +4 -8
  46. data/fastlane/swift/upgrade_manifest.json +1 -1
  47. data/match/lib/match/importer.rb +5 -2
  48. data/match/lib/match/spaceship_ensure.rb +5 -5
  49. data/pilot/lib/pilot/build_manager.rb +0 -3
  50. data/pilot/lib/pilot/manager.rb +1 -2
  51. data/precheck/lib/precheck/options.rb +9 -0
  52. data/precheck/lib/precheck/rule_processor.rb +94 -60
  53. data/precheck/lib/precheck/runner.rb +6 -4
  54. data/produce/lib/produce/itunes_connect.rb +2 -1
  55. data/sigh/lib/assets/resign.sh +9 -6
  56. data/sigh/lib/sigh/runner.rb +2 -1
  57. data/snapshot/lib/assets/SnapshotHelper.swift +17 -2
  58. data/spaceship/lib/spaceship/client.rb +1 -0
  59. data/spaceship/lib/spaceship/connect_api.rb +1 -0
  60. data/spaceship/lib/spaceship/connect_api/client.rb +37 -10
  61. data/spaceship/lib/spaceship/connect_api/file_uploader.rb +2 -0
  62. data/spaceship/lib/spaceship/connect_api/models/.app.rb.swp +0 -0
  63. data/spaceship/lib/spaceship/connect_api/models/.app_store_version.rb.swp +0 -0
  64. data/spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp +0 -0
  65. data/spaceship/lib/spaceship/connect_api/models/app.rb +5 -5
  66. data/spaceship/lib/spaceship/connect_api/models/app_price_point.rb +26 -0
  67. data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +7 -1
  68. data/spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb +21 -0
  69. data/spaceship/lib/spaceship/connect_api/spaceship.rb +3 -2
  70. data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +50 -50
  71. data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +20 -0
  72. metadata +23 -18
@@ -308,6 +308,14 @@ module Spaceship
308
308
  tunes_request_client.get("appPrices", params)
309
309
  end
310
310
 
311
+ #
312
+ # appPricePoints
313
+ #
314
+ def get_app_price_points(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("appPricePoints", params)
317
+ end
318
+
311
319
  #
312
320
  # appReviewAttachments
313
321
  #
@@ -702,6 +710,18 @@ module Spaceship
702
710
  tunes_request_client.post("appStoreVersionPhasedReleases", body)
703
711
  end
704
712
 
713
+ def patch_app_store_version_phased_release(app_store_version_phased_release_id: nil, attributes: {})
714
+ body = {
715
+ data: {
716
+ type: "appStoreVersionPhasedReleases",
717
+ attributes: attributes,
718
+ id: app_store_version_phased_release_id
719
+ }
720
+ }
721
+
722
+ tunes_request_client.patch("appStoreVersionPhasedReleases/#{app_store_version_phased_release_id}", body)
723
+ end
724
+
705
725
  def delete_app_store_version_phased_release(app_store_version_phased_release_id: nil)
706
726
  params = tunes_request_client.build_params(filter: nil, includes: nil, limit: nil, sort: nil)
707
727
  tunes_request_client.delete("appStoreVersionPhasedReleases/#{app_store_version_phased_release_id}", params)
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.157.1
4
+ version: 2.159.0
5
5
  platform: ruby
6
6
  authors:
7
- - Andrew McBurney
7
+ - Jimmy Dee
8
+ - Iulian Onofrei
9
+ - Kohki Miki
10
+ - Daniel Jankowski
11
+ - Olivier Halligon
8
12
  - Matthew Ellis
9
- - Joshua Liebowitz
10
- - Josh Holtz
13
+ - Danielle Tomlinson
14
+ - Max Ott
15
+ - Luka Mirosevic
11
16
  - Maksym Grebenets
12
- - Kohki Miki
13
- - Jan Piotrowski
17
+ - Josh Holtz
18
+ - Joshua Liebowitz
19
+ - Stefan Natchev
14
20
  - Aaron Brager
15
21
  - Jorge Revuelta H
16
- - Helmut Januschka
22
+ - Jan Piotrowski
17
23
  - Jérôme Lacoste
18
- - Felix Krause
19
- - Luka Mirosevic
20
- - Danielle Tomlinson
21
- - Jimmy Dee
22
- - Stefan Natchev
23
- - Daniel Jankowski
24
- - Olivier Halligon
25
- - Iulian Onofrei
26
- - Max Ott
27
- - Manu Wallner
24
+ - Andrew McBurney
28
25
  - Fumiya Nakamura
26
+ - Helmut Januschka
27
+ - Manu Wallner
28
+ - Felix Krause
29
29
  autorequire:
30
30
  bindir: bin
31
31
  cert_chain: []
32
- date: 2020-08-28 00:00:00.000000000 Z
32
+ date: 2020-09-10 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: slack-notifier
@@ -1327,6 +1327,7 @@ files:
1327
1327
  - fastlane/swift/Gymfile.swift
1328
1328
  - fastlane/swift/GymfileProtocol.swift
1329
1329
  - fastlane/swift/LaneFileProtocol.swift
1330
+ - fastlane/swift/MainProcess.swift
1330
1331
  - fastlane/swift/Matchfile.swift
1331
1332
  - fastlane/swift/MatchfileProtocol.swift
1332
1333
  - fastlane/swift/Plugins.swift
@@ -1617,6 +1618,9 @@ files:
1617
1618
  - spaceship/lib/spaceship/connect_api/client.rb
1618
1619
  - spaceship/lib/spaceship/connect_api/file_uploader.rb
1619
1620
  - spaceship/lib/spaceship/connect_api/model.rb
1621
+ - spaceship/lib/spaceship/connect_api/models/.app.rb.swp
1622
+ - spaceship/lib/spaceship/connect_api/models/.app_store_version.rb.swp
1623
+ - spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp
1620
1624
  - spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb
1621
1625
  - spaceship/lib/spaceship/connect_api/models/app.rb
1622
1626
  - spaceship/lib/spaceship/connect_api/models/app_category.rb
@@ -1625,6 +1629,7 @@ files:
1625
1629
  - spaceship/lib/spaceship/connect_api/models/app_preview.rb
1626
1630
  - spaceship/lib/spaceship/connect_api/models/app_preview_set.rb
1627
1631
  - spaceship/lib/spaceship/connect_api/models/app_price.rb
1632
+ - spaceship/lib/spaceship/connect_api/models/app_price_point.rb
1628
1633
  - spaceship/lib/spaceship/connect_api/models/app_price_tier.rb
1629
1634
  - spaceship/lib/spaceship/connect_api/models/app_screenshot.rb
1630
1635
  - spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb