fastlane 2.240.0 → 2.241.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 (166) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +57 -177
  3. data/bin/fastlane +4 -2
  4. data/credentials_manager/README.md +1 -1
  5. data/credentials_manager/lib/credentials_manager/account_manager.rb +6 -2
  6. data/deliver/lib/deliver/app_screenshot.rb +0 -4
  7. data/deliver/lib/deliver/commands_generator.rb +1 -1
  8. data/deliver/lib/deliver/detect_values.rb +3 -1
  9. data/deliver/lib/deliver/download_screenshots.rb +8 -1
  10. data/deliver/lib/deliver/sync_screenshots.rb +27 -28
  11. data/deliver/lib/deliver/upload_app_clip_default_experience_header_images.rb +3 -3
  12. data/deliver/lib/deliver/upload_metadata.rb +12 -16
  13. data/deliver/lib/deliver/upload_screenshots.rb +12 -14
  14. data/docs/README.md +25 -0
  15. data/fastlane/lib/assets/TeamTable.md.erb +28 -0
  16. data/fastlane/lib/fastlane/actions/appaloosa.rb +2 -1
  17. data/fastlane/lib/fastlane/actions/appium.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/apteligent.rb +8 -1
  19. data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -1
  20. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +3 -0
  21. data/fastlane/lib/fastlane/actions/danger.rb +5 -5
  22. data/fastlane/lib/fastlane/actions/docs/build_app.md +1 -2
  23. data/fastlane/lib/fastlane/actions/docs/create_app_online.md +1 -2
  24. data/fastlane/lib/fastlane/actions/docs/get_certificates.md +0 -2
  25. data/fastlane/lib/fastlane/actions/docs/get_push_certificate.md +1 -3
  26. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +13 -3
  27. data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +2 -2
  28. data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +1 -0
  29. data/fastlane/lib/fastlane/actions/github_api.rb +1 -2
  30. data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
  31. data/fastlane/lib/fastlane/actions/increment_build_number.rb +1 -1
  32. data/fastlane/lib/fastlane/actions/increment_version_number.rb +1 -1
  33. data/fastlane/lib/fastlane/actions/install_xcode_plugin.rb +16 -6
  34. data/fastlane/lib/fastlane/actions/lcov.rb +9 -2
  35. data/fastlane/lib/fastlane/actions/nexus_upload.rb +16 -4
  36. data/fastlane/lib/fastlane/actions/notification.rb +3 -2
  37. data/fastlane/lib/fastlane/actions/oclint.rb +8 -8
  38. data/fastlane/lib/fastlane/actions/push_to_git_remote.rb +9 -4
  39. data/fastlane/lib/fastlane/actions/register_device.rb +1 -1
  40. data/fastlane/lib/fastlane/actions/say.rb +2 -4
  41. data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -3
  42. data/fastlane/lib/fastlane/actions/sonar.rb +16 -16
  43. data/fastlane/lib/fastlane/actions/sourcedocs.rb +8 -8
  44. data/fastlane/lib/fastlane/actions/splunkmint.rb +8 -1
  45. data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +1 -1
  46. data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +5 -2
  47. data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +5 -2
  48. data/fastlane/lib/fastlane/actions/verify_build.rb +1 -4
  49. data/fastlane/lib/fastlane/actions/verify_pod_keys.rb +3 -1
  50. data/fastlane/lib/fastlane/actions/xcode_server_get_assets.rb +20 -19
  51. data/fastlane/lib/fastlane/actions/xcodebuild.rb +5 -6
  52. data/fastlane/lib/fastlane/actions/zip.rb +2 -1
  53. data/fastlane/lib/fastlane/auto_complete.rb +1 -1
  54. data/fastlane/lib/fastlane/cli_tools_distributor.rb +14 -0
  55. data/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb +23 -0
  56. data/fastlane/lib/fastlane/environment_printer.rb +12 -25
  57. data/fastlane/lib/fastlane/fast_file.rb +2 -1
  58. data/fastlane/lib/fastlane/fastlane_require.rb +5 -1
  59. data/fastlane/lib/fastlane/helper/sh_helper.rb +16 -6
  60. data/fastlane/lib/fastlane/new_action.rb +1 -1
  61. data/fastlane/lib/fastlane/plugins/plugin_fetcher.rb +1 -1
  62. data/fastlane/lib/fastlane/plugins/plugin_info_collector.rb +1 -1
  63. data/fastlane/lib/fastlane/plugins/plugin_manager.rb +36 -4
  64. data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +1 -1
  65. data/fastlane/lib/fastlane/plugins/template/.github/workflows/test.yml +1 -1
  66. data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +3 -7
  67. data/fastlane/lib/fastlane/swift_lane_manager.rb +22 -4
  68. data/fastlane/lib/fastlane/version.rb +3 -2
  69. data/fastlane/swift/Deliverfile.swift +1 -1
  70. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  71. data/fastlane/swift/Fastlane.swift +55 -9
  72. data/fastlane/swift/Gymfile.swift +1 -1
  73. data/fastlane/swift/GymfileProtocol.swift +1 -1
  74. data/fastlane/swift/MainProcess.swift +190 -20
  75. data/fastlane/swift/Matchfile.swift +1 -1
  76. data/fastlane/swift/MatchfileProtocol.swift +10 -3
  77. data/fastlane/swift/Precheckfile.swift +1 -1
  78. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  79. data/fastlane/swift/Scanfile.swift +1 -1
  80. data/fastlane/swift/ScanfileProtocol.swift +8 -1
  81. data/fastlane/swift/Screengrabfile.swift +1 -1
  82. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  83. data/fastlane/swift/Snapshotfile.swift +1 -1
  84. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  85. data/fastlane/swift/formatting/Rakefile +1 -0
  86. data/fastlane/swift/main.swift +4 -1
  87. data/fastlane_core/README.md +1 -1
  88. data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +1 -17
  89. data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +23 -8
  90. data/fastlane_core/lib/fastlane_core/device_manager.rb +2 -2
  91. data/fastlane_core/lib/fastlane_core/helper.rb +34 -5
  92. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +0 -14
  93. data/fastlane_core/lib/fastlane_core/keychain_importer.rb +31 -28
  94. data/fastlane_core/lib/fastlane_core/languages.rb +0 -1
  95. data/fastlane_core/lib/fastlane_core/print_table.rb +5 -2
  96. data/fastlane_core/lib/fastlane_core/provisioning_profile.rb +10 -19
  97. data/fastlane_core/lib/fastlane_core/secrets.rb +77 -0
  98. data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +3 -3
  99. data/fastlane_core/lib/fastlane_core/ui/github_issue_inspector_reporter.rb +1 -1
  100. data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +2 -1
  101. data/fastlane_core/lib/fastlane_core.rb +1 -0
  102. data/frameit/lib/frameit/device.rb +1 -1
  103. data/frameit/lib/frameit/frame_downloader.rb +2 -0
  104. data/frameit/lib/frameit/runner.rb +3 -2
  105. data/frameit/lib/frameit/screenshot.rb +0 -1
  106. data/gym/lib/gym/generators/build_command_generator.rb +4 -4
  107. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +3 -3
  108. data/gym/lib/gym/runner.rb +1 -1
  109. data/internal/README.md +1 -1
  110. data/match/lib/match/encryption/openssl.rb +6 -2
  111. data/match/lib/match/generator.rb +1 -0
  112. data/match/lib/match/options.rb +13 -5
  113. data/match/lib/match/runner.rb +30 -3
  114. data/match/lib/match/storage/git_storage.rb +43 -7
  115. data/match/lib/match/storage/gitlab/secure_file.rb +2 -1
  116. data/match/lib/match/storage/interface.rb +8 -5
  117. data/pem/lib/pem/module.rb +0 -4
  118. data/precheck/lib/precheck/rule_processor.rb +1 -0
  119. data/produce/lib/produce/developer_center.rb +49 -2
  120. data/produce/lib/produce/itunes_connect.rb +1 -1
  121. data/produce/lib/produce/module.rb +21 -0
  122. data/produce/lib/produce/options.rb +17 -0
  123. data/produce/lib/produce/service.rb +3 -5
  124. data/produce/lib/produce.rb +0 -1
  125. data/scan/lib/scan/options.rb +7 -0
  126. data/scan/lib/scan/runner.rb +1 -1
  127. data/scan/lib/scan/test_command_generator.rb +12 -9
  128. data/scan/lib/scan/test_result_parser.rb +1 -0
  129. data/scan/lib/scan/xcpretty_reporter_options_generator.rb +2 -2
  130. data/screengrab/lib/screengrab/page.html.erb +12 -7
  131. data/screengrab/lib/screengrab/reports_generator.rb +1 -1
  132. data/sigh/lib/assets/resign.sh +17 -0
  133. data/sigh/lib/sigh/local_manage.rb +1 -1
  134. data/sigh/lib/sigh/options.rb +5 -0
  135. data/sigh/lib/sigh/resign.rb +3 -3
  136. data/sigh/lib/sigh/runner.rb +6 -1
  137. data/snapshot/lib/snapshot/page.html.erb +17 -12
  138. data/snapshot/lib/snapshot/reports_generator.rb +1 -1
  139. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +1 -1
  140. data/snapshot/lib/snapshot.rb +0 -2
  141. data/spaceship/README.md +2 -3
  142. data/spaceship/lib/spaceship/base.rb +3 -1
  143. data/spaceship/lib/spaceship/client.rb +65 -47
  144. data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +13 -2
  145. data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +6 -0
  146. data/spaceship/lib/spaceship/connect_api/models/profile.rb +7 -5
  147. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +25 -0
  148. data/spaceship/lib/spaceship/du/upload_file.rb +1 -1
  149. data/spaceship/lib/spaceship/errors.rb +7 -1
  150. data/spaceship/lib/spaceship/globals.rb +2 -2
  151. data/spaceship/lib/spaceship/portal/merchant.rb +127 -2
  152. data/spaceship/lib/spaceship/portal/portal_client.rb +58 -0
  153. data/spaceship/lib/spaceship/portal/ui/select_team.rb +0 -2
  154. data/spaceship/lib/spaceship/portal/website_push.rb +8 -2
  155. data/spaceship/lib/spaceship/test_flight/client.rb +0 -22
  156. data/spaceship/lib/spaceship/test_flight.rb +0 -1
  157. data/spaceship/lib/spaceship/two_step_or_factor_client.rb +11 -0
  158. data/supply/lib/supply/options.rb +1 -0
  159. data/supply/lib/supply.rb +0 -1
  160. metadata +75 -43
  161. data/produce/lib/produce/available_default_languages.rb +0 -62
  162. data/snapshot/lib/snapshot/screenshot_flatten.rb +0 -20
  163. data/snapshot/lib/snapshot/screenshot_rotate.rb +0 -36
  164. data/spaceship/lib/spaceship/test_flight/app_test_info.rb +0 -40
  165. data/supply/lib/supply/apk_listing.rb +0 -14
  166. /data/fastlane/lib/assets/{custom_action_template.rb → custom_action_template.rb.template} +0 -0
