fastlane 2.142.0 → 2.146.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +80 -80
  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/fastlane/actions/automatic_code_signing.rb +7 -1
  8. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +3 -0
  9. data/fastlane/lib/fastlane/actions/crashlytics.rb +14 -2
  10. data/fastlane/lib/fastlane/actions/create_pull_request.rb +7 -1
  11. data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +10 -4
  12. data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +22 -6
  13. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +23 -7
  14. data/fastlane/lib/fastlane/actions/frame_screenshots.rb +2 -1
  15. data/fastlane/lib/fastlane/actions/get_version_number.rb +1 -1
  16. data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +7 -1
  17. data/fastlane/lib/fastlane/actions/s3.rb +3 -289
  18. data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -1
  19. data/fastlane/lib/fastlane/actions/setup_jenkins.rb +11 -2
  20. data/fastlane/lib/fastlane/actions/slather.rb +1 -1
  21. data/fastlane/lib/fastlane/actions/swiftlint.rb +28 -7
  22. data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +203 -0
  23. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -1
  24. data/fastlane/lib/fastlane/actions/verify_build.rb +1 -1
  25. data/fastlane/lib/fastlane/helper/s3_client_helper.rb +61 -0
  26. data/fastlane/lib/fastlane/version.rb +1 -1
  27. data/fastlane/swift/Deliverfile.swift +1 -1
  28. data/fastlane/swift/Fastlane.swift +147 -8
  29. data/fastlane/swift/Gymfile.swift +1 -1
  30. data/fastlane/swift/Matchfile.swift +1 -1
  31. data/fastlane/swift/MatchfileProtocol.swift +17 -1
  32. data/fastlane/swift/Precheckfile.swift +1 -1
  33. data/fastlane/swift/Scanfile.swift +1 -1
  34. data/fastlane/swift/ScanfileProtocol.swift +5 -1
  35. data/fastlane/swift/Screengrabfile.swift +1 -1
  36. data/fastlane/swift/Snapshotfile.swift +1 -1
  37. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +9 -0
  38. data/fastlane_core/lib/fastlane_core/device_manager.rb +3 -3
  39. data/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb +1 -0
  40. data/fastlane_core/lib/fastlane_core/provisioning_profile.rb +15 -2
  41. data/frameit/lib/frameit/commands_generator.rb +25 -0
  42. data/frameit/lib/frameit/config_parser.rb +31 -9
  43. data/frameit/lib/frameit/device.rb +90 -0
  44. data/frameit/lib/frameit/device_types.rb +121 -5
  45. data/frameit/lib/frameit/editor.rb +29 -41
  46. data/frameit/lib/frameit/offsets.rb +8 -1
  47. data/frameit/lib/frameit/options.rb +81 -54
  48. data/frameit/lib/frameit/runner.rb +17 -7
  49. data/frameit/lib/frameit/screenshot.rb +39 -47
  50. data/frameit/lib/frameit/template_finder.rb +15 -12
  51. data/gym/lib/gym/generators/package_command_generator.rb +4 -0
  52. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +5 -0
  53. data/gym/lib/gym/runner.rb +14 -0
  54. data/match/lib/match/change_password.rb +1 -1
  55. data/match/lib/match/encryption.rb +4 -0
  56. data/match/lib/match/importer.rb +37 -20
  57. data/match/lib/match/module.rb +1 -1
  58. data/match/lib/match/nuke.rb +5 -1
  59. data/match/lib/match/options.rb +18 -0
  60. data/match/lib/match/runner.rb +4 -0
  61. data/match/lib/match/setup.rb +1 -1
  62. data/match/lib/match/storage.rb +4 -0
  63. data/match/lib/match/storage/s3_storage.rb +167 -0
  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 +5 -0
  70. data/scan/lib/scan/test_command_generator.rb +5 -1
  71. data/screengrab/lib/screengrab/runner.rb +12 -4
  72. data/snapshot/lib/snapshot/reports_generator.rb +4 -0
  73. data/spaceship/lib/spaceship/connect_api/models/app.rb +11 -0
  74. data/spaceship/lib/spaceship/connect_api/models/build.rb +1 -2
  75. data/spaceship/lib/spaceship/connect_api/models/certificate.rb +2 -0
  76. data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +23 -0
  77. data/spaceship/lib/spaceship/portal/app_service.rb +2 -2
  78. data/spaceship/lib/spaceship/portal/portal_client.rb +13 -0
  79. data/spaceship/lib/spaceship/tunes/app_version.rb +6 -1
  80. data/spaceship/lib/spaceship/tunes/application.rb +2 -1
  81. data/spaceship/lib/spaceship/tunes/tunes_client.rb +2 -2
  82. data/spaceship/lib/spaceship/two_step_or_factor_client.rb +52 -16
  83. data/supply/lib/supply/client.rb +4 -4
  84. data/supply/lib/supply/setup.rb +5 -3
  85. metadata +34 -17
  86. data/gym/lib/gym/.code_signing_mapping.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.142.0
