fastlane 2.143.0 → 2.147.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +82 -82
  3. data/credentials_manager/lib/credentials_manager/appfile_config.rb +4 -0
  4. data/deliver/lib/deliver/app_screenshot.rb +1 -0
  5. data/deliver/lib/deliver/options.rb +30 -1
  6. data/deliver/lib/deliver/setup.rb +4 -4
  7. data/fastlane/lib/assets/custom_action_template.rb +6 -6
  8. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +7 -1
  9. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +3 -0
  10. data/fastlane/lib/fastlane/actions/cocoapods.rb +1 -1
  11. data/fastlane/lib/fastlane/actions/crashlytics.rb +14 -2
  12. data/fastlane/lib/fastlane/actions/create_pull_request.rb +7 -1
  13. data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +13 -5
  14. data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +1 -1
  15. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +3 -3
  16. data/fastlane/lib/fastlane/actions/get_version_number.rb +1 -1
  17. data/fastlane/lib/fastlane/actions/git_branch.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +7 -1
  19. data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -3
  20. data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -1
  21. data/fastlane/lib/fastlane/actions/setup_jenkins.rb +11 -2
  22. data/fastlane/lib/fastlane/actions/slather.rb +1 -1
  23. data/fastlane/lib/fastlane/actions/swiftlint.rb +28 -7
  24. data/fastlane/lib/fastlane/actions/testfairy.rb +18 -3
  25. data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +203 -0
  26. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -1
  27. data/fastlane/lib/fastlane/actions/verify_build.rb +1 -1
  28. data/fastlane/lib/fastlane/actions/verify_xcode.rb +7 -0
  29. data/fastlane/lib/fastlane/commands_generator.rb +4 -1
  30. data/fastlane/lib/fastlane/helper/lane_helper.rb +13 -0
  31. data/fastlane/lib/fastlane/helper/s3_client_helper.rb +14 -9
  32. data/fastlane/lib/fastlane/version.rb +1 -1
  33. data/fastlane/swift/Deliverfile.swift +1 -1
  34. data/fastlane/swift/Fastlane.swift +138 -23
  35. data/fastlane/swift/Gymfile.swift +1 -1
  36. data/fastlane/swift/Matchfile.swift +1 -1
  37. data/fastlane/swift/MatchfileProtocol.swift +6 -2
  38. data/fastlane/swift/Precheckfile.swift +1 -1
  39. data/fastlane/swift/Scanfile.swift +1 -1
  40. data/fastlane/swift/ScanfileProtocol.swift +10 -2
  41. data/fastlane/swift/Screengrabfile.swift +1 -1
  42. data/fastlane/swift/Snapshotfile.swift +1 -1
  43. data/fastlane/swift/SnapshotfileProtocol.swift +9 -1
  44. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +9 -0
  45. data/fastlane_core/lib/fastlane_core/device_manager.rb +3 -3
  46. data/fastlane_core/lib/fastlane_core/helper.rb +17 -0
  47. data/fastlane_core/lib/fastlane_core/keychain_importer.rb +46 -2
  48. data/fastlane_core/lib/fastlane_core/provisioning_profile.rb +15 -2
  49. data/frameit/lib/frameit/device_types.rb +10 -0
  50. data/frameit/lib/frameit/editor.rb +1 -1
  51. data/frameit/lib/frameit/options.rb +5 -2
  52. data/frameit/lib/frameit/runner.rb +5 -0
  53. data/frameit/lib/frameit/screenshot.rb +5 -0
  54. data/gym/lib/gym/generators/package_command_generator.rb +4 -0
  55. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +5 -0
  56. data/gym/lib/gym/runner.rb +14 -0
  57. data/match/lib/match/change_password.rb +1 -18
  58. data/match/lib/match/encryption/openssl.rb +1 -1
  59. data/match/lib/match/generator.rb +5 -1
  60. data/match/lib/match/importer.rb +35 -18
  61. data/match/lib/match/options.rb +6 -1
  62. data/match/lib/match/storage/s3_storage.rb +10 -5
  63. data/match/lib/match/utils.rb +1 -1
  64. data/pilot/lib/pilot/build_manager.rb +15 -4
  65. data/pilot/lib/pilot/options.rb +8 -0
  66. data/produce/lib/produce/developer_center.rb +11 -2
  67. data/produce/lib/produce/itunes_connect.rb +11 -3
  68. data/produce/lib/produce/options.rb +12 -0
  69. data/scan/lib/scan/options.rb +11 -1
  70. data/scan/lib/scan/runner.rb +2 -0
  71. data/scan/lib/scan/test_command_generator.rb +4 -1
  72. data/screengrab/lib/screengrab/runner.rb +1 -1
  73. data/snapshot/lib/assets/SnapfileTemplate +3 -0
  74. data/snapshot/lib/snapshot/options.rb +10 -0
  75. data/snapshot/lib/snapshot/reports_generator.rb +4 -0
  76. data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
  77. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +4 -0
  78. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +21 -0
  79. data/snapshot/lib/snapshot/test_command_generator_base.rb +3 -0
  80. data/spaceship/lib/spaceship/base.rb +1 -1
  81. data/spaceship/lib/spaceship/connect_api/model.rb +6 -0
  82. data/spaceship/lib/spaceship/connect_api/models/app.rb +11 -0
  83. data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +23 -0
  84. data/spaceship/lib/spaceship/portal/app_service.rb +2 -2
  85. data/spaceship/lib/spaceship/portal/portal_client.rb +13 -0
  86. data/spaceship/lib/spaceship/tunes/app_version.rb +6 -1
  87. data/spaceship/lib/spaceship/tunes/application.rb +2 -1
  88. data/spaceship/lib/spaceship/tunes/iap.rb +15 -0
  89. data/spaceship/lib/spaceship/tunes/tunes_client.rb +16 -2
  90. data/spaceship/lib/spaceship/two_step_or_factor_client.rb +52 -16
  91. data/supply/lib/supply/.client.rb.swp +0 -0
  92. data/supply/lib/supply/client.rb +4 -4
  93. data/supply/lib/supply/setup.rb +5 -3
  94. metadata +40 -32
  95. data/fastlane/lib/fastlane/actions/.hockey.rb.swp +0 -0
  96. data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
  97. data/fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp +0 -0
  98. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  99. data/pilot/lib/pilot/.manager.rb.swp +0 -0
  100. data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
  101. data/spaceship/lib/spaceship/portal/.certificate.rb.swp +0 -0