metadata CHANGED
@@ -1,36 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.240.0
4
+ version: 2.241.0
5
5
  platform: ruby
6
6
  authors:
7
- - Felix Krause
7
+ - Maksym Grebenets
8
+ - Manu Wallner
9
+ - Jan Piotrowski
10
+ - Fumiya Nakamura
11
+ - Satoshi Namai
12
+ - Jimmy Dee
13
+ - Matthew Ellis
14
+ - Max Ott
8
15
  - Łukasz Grabowski
9
- - Jorge Revuelta H
10
- - Helmut Januschka
11
- - Jérôme Lacoste
12
16
  - Iulian Onofrei
13
- - Max Ott
14
- - Manish Rathi
15
- - Connor Tumbleson
16
- - Danielle Tomlinson
17
- - Satoshi Namai
17
+ - Olivier Halligon
18
+ - Jérôme Lacoste
19
+ - Helmut Januschka
18
20
  - Daniel Jankowski
19
- - Manu Wallner
20
- - Kohki Miki
21
- - Matthew Ellis
22
- - Josh Holtz
23
21
  - Andrew McBurney
24
- - Jimmy Dee
25
- - Jan Piotrowski
26
- - Roger Oba
27
- - Maksym Grebenets
28
- - Fumiya Nakamura
22
+ - Jorge Revuelta H
29
23
  - Aaron Brager
