fastlane 2.142.0 → 2.143.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +84 -84
  3. data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
  4. data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
  5. data/fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp +0 -0
  6. data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +22 -6
  7. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +20 -4
  8. data/fastlane/lib/fastlane/actions/frame_screenshots.rb +2 -1
  9. data/fastlane/lib/fastlane/actions/s3.rb +3 -289
  10. data/fastlane/lib/fastlane/helper/s3_client_helper.rb +56 -0
  11. data/fastlane/lib/fastlane/version.rb +1 -1
  12. data/fastlane/swift/Deliverfile.swift +1 -1
  13. data/fastlane/swift/Fastlane.swift +59 -5
  14. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  15. data/fastlane/swift/Gymfile.swift +1 -1
  16. data/fastlane/swift/Matchfile.swift +1 -1
  17. data/fastlane/swift/MatchfileProtocol.swift +17 -1
  18. data/fastlane/swift/Precheckfile.swift +1 -1
  19. data/fastlane/swift/Scanfile.swift +1 -1
  20. data/fastlane/swift/Screengrabfile.swift +1 -1
  21. data/fastlane/swift/Snapshotfile.swift +1 -1
  22. data/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb +1 -0
  23. data/frameit/lib/frameit/commands_generator.rb +25 -0
  24. data/frameit/lib/frameit/config_parser.rb +31 -9
  25. data/frameit/lib/frameit/device.rb +90 -0
  26. data/frameit/lib/frameit/device_types.rb +121 -5
  27. data/frameit/lib/frameit/editor.rb +28 -40
  28. data/frameit/lib/frameit/offsets.rb +8 -1
  29. data/frameit/lib/frameit/options.rb +81 -54
  30. data/frameit/lib/frameit/runner.rb +17 -7
  31. data/frameit/lib/frameit/screenshot.rb +35 -47
  32. data/frameit/lib/frameit/template_finder.rb +15 -12
  33. data/match/lib/match/change_password.rb +1 -1
  34. data/match/lib/match/encryption.rb +4 -0
  35. data/match/lib/match/importer.rb +2 -2
  36. data/match/lib/match/module.rb +1 -1
  37. data/match/lib/match/nuke.rb +5 -1
  38. data/match/lib/match/options.rb +18 -0
  39. data/match/lib/match/runner.rb +4 -0
  40. data/match/lib/match/setup.rb +1 -1
  41. data/match/lib/match/storage.rb +4 -0
  42. data/match/lib/match/storage/s3_storage.rb +162 -0
  43. data/pilot/lib/pilot/.manager.rb.swp +0 -0
  44. data/scan/lib/scan/test_command_generator.rb +2 -1
  45. data/screengrab/lib/screengrab/runner.rb +11 -3
  46. data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
  47. data/spaceship/lib/spaceship/connect_api/models/build.rb +1 -2
  48. data/spaceship/lib/spaceship/connect_api/models/certificate.rb +2 -0
  49. data/spaceship/lib/spaceship/portal/.certificate.rb.swp +0 -0
  50. metadata +42 -19
  51. data/gym/lib/gym/.code_signing_mapping.rb.swp +0 -0
@@ -151,7 +151,8 @@ module Scan
151
151
 
152
152
  def result_bundle_path
153
153
  unless Scan.cache[:result_bundle_path]
154
- path = File.join(Scan.config[:output_directory], Scan.config[:scheme]) + ".test_result"
154
+ ext = FastlaneCore::Helper.xcode_version.to_i >= 11 ? '.xcresult' : '.test_result'
155
+ path = File.join(Scan.config[:output_directory], Scan.config[:scheme]) + ext
155
156
  if File.directory?(path)
156
157
  FileUtils.remove_dir(path)
157
158
  end
@@ -143,10 +143,17 @@ module Screengrab
143
143
 
144
144
  def determine_internal_screenshots_paths(app_package_name, locales)
145
145
  locale_paths = locales.map do |locale|
146
- "/data/user/0/#{app_package_name}/files/#{app_package_name}/screengrab/#{locale}/images/screenshots"
147
- end
146
+ [
147
+ "/data/user/0/#{app_package_name}/files/#{app_package_name}/screengrab/#{locale}/images/screenshots",
148
+
149
+ # https://github.com/fastlane/fastlane/issues/15653#issuecomment-578541663
150
+ "/data/data/#{app_package_name}/files/#{app_package_name}/screengrab/#{locale}/images/screenshots"
151
+ ]
152
+ end.flatten
148
153
 