@@ -244,7 +244,7 @@ module Supply
244
244
  UI.message("Found '#{version}' in '#{filtered_track.track}' track.")
245
245
  end
246
246
 
247
- filtered_release = filtered_track.releases.first { |r| r.name == version }
247
+ filtered_release = filtered_track.releases.first { |r| !r.name.nil? && r.name == version }
248
248
 
249
249
  # Since we can release on Alpha/Beta without release notes.
250
250
  if filtered_release.release_notes.nil?
@@ -258,13 +258,13 @@ module Supply
258
258
  end
259
259
 
260
260
  def latest_version(track)
261
- latest_version = tracks.select { |t| t.track == Supply::Tracks::DEFAULT }.map(&:releases).flatten.max_by(&:name)
261
+ latest_version = tracks.select { |t| t.track == Supply::Tracks::DEFAULT }.map(&:releases).flatten.reject { |r| r.name.nil? }.max_by(&:name)
262
262
 
263
263
  # Check if user specified '--track' option if version information from 'production' track is nil
264
264
  if latest_version.nil? && track == Supply::Tracks::DEFAULT
265
265
  UI.user_error!(%(Unable to find latest version information from "#{Supply::Tracks::DEFAULT}" track. Please specify track information by using the '--track' option.))
266
266
  else
267
- latest_version = tracks.select { |t| t.track == track }.map(&:releases).flatten.max_by(&:name)
267
+ latest_version = tracks.select { |t| t.track == track }.map(&:releases).flatten.reject { |r| r.name.nil? }.max_by(&:name)
268
268
  end
269
269
 
270
270
  return latest_version
@@ -405,7 +405,7 @@ module Supply
405
405
  )
406
406
  return result.releases.flat_map(&:version_codes) || []
407
407
  rescue Google::Apis::ClientError => e
408
- return [] if e.status_code == 404 && e.to_s.include?("trackEmpty")
408
+ return [] if e.status_code == 404 && (e.to_s.include?("trackEmpty") || e.to_s.include?("Track not found"))
409
409
  raise
410
410
  end
411
411
  end
@@ -98,9 +98,11 @@ module Supply
98
98
  FileUtils.mkdir_p(containing)
99
99
  end
100
100
 
101
- path = File.join(containing, "#{release_listing.version}.txt")
102
- UI.message("Writing to #{path}...")
103
- File.write(path, release_listing.release_notes)
101
+ release_listing.versioncodes.each do |versioncode|
102
+ path = File.join(containing, "#{versioncode}.txt")
103
+ UI.message("Writing to #{path}...")
104
+ File.write(path, release_listing.release_notes)
105
+ end
104
106
  end