30
- - Olivier Halligon
31
- - Joshua Liebowitz
32
- - Luka Mirosevic
24
+ - Josh Holtz
25
+ - Connor Tumbleson
33
26
  - Stefan Natchev
27
+ - Luka Mirosevic
28
+ - Manish Rathi
29
+ - Roger Oba
30
+ - Kohki Miki
31
+ - Felix Krause
32
+ - Joshua Liebowitz
33
+ - Danielle Tomlinson
34
34
  bindir: bin
35
35
  cert_chain: []
36
36
  date: 1980-01-02 00:00:00.000000000 Z
@@ -211,13 +211,33 @@ dependencies:
211
211
  - - "<"
212
212
  - !ruby/object:Gem::Version
213
213
  version: '4.0'
214
+ - !ruby/object:Gem::Dependency
215
+ name: erb
216
+ requirement: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: '4.0'
221
+ - - "<"
222
+ - !ruby/object:Gem::Version
223
+ version: '7.0'
224
+ type: :runtime
225
+ prerelease: false
226
+ version_requirements: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '4.0'
231
+ - - "<"
232
+ - !ruby/object:Gem::Version
233
+ version: '7.0'
214
234
  - !ruby/object:Gem::Dependency
215
235
  name: excon
216
236
  requirement: !ruby/object:Gem::Requirement