149
- return ["/data/data/#{app_package_name}/app_screengrab"] + locale_paths
154
+ return ["/data/data/#{app_package_name}/app_screengrab"] +
155
+ ["/data/data/#{app_package_name}/screengrab"] +
156
+ locale_paths
150
157
  end
151
158
 
152
159
  def clear_device_previous_screenshots(device_serial, device_screenshots_paths)
@@ -289,6 +296,7 @@ module Screengrab
289
296
  Dir.mktmpdir do |tempdir|
290
297
  device_screenshots_paths.each do |device_path|
291
298
  if_device_path_exists(device_serial, device_path) do |path|
299
+ next unless path.include?(locale)
292
300
  run_adb_command("-s #{device_serial} pull #{path} #{tempdir}",
293
301
  print_all: false,
294
302
  print_command: true)
@@ -79,8 +79,7 @@ module Spaceship
79
79
  end
80
80
 
81
81
  def ready_for_internal_testing?
82
- raise "No build_beta_detail included" unless build_beta_detail
83
- return build_beta_detail.ready_for_internal_testing?
82
+ return build_beta_detail.nil? == false && build_beta_detail.ready_for_internal_testing?
84
83
  end
85
84
 
86
85
  def ready_for_beta_submission?
@@ -22,6 +22,8 @@ module Spaceship
22
22
  })
23
23
 
24
24
  module CertificateType
25
+ DEVELOPMENT = "DEVELOPMENT"
26
+ DISTRIBUTION = "DISTRIBUTION"
25
27
  IOS_DEVELOPMENT = "IOS_DEVELOPMENT"
26
28
  IOS_DISTRIBUTION = "IOS_DISTRIBUTION"
27
29
  MAC_APP_DISTRIBUTION = "MAC_APP_DISTRIBUTION"
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.142.0
4
+ version: 2.143.0
5
5
  platform: ruby
6
6
  authors:
7
- - Manu Wallner
8
- - Josh Holtz
9
- - Iulian Onofrei
10
- - Luka Mirosevic
11
- - Danielle Tomlinson
12
7
  - Joshua Liebowitz
13
- - Jérôme Lacoste
14
- - Fumiya Nakamura
8
+ - Stefan Natchev
9
+ - Andrew McBurney
15
10
  - Aaron Brager
16
- - Felix Krause
17
- - Olivier Halligon
18
- - Matthew Ellis
11
+ - Fumiya Nakamura
19
12
  - Daniel Jankowski
20
- - Maksym Grebenets
21
- - Max Ott
22
13
  - Kohki Miki
14
+ - Jorge Revuelta H
15
+ - Matthew Ellis
16
+ - Luka Mirosevic
17
+ - Iulian Onofrei
18
+ - Danielle Tomlinson
19
+ - Josh Holtz
20
+ - Manu Wallner
23
21
  - Jimmy Dee
24
- - Stefan Natchev
25
22
  - Helmut Januschka
26
- - Andrew McBurney
23
+ - Felix Krause
24
+ - Jérôme Lacoste
25
+ - Olivier Halligon
26
+ - Max Ott
27
27
  - Jan Piotrowski
28
- - Jorge Revuelta H
28
+ - Maksym Grebenets
29
29
  autorequire:
30
30
  bindir: bin
31
31
  cert_chain: []
32
- date: 2020-02-18 00:00:00.000000000 Z
32
+ date: 2020-03-04 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: slack-notifier
@@ -667,6 +667,20 @@ dependencies:
667
667
  - - "<"
668
668
  - !ruby/object:Gem::Version
669
669
  version: '2.0'
670
+ - !ruby/object:Gem::Dependency
671
+ name: aws-sdk
672
+ requirement: !ruby/object:Gem::Requirement
673
+ requirements:
674
+ - - "~>"
675
+ - !ruby/object:Gem::Version
676
+ version: '2.3'
677
+ type: :runtime
678
+ prerelease: false
679
+ version_requirements: !ruby/object:Gem::Requirement
680
+ requirements:
681
+ - - "~>"
682
+ - !ruby/object:Gem::Version
683
+ version: '2.3'
670
684
  - !ruby/object:Gem::Dependency
671
685
  name: rake
672
686
  requirement: !ruby/object:Gem::Requirement
@@ -1002,6 +1016,9 @@ files:
1002
1016
  - fastlane/lib/fastlane.rb
1003
1017
  - fastlane/lib/fastlane/action.rb
1004
1018
  - fastlane/lib/fastlane/action_collector.rb
1019
+ - fastlane/lib/fastlane/actions/.hockey.rb.swp
1020
+ - fastlane/lib/fastlane/actions/.slack.rb.swp
1021
+ - fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
1005
1022
  - fastlane/lib/fastlane/actions/README.md