105
107
 
106
108
  private
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.143.0
4
+ version: 2.147.0
5
5
  platform: ruby
6
6
  authors:
7
+ - Josh Holtz
7
8
  - Joshua Liebowitz
9
+ - Felix Krause
10
+ - Iulian Onofrei
8
11
  - Stefan Natchev
9
- - Andrew McBurney
10
- - Aaron Brager
11
12
  - Fumiya Nakamura
12
- - Daniel Jankowski
13
- - Kohki Miki
14
13
  - Jorge Revuelta H
15
- - Matthew Ellis
16
- - Luka Mirosevic
17
- - Iulian Onofrei
18
- - Danielle Tomlinson
19
- - Josh Holtz
20
- - Manu Wallner
21
- - Jimmy Dee
22
14
  - Helmut Januschka
23
- - Felix Krause
24
- - Jérôme Lacoste
15
+ - Manu Wallner
25
16
  - Olivier Halligon
17
+ - Danielle Tomlinson
18
+ - Jérôme Lacoste
19
+ - Matthew Ellis
26
20
  - Max Ott
27
- - Jan Piotrowski
21
+ - Aaron Brager
22
+ - Luka Mirosevic
23
+ - Andrew McBurney
28
24
  - Maksym Grebenets
25
+ - Daniel Jankowski
26
+ - Jan Piotrowski
27
+ - Kohki Miki
28
+ - Jimmy Dee
29
29
  autorequire:
30
30
  bindir: bin
31
31
  cert_chain: []
32
- date: 2020-03-04 00:00:00.000000000 Z
32
+ date: 2020-05-12 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: slack-notifier
@@ -359,30 +359,42 @@ dependencies:
359
359
  name: faraday
360
360
  requirement: !ruby/object:Gem::Requirement
361
361
  requirements:
362
- - - "~>"
362
+ - - ">="
363
363
  - !ruby/object:Gem::Version
364
364
  version: '0.17'
365
+ - - "<"
366
+ - !ruby/object:Gem::Version
367
+ version: '2.0'
365
368
  type: :runtime
366
369
  prerelease: false
367
370
  version_requirements: !ruby/object:Gem::Requirement
368
371
  requirements:
369
- - - "~>"
372
+ - - ">="
370
373
  - !ruby/object:Gem::Version
371
374
  version: '0.17'
375
+ - - "<"
376
+ - !ruby/object:Gem::Version
377
+ version: '2.0'
372
378
  - !ruby/object:Gem::Dependency
373
379
  name: faraday_middleware
374
380
  requirement: !ruby/object:Gem::Requirement
375
381
  requirements:
376
- - - "~>"
382
+ - - ">="
377
383
  - !ruby/object:Gem::Version
378
384
  version: 0.13.1
385
+ - - "<"
386
+ - !ruby/object:Gem::Version
387
+ version: '2.0'
379
388
  type: :runtime
380
389
  prerelease: false
381
390
  version_requirements: !ruby/object:Gem::Requirement
382
391
  requirements:
383
- - - "~>"
392
+ - - ">="
384
393
  - !ruby/object:Gem::Version
385
394
  version: 0.13.1
395
+ - - "<"
396
+ - !ruby/object:Gem::Version
397
+ version: '2.0'
386
398
  - !ruby/object:Gem::Dependency
387
399
  name: fastimage
388
400
  requirement: !ruby/object:Gem::Requirement
@@ -668,19 +680,19 @@ dependencies:
668
680
  - !ruby/object:Gem::Version
669
681
  version: '2.0'
670
682
  - !ruby/object:Gem::Dependency
671
- name: aws-sdk
683
+ name: aws-sdk-s3
672
684
  requirement: !ruby/object:Gem::Requirement
673
685
  requirements:
674
686
  - - "~>"
675
687
  - !ruby/object:Gem::Version
676
- version: '2.3'
688
+ version: '1.0'
677
689
  type: :runtime
678
690
  prerelease: false
679
691
  version_requirements: !ruby/object:Gem::Requirement
680
692
  requirements:
681
693
  - - "~>"
682
694
  - !ruby/object:Gem::Version
683
- version: '2.3'
695
+ version: '1.0'
684
696
  - !ruby/object:Gem::Dependency
685
697
  name: rake
686
698
  requirement: !ruby/object:Gem::Requirement
@@ -1016,9 +1028,6 @@ files:
1016
1028
  - fastlane/lib/fastlane.rb
1017
1029
  - fastlane/lib/fastlane/action.rb