217
237
  requirements:
218
238
  - - ">="
219
239
  - !ruby/object:Gem::Version
220
- version: 0.71.0
240
+ version: 1.0.0
221
241
  - - "<"
222
242
  - !ruby/object:Gem::Version
223
243
  version: 2.0.0
@@ -227,7 +247,7 @@ dependencies:
227
247
  requirements:
228
248
  - - ">="
229
249
  - !ruby/object:Gem::Version
230
- version: 0.71.0
250
+ version: 1.0.0
231
251
  - - "<"
232
252
  - !ruby/object:Gem::Version
233
253
  version: 2.0.0
@@ -361,14 +381,14 @@ dependencies:
361
381
  requirements:
362
382
  - - "~>"
363
383
  - !ruby/object:Gem::Version
364
- version: 0.99.0
384
+ version: '0.99'
365
385
  type: :runtime
366
386
  prerelease: false
367
387
  version_requirements: !ruby/object:Gem::Requirement
368
388
  requirements:
369
389
  - - "~>"
370
390
  - !ruby/object:Gem::Version
371
- version: 0.99.0
391
+ version: '0.99'
372
392
  - !ruby/object:Gem::Dependency
373
393
  name: google-apis-playcustomapp_v1
374
394
  requirement: !ruby/object:Gem::Requirement
@@ -392,7 +412,7 @@ dependencies:
392
412
  version: 1.6.0
393
413
  - - "<"
394
414
  - !ruby/object:Gem::Version
395
- version: 2.4.0
415
+ version: 2.5.0
396
416
  type: :runtime
397
417
  prerelease: false
398
418
  version_requirements: !ruby/object:Gem::Requirement
@@ -402,7 +422,7 @@ dependencies:
402
422
  version: 1.6.0
403
423
  - - "<"
404
424
  - !ruby/object:Gem::Version
405
- version: 2.4.0
425
+ version: 2.5.0
406
426
  - !ruby/object:Gem::Dependency
407
427
  name: google-cloud-storage
408
428
  requirement: !ruby/object:Gem::Requirement
@@ -597,16 +617,16 @@ dependencies:
597
617
  name: security
598
618
  requirement: !ruby/object:Gem::Requirement
599
619
  requirements:
600
- - - '='
620
+ - - "~>"
601
621
  - !ruby/object:Gem::Version
602
- version: 0.2.0
622
+ version: '0.3'
603
623
  type: :runtime
604
624
  prerelease: false
605
625
  version_requirements: !ruby/object:Gem::Requirement
606
626
  requirements:
607
- - - '='
627
+ - - "~>"
608
628
  - !ruby/object:Gem::Version
609
- version: 0.2.0
629
+ version: '0.3'
610
630
  - !ruby/object:Gem::Dependency
611
631
  name: simctl
612
632
  requirement: !ruby/object:Gem::Requirement
@@ -627,20 +647,20 @@ dependencies:
627
647
  requirements:
628
648
  - - ">="
629
649
  - !ruby/object:Gem::Version
630
- version: 2.0.0
650
+ version: 3.1.0
631
651
  - - "<"
632
652
  - !ruby/object:Gem::Version
633
- version: 3.0.0
653
+ version: 4.0.0
634
654
  type: :runtime
635
655
  prerelease: false
636
656
  version_requirements: !ruby/object:Gem::Requirement
637
657
  requirements:
638
658
  - - ">="
639
659
  - !ruby/object:Gem::Version
640
- version: 2.0.0
660
+ version: 3.1.0
641
661
  - - "<"
642
662
  - !ruby/object:Gem::Version
643
- version: 3.0.0
663
+ version: 4.0.0
644
664
  - !ruby/object:Gem::Dependency
645
665
  name: terminal-table
646
666
  requirement: !ruby/object:Gem::Requirement
@@ -867,6 +887,20 @@ dependencies:
867
887
  - - "<"
868
888
  - !ruby/object:Gem::Version
869
889
  version: '2.0'
890
+ - !ruby/object:Gem::Dependency
891
+ name: cgi
892
+ requirement: !ruby/object:Gem::Requirement
893
+ requirements:
894
+ - - "~>"
895
+ - !ruby/object:Gem::Version
896
+ version: '0.4'
897
+ type: :runtime
898
+ prerelease: false
899
+ version_requirements: !ruby/object:Gem::Requirement
900
+ requirements:
901
+ - - "~>"
902
+ - !ruby/object:Gem::Version
903
+ version: '0.4'
870
904
  - !ruby/object:Gem::Dependency
871
905
  name: benchmark
872
906
  requirement: !ruby/object:Gem::Requirement
@@ -955,6 +989,7 @@ files:
955
989
  - deliver/lib/deliver/upload_metadata.rb
956
990
  - deliver/lib/deliver/upload_price_tier.rb
957
991
  - deliver/lib/deliver/upload_screenshots.rb
992
+ - docs/README.md
958
993
  - fastlane/README.md
959
994
  - fastlane/lib/assets/ActionDetails.md.erb
960
995
  - fastlane/lib/assets/Actions.md.erb
@@ -963,11 +998,12 @@ files:
963
998
  - fastlane/lib/assets/AppfileTemplateAndroid
964
999
  - fastlane/lib/assets/DefaultFastfileTemplate
965
1000
  - fastlane/lib/assets/DefaultFastfileTemplate.swift
1001
+ - fastlane/lib/assets/TeamTable.md.erb
966
1002
  - fastlane/lib/assets/completions/completion.bash
967
1003
  - fastlane/lib/assets/completions/completion.fish
968
1004
  - fastlane/lib/assets/completions/completion.sh
969
1005
  - fastlane/lib/assets/completions/completion.zsh
970
- - fastlane/lib/assets/custom_action_template.rb
1006
+ - fastlane/lib/assets/custom_action_template.rb.template
971
1007
  - fastlane/lib/assets/mailgun_html_template.erb
972
1008
  - fastlane/lib/assets/report_template.xml.erb
973
1009
  - fastlane/lib/assets/s3_html_template.erb
@@ -1395,6 +1431,7 @@ files:
1395
1431
  - fastlane_core/lib/fastlane_core/project.rb
1396
1432
  - fastlane_core/lib/fastlane_core/provisioning_profile.rb
1397
1433
  - fastlane_core/lib/fastlane_core/queue_worker.rb
1434
+ - fastlane_core/lib/fastlane_core/secrets.rb
1398
1435
  - fastlane_core/lib/fastlane_core/string_filters.rb
1399
1436
  - fastlane_core/lib/fastlane_core/swag.rb