1006
1023
  - fastlane/lib/fastlane/actions/actions_helper.rb
1007
1024
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1263,6 +1280,7 @@ files:
1263
1280
  - fastlane/lib/fastlane/helper/git_helper.rb
1264
1281
  - fastlane/lib/fastlane/helper/gradle_helper.rb
1265
1282
  - fastlane/lib/fastlane/helper/podspec_helper.rb
1283
+ - fastlane/lib/fastlane/helper/s3_client_helper.rb
1266
1284
  - fastlane/lib/fastlane/helper/sh_helper.rb
1267
1285
  - fastlane/lib/fastlane/helper/xcodeproj_helper.rb
1268
1286
  - fastlane/lib/fastlane/helper/xcversion_helper.rb
@@ -1333,6 +1351,7 @@ files:
1333
1351
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
1334
1352
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
1335
1353
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
1354
+ - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
1336
1355
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
1337
1356
  - fastlane/swift/FastlaneSwiftRunner/README.txt
1338
1357
  - fastlane/swift/Gymfile.swift
@@ -1422,6 +1441,7 @@ files:
1422
1441
  - frameit/lib/frameit/commands_generator.rb
1423
1442
  - frameit/lib/frameit/config_parser.rb
1424
1443
  - frameit/lib/frameit/dependency_checker.rb
1444
+ - frameit/lib/frameit/device.rb
1425
1445
  - frameit/lib/frameit/device_types.rb
1426
1446
  - frameit/lib/frameit/editor.rb
1427
1447
  - frameit/lib/frameit/frame_downloader.rb
@@ -1439,7 +1459,6 @@ files:
1439
1459
  - gym/lib/assets/GymfileTemplate.swift
1440
1460
  - gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh
1441
1461
  - gym/lib/gym.rb
1442
- - gym/lib/gym/.code_signing_mapping.rb.swp
1443
1462
  - gym/lib/gym/code_signing_mapping.rb
1444
1463
  - gym/lib/gym/commands_generator.rb
1445
1464
  - gym/lib/gym/detect_values.rb
@@ -1478,6 +1497,7 @@ files:
1478
1497
  - match/lib/match/storage/git_storage.rb
1479
1498
  - match/lib/match/storage/google_cloud_storage.rb
1480
1499
  - match/lib/match/storage/interface.rb
1500
+ - match/lib/match/storage/s3_storage.rb
1481
1501
  - match/lib/match/table_printer.rb
1482
1502
  - match/lib/match/utils.rb
1483
1503
  - pem/README.md
@@ -1488,6 +1508,7 @@ files:
1488
1508
  - pem/lib/pem/options.rb
1489
1509
  - pilot/README.md
1490
1510
  - pilot/lib/pilot.rb
1511
+ - pilot/lib/pilot/.manager.rb.swp
1491
1512
  - pilot/lib/pilot/build_manager.rb
1492
1513
  - pilot/lib/pilot/commands_generator.rb
1493
1514
  - pilot/lib/pilot/features.rb
@@ -1620,6 +1641,7 @@ files:
1620
1641
  - spaceship/lib/spaceship/client.rb
1621
1642
  - spaceship/lib/spaceship/commands_generator.rb
1622
1643
  - spaceship/lib/spaceship/connect_api.rb
1644
+ - spaceship/lib/spaceship/connect_api/.DS_Store
1623
1645
  - spaceship/lib/spaceship/connect_api/client.rb
1624
1646
  - spaceship/lib/spaceship/connect_api/model.rb
1625
1647
  - spaceship/lib/spaceship/connect_api/models/app.rb
@@ -1662,6 +1684,7 @@ files:
1662
1684
  - spaceship/lib/spaceship/launcher.rb
1663
1685
  - spaceship/lib/spaceship/module.rb
1664
1686
  - spaceship/lib/spaceship/playground.rb
1687
+ - spaceship/lib/spaceship/portal/.certificate.rb.swp
1665
1688
  - spaceship/lib/spaceship/portal/app.rb
1666
1689
  - spaceship/lib/spaceship/portal/app_group.rb
1667
1690
  - spaceship/lib/spaceship/portal/app_service.rb
@@ -1801,7 +1824,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1801
1824
  - !ruby/object:Gem::Version
1802
1825
  version: '0'
1803
1826
  requirements: []
1804
- rubygems_version: 3.0.6
1827
+ rubygems_version: 3.0.3
1805
1828
  signing_key:
1806
1829
  specification_version: 4
1807
1830
  summary: The easiest way to automate beta deployments and releases for your iOS and