1018
1030
  - 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
1022
1031
  - fastlane/lib/fastlane/actions/README.md
1023
1032
  - fastlane/lib/fastlane/actions/actions_helper.rb
1024
1033
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1227,6 +1236,7 @@ files:
1227
1236
  - fastlane/lib/fastlane/actions/unlock_keychain.rb
1228
1237
  - fastlane/lib/fastlane/actions/update_app_group_identifiers.rb
1229
1238
  - fastlane/lib/fastlane/actions/update_app_identifier.rb
1239
+ - fastlane/lib/fastlane/actions/update_code_signing_settings.rb
1230
1240
  - fastlane/lib/fastlane/actions/update_fastlane.rb
1231
1241
  - fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb
1232
1242
  - fastlane/lib/fastlane/actions/update_info_plist.rb
@@ -1279,6 +1289,7 @@ files:
1279
1289
  - fastlane/lib/fastlane/helper/gem_helper.rb
1280
1290
  - fastlane/lib/fastlane/helper/git_helper.rb
1281
1291
  - fastlane/lib/fastlane/helper/gradle_helper.rb
1292
+ - fastlane/lib/fastlane/helper/lane_helper.rb
1282
1293
  - fastlane/lib/fastlane/helper/podspec_helper.rb
1283
1294
  - fastlane/lib/fastlane/helper/s3_client_helper.rb
1284
1295
  - fastlane/lib/fastlane/helper/sh_helper.rb
@@ -1351,7 +1362,6 @@ files:
1351
1362
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
1352
1363
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
1353
1364
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
1354
- - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
1355
1365
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
1356
1366
  - fastlane/swift/FastlaneSwiftRunner/README.txt
1357
1367
  - fastlane/swift/Gymfile.swift
@@ -1508,7 +1518,6 @@ files:
1508
1518
  - pem/lib/pem/options.rb
1509
1519
  - pilot/README.md
1510
1520
  - pilot/lib/pilot.rb
1511
- - pilot/lib/pilot/.manager.rb.swp
1512
1521
  - pilot/lib/pilot/build_manager.rb
1513
1522
  - pilot/lib/pilot/commands_generator.rb
1514
1523
  - pilot/lib/pilot/features.rb
@@ -1641,7 +1650,6 @@ files:
1641
1650
  - spaceship/lib/spaceship/client.rb
1642
1651
  - spaceship/lib/spaceship/commands_generator.rb
1643
1652
  - spaceship/lib/spaceship/connect_api.rb
1644
- - spaceship/lib/spaceship/connect_api/.DS_Store
1645
1653
  - spaceship/lib/spaceship/connect_api/client.rb
1646
1654
  - spaceship/lib/spaceship/connect_api/model.rb
1647
1655
  - spaceship/lib/spaceship/connect_api/models/app.rb
@@ -1684,7 +1692,6 @@ files:
1684
1692
  - spaceship/lib/spaceship/launcher.rb
1685
1693
  - spaceship/lib/spaceship/module.rb
1686
1694
  - spaceship/lib/spaceship/playground.rb
1687
- - spaceship/lib/spaceship/portal/.certificate.rb.swp
1688
1695
  - spaceship/lib/spaceship/portal/app.rb
1689
1696
  - spaceship/lib/spaceship/portal/app_group.rb
1690
1697
  - spaceship/lib/spaceship/portal/app_service.rb
@@ -1777,6 +1784,7 @@ files:
1777
1784
  - spaceship/lib/spaceship/ui.rb
1778
1785
  - supply/README.md
1779
1786
  - supply/lib/supply.rb
1787
+ - supply/lib/supply/.client.rb.swp
1780
1788
  - supply/lib/supply/apk_listing.rb
1781
1789
  - supply/lib/supply/client.rb
1782
1790
  - supply/lib/supply/commands_generator.rb
@@ -1817,14 +1825,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1817
1825
  requirements:
1818
1826
  - - ">="
1819
1827
  - !ruby/object:Gem::Version
1820
- version: 2.0.0
1828
+ version: '2.4'
1821
1829
  required_rubygems_version: !ruby/object:Gem::Requirement
1822
1830
  requirements:
1823
1831
  - - ">="
1824
1832
  - !ruby/object:Gem::Version
1825
1833
  version: '0'
1826
1834
  requirements: []
1827
- rubygems_version: 3.0.3
1835
+ rubygems_version: 3.0.6
1828
1836
  signing_key:
1829
1837
  specification_version: 4
1830
1838
  summary: The easiest way to automate beta deployments and releases for your iOS and