1400
1437
  - fastlane_core/lib/fastlane_core/tag_version.rb
@@ -1533,7 +1570,6 @@ files:
1533
1570
  - precheck/lib/precheck/runner.rb
1534
1571
  - produce/README.md
1535
1572
  - produce/lib/produce.rb
1536
- - produce/lib/produce/available_default_languages.rb
1537
1573
  - produce/lib/produce/cloud_container.rb
1538
1574
  - produce/lib/produce/commands_generator.rb
1539
1575
  - produce/lib/produce/developer_center.rb
@@ -1607,8 +1643,6 @@ files:
1607
1643
  - snapshot/lib/snapshot/reports_generator.rb
1608
1644
  - snapshot/lib/snapshot/reset_simulators.rb
1609
1645
  - snapshot/lib/snapshot/runner.rb
1610
- - snapshot/lib/snapshot/screenshot_flatten.rb
1611
- - snapshot/lib/snapshot/screenshot_rotate.rb
1612
1646
  - snapshot/lib/snapshot/setup.rb
1613
1647
  - snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb
1614
1648
  - snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb
@@ -1752,7 +1786,6 @@ files:
1752
1786
  - spaceship/lib/spaceship/spaceauth_runner.rb
1753
1787
  - spaceship/lib/spaceship/stats_middleware.rb
1754
1788
  - spaceship/lib/spaceship/test_flight.rb
1755
- - spaceship/lib/spaceship/test_flight/app_test_info.rb
1756
1789
  - spaceship/lib/spaceship/test_flight/base.rb
1757
1790
  - spaceship/lib/spaceship/test_flight/beta_review_info.rb
1758
1791
  - spaceship/lib/spaceship/test_flight/build.rb
@@ -1820,7 +1853,6 @@ files:
1820
1853
  - spaceship/lib/spaceship/upgrade_2fa_later_client.rb
1821
1854
  - supply/README.md
1822
1855
  - supply/lib/supply.rb
1823
- - supply/lib/supply/apk_listing.rb
1824
1856
  - supply/lib/supply/client.rb
1825
1857
  - supply/lib/supply/commands_generator.rb
1826
1858
  - supply/lib/supply/generated_universal_apk.rb
@@ -1882,7 +1914,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1882
1914
  requirements:
1883
1915
  - - ">="
1884
1916
  - !ruby/object:Gem::Version
1885
- version: '3.1'
1917
+ version: 3.2.0
1886
1918
  required_rubygems_version: !ruby/object:Gem::Requirement
1887
1919
  requirements:
1888
1920
  - - ">="