4
+ version: 2.146.1
5
5
  platform: ruby
6
6
  authors:
7
- - Manu Wallner
8
- - Josh Holtz
7
+ - Jérôme Lacoste
9
8
  - Iulian Onofrei
10
9
  - Luka Mirosevic
11
- - Danielle Tomlinson
12
- - Joshua Liebowitz
13
- - Jérôme Lacoste
14
- - Fumiya Nakamura
15
- - Aaron Brager
16
- - Felix Krause
17
- - Olivier Halligon
18
10
  - Matthew Ellis
19
- - Daniel Jankowski
11
+ - Helmut Januschka
12
+ - Manu Wallner
13
+ - Olivier Halligon
14
+ - Aaron Brager
15
+ - Jan Piotrowski
16
+ - Kohki Miki
20
17
  - Maksym Grebenets
18
+ - Felix Krause
19
+ - Josh Holtz
21
20
  - Max Ott
22
- - Kohki Miki
21
+ - Danielle Tomlinson
22
+ - Daniel Jankowski
23
23
  - Jimmy Dee
24
- - Stefan Natchev
25
- - Helmut Januschka
24
+ - Fumiya Nakamura
26
25
  - Andrew McBurney
27
- - Jan Piotrowski
26
+ - Stefan Natchev
27
+ - Joshua Liebowitz
28
28
  - Jorge Revuelta H
29
29
  autorequire:
30
30
  bindir: bin
31
31
  cert_chain: []
32
- date: 2020-02-18 00:00:00.000000000 Z
32
+ date: 2020-04-22 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-s3
672
+ requirement: !ruby/object:Gem::Requirement
673
+ requirements:
674
+ - - "~>"
675
+ - !ruby/object:Gem::Version
676
+ version: '1.0'
677
+ type: :runtime
678
+ prerelease: false
679
+ version_requirements: !ruby/object:Gem::Requirement
680
+ requirements:
681
+ - - "~>"
682
+ - !ruby/object:Gem::Version
683
+ version: '1.0'
670
684
  - !ruby/object:Gem::Dependency
671
685
  name: rake
672
686
  requirement: !ruby/object:Gem::Requirement
@@ -1210,6 +1224,7 @@ files:
1210
1224
  - fastlane/lib/fastlane/actions/unlock_keychain.rb
1211
1225
  - fastlane/lib/fastlane/actions/update_app_group_identifiers.rb
1212
1226
  - fastlane/lib/fastlane/actions/update_app_identifier.rb
1227
+ - fastlane/lib/fastlane/actions/update_code_signing_settings.rb
1213
1228
  - fastlane/lib/fastlane/actions/update_fastlane.rb
1214
1229
  - fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb
1215
1230
  - fastlane/lib/fastlane/actions/update_info_plist.rb
@@ -1263,6 +1278,7 @@ files:
1263
1278
  - fastlane/lib/fastlane/helper/git_helper.rb
1264
1279
  - fastlane/lib/fastlane/helper/gradle_helper.rb
1265
1280
  - fastlane/lib/fastlane/helper/podspec_helper.rb
1281
+ - fastlane/lib/fastlane/helper/s3_client_helper.rb
1266
1282
  - fastlane/lib/fastlane/helper/sh_helper.rb
1267
1283
  - fastlane/lib/fastlane/helper/xcodeproj_helper.rb
1268
1284
  - fastlane/lib/fastlane/helper/xcversion_helper.rb
@@ -1422,6 +1438,7 @@ files:
1422
1438
  - frameit/lib/frameit/commands_generator.rb
1423
1439
  - frameit/lib/frameit/config_parser.rb
1424
1440
  - frameit/lib/frameit/dependency_checker.rb
1441
+ - frameit/lib/frameit/device.rb
1425
1442
  - frameit/lib/frameit/device_types.rb
1426
1443
  - frameit/lib/frameit/editor.rb
1427
1444
  - frameit/lib/frameit/frame_downloader.rb
@@ -1439,7 +1456,6 @@ files:
1439
1456
  - gym/lib/assets/GymfileTemplate.swift
1440
1457
  - gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh
1441
1458
  - gym/lib/gym.rb
1442
- - gym/lib/gym/.code_signing_mapping.rb.swp
1443
1459
  - gym/lib/gym/code_signing_mapping.rb
1444
1460
  - gym/lib/gym/commands_generator.rb
1445
1461
  - gym/lib/gym/detect_values.rb
@@ -1478,6 +1494,7 @@ files:
1478
1494
  - match/lib/match/storage/git_storage.rb
1479
1495
  - match/lib/match/storage/google_cloud_storage.rb
1480
1496
  - match/lib/match/storage/interface.rb
1497
+ - match/lib/match/storage/s3_storage.rb
1481
1498
  - match/lib/match/table_printer.rb
1482
1499
  - match/lib/match/utils.rb
1483
1500
  - pem/README.md