@@ -1,62 +0,0 @@
1
- module Produce
2
- class AvailableDefaultLanguages
3
- # If you update this list, you probably also have to update these files:
4
- # - fastlane_core/lib/fastlane_core/languages.rb
5
- # - spaceship/lib/assets/languageMapping.json
6
- # See this pull request for example: https://github.com/fastlane/fastlane/pull/14110
7
- def self.all_languages
8
- [
9
- "Arabic",
10
- "Bangla",
11
- "Catalan",
12
- "Croatian",
13
- "Czech",
14
- "Brazilian Portuguese",
15
- "Danish",
16
- "Dutch",
17
- "English",
18
- "English_Australian",
19
- "English_CA",
20
- "English_UK",
21
- "Finnish",
22
- "French",
23
- "French_CA",
24
- "German",
25
- "Greek",
26
- "Gujarati",
27
- "Hebrew",
28
- "Hindi",
29
- "Hungarian",
30
- "Indonesian",
31
- "Italian",
32
- "Japanese",
33
- "Kannada",
34
- "Korean",
35
- "Malayalam",
36
- "Malay",
37
- "Marathi",
38
- "Norwegian",
39
- "Odia",
40
- "Polish",
41
- "Portuguese",
42
- "Punjabi",
43
- "Romanian",
44
- "Russian",
45
- "Simplified Chinese",
46
- "Slovak",
47
- "Slovenian",
48
- "Spanish",
49
- "Spanish_MX",
50
- "Swedish",
51
- "Tamil",
52
- "Telugu",
53
- "Thai",
54
- "Traditional Chinese",
55
- "Turkish",
56
- "Ukrainian",
57
- "Urdu",
58
- "Vietnamese"
59
- ]
60
- end
61
- end
62
- end
@@ -1,20 +0,0 @@
1
- require_relative 'module'
2
-
3
- module Snapshot
4
- # This class takes care of removing the alpha channel of the generated screenshots
5
- class ScreenshotFlatten
6
- # @param (String) The path in which the screenshots are located in
7
- def run(path)
8
- UI.message("Removing the alpha channel from generated png files")
9
- flatten(path)
10
- end
11
-
12
- def flatten(path)
13
- Dir.glob([path, '/**/*.png'].join('/')).each do |file|
14
- UI.verbose("Removing alpha channel from '#{file}'")
15
- `sips -s format bmp '#{file}' &> /dev/null` # &> /dev/null because there is warning because of the extension
16
- `sips -s format png '#{file}'`
17
- end
18
- end
19
- end
20
- end
@@ -1,36 +0,0 @@
1
- require_relative 'module'
2
- require 'fastlane_core/fastlane_pty'
3
-
4
- module Snapshot
5
- # This class takes care of rotating images
6
- class ScreenshotRotate
7
- require 'shellwords'
8
-
9
- # @param (String) The path in which the screenshots are located in
10
- def run(path)
11
- UI.verbose("Rotating the screenshots (if necessary)")
12
- rotate(path)
13
- end
14
-
15
- def rotate(path)
16
- Dir.glob([path, '/**/*.png'].join('/')).each do |file|
17
- UI.verbose("Rotating '#{file}'")
18
-
19
- command = nil
20
- if file.end_with?("landscapeleft.png")
21
- command = "sips -r -90 '#{file}'"
22
- elsif file.end_with?("landscaperight.png")
23
- command = "sips -r 90 '#{file}'"
24
- elsif file.end_with?("portrait_upsidedown.png")
25
- command = "sips -r 180 '#{file}'"
26
- end
27
-
28
- # Only rotate if we need to
29
- next unless command
30
-
31
- # Rotate
32
- FastlaneCore::CommandExecutor.execute(command: command, print_all: false, print_command: false)
33
- end
34
- end
35
- end
36
- end
@@ -1,40 +0,0 @@
1
- require_relative 'base'
2
- require_relative 'test_info'
3
- require_relative 'beta_review_info'
4
-
5
- module Spaceship::TestFlight
6
- class AppTestInfo < Base
7
- # AppTestInfo wraps a test_info and beta_review_info in the format required to manage test_info
8
- # for an application. Note that this structure, although looking similar to build test_info
9
- # is test information about the application
10
-
11
- attr_accessor :test_info
12
- attr_accessor :beta_review_info
13
-
14
- def self.find(app_id: nil)
15
- raw_app_test_info = client.get_app_test_info(app_id: app_id)
16
- self.new(raw_app_test_info)
17
- end
18
-
19
- def test_info
20
- Spaceship::TestFlight::TestInfo.new(raw_data['details'])
21
- end
22
-
23
- def test_info=(value)
24
- raw_data.set(['details'], value.raw_data)
25
- end
26
-
27
- def beta_review_info
28
- Spaceship::TestFlight::BetaReviewInfo.new(raw_data['betaReviewInfo'])
29
- end
30
-
31
- def beta_review_info=(value)
32
- raw_data.set(['betaReviewInfo'], value.raw_data)
33
- end
34
-
35
- # saves the changes to the App Test Info object to TestFlight
36
- def save_for_app!(app_id: nil)
37
- client.put_app_test_info(app_id: app_id, app_test_info: self)
38
- end
39
- end
40
- end
@@ -1,14 +0,0 @@
1
- module Supply
2
- class ApkListing
3
- attr_accessor :recent_changes
4
- attr_accessor :language
5
- attr_accessor :apk_version_code
6
-
7
- # Initializes the apk listing with the current listing if available
8
- def initialize(recent_changes, language, apk_version_code)
9
- self.recent_changes = recent_changes
10
- self.language = language
11
- self.apk_version_code = apk_version_code
12
- end
13
- end
14
- end