fastlane 2.174.0 → 2.175.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +74 -74
  3. data/cert/lib/cert/options.rb +2 -2
  4. data/deliver/lib/deliver/options.rb +2 -2
  5. data/deliver/lib/deliver/upload_screenshots.rb +2 -1
  6. data/fastlane/lib/fastlane/actions/adb.rb +1 -1
  7. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +2 -2
  8. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +1 -1
  9. data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +1 -1
  10. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +8 -2
  11. data/fastlane/lib/fastlane/actions/download_dsyms.rb +5 -15
  12. data/fastlane/lib/fastlane/actions/git_commit.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +2 -2
  14. data/fastlane/lib/fastlane/actions/register_device.rb +2 -2
  15. data/fastlane/lib/fastlane/actions/register_devices.rb +2 -2
  16. data/fastlane/lib/fastlane/actions/set_changelog.rb +2 -2
  17. data/fastlane/lib/fastlane/actions/swiftlint.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +1 -1
  19. data/fastlane/lib/fastlane/documentation/actions_list.rb +2 -2
  20. data/fastlane/lib/fastlane/helper/adb_helper.rb +1 -1
  21. data/fastlane/lib/fastlane/helper/gem_helper.rb +2 -2
  22. data/fastlane/lib/fastlane/version.rb +1 -1
  23. data/fastlane/swift/Deliverfile.swift +1 -1
  24. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  25. data/fastlane/swift/Fastlane.swift +4 -4
  26. data/fastlane/swift/Gymfile.swift +1 -1
  27. data/fastlane/swift/GymfileProtocol.swift +1 -1
  28. data/fastlane/swift/Matchfile.swift +1 -1
  29. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  30. data/fastlane/swift/Precheckfile.swift +1 -1
  31. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  32. data/fastlane/swift/Scanfile.swift +1 -1
  33. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  34. data/fastlane/swift/Screengrabfile.swift +1 -1
  35. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  36. data/fastlane/swift/Snapshotfile.swift +1 -1
  37. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  38. data/fastlane/swift/formatting/Brewfile.lock.json +4 -2
  39. data/fastlane_core/lib/fastlane_core/command_executor.rb +3 -9
  40. data/fastlane_core/lib/fastlane_core/configuration/commander_generator.rb +1 -1
  41. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +23 -0
  42. data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +2 -4
  43. data/fastlane_core/lib/fastlane_core/helper.rb +26 -5
  44. data/fastlane_core/lib/fastlane_core/keychain_importer.rb +1 -1
  45. data/fastlane_core/lib/fastlane_core/update_checker/update_checker.rb +2 -2
  46. data/match/lib/match/nuke.rb +5 -0
  47. data/match/lib/match/options.rb +2 -2
  48. data/pilot/lib/pilot/options.rb +2 -2
  49. data/precheck/lib/precheck/options.rb +2 -2
  50. data/screengrab/lib/screengrab/android_environment.rb +2 -2
  51. data/sigh/lib/sigh/options.rb +2 -2
  52. data/spaceship/README.md +2 -2
  53. data/spaceship/lib/spaceship/connect_api/token.rb +1 -1
  54. data/spaceship/lib/spaceship/playground.rb +2 -2
  55. data/spaceship/lib/spaceship/tunes/tunes_client.rb +2 -2
  56. metadata +32 -18
@@ -63,7 +63,7 @@ module FastlaneCore
63
63
  if !Helper.bundler? && !Helper.contained_fastlane? && Random.rand(5) == 1
64
64
  # We want to show this message from time to time, if the user doesn't use bundler, nor bundled fastlane
65
65
  puts('#######################################################################')
66
- puts("# Run `sudo gem cleanup` from time to time to speed up fastlane")
66
+ puts("# Run `gem cleanup` from time to time to speed up fastlane")
67
67
  end
68
68
  puts('#######################################################################')
69
69
  Changelog.show_changes(gem_name, current_version, update_gem_command: UpdateChecker.update_command(gem_name: gem_name)) unless FastlaneCore::Env.truthy?("FASTLANE_HIDE_CHANGELOG")
@@ -80,7 +80,7 @@ module FastlaneCore
80
80
  elsif Helper.mac_app?
81
81
  "the Fabric app. Launch the app and navigate to the fastlane tab to get the most recent version."
82
82
  else
83
- "sudo gem install #{gem_name.downcase}"
83
+ "gem install #{gem_name.downcase}"
84
84
  end
85
85
  end
86
86
 
@@ -36,6 +36,11 @@ module Match
36
36
  git_branch: params[:git_branch],
37
37
  git_full_name: params[:git_full_name],
38
38
  git_user_email: params[:git_user_email],
39
+
40
+ git_private_key: params[:git_private_key],
41
+ git_basic_authorization: params[:git_basic_authorization],
42
+ git_bearer_authorization: params[:git_bearer_authorization],
43
+
39
44
  clone_branch_directly: params[:clone_branch_directly],
40
45
  google_cloud_bucket_name: params[:google_cloud_bucket_name].to_s,
41
46
  google_cloud_keys_file: params[:google_cloud_keys_file].to_s,
@@ -74,7 +74,7 @@ module Match
74
74
 
75
75
  # App Store Connect API
76
76
  FastlaneCore::ConfigItem.new(key: :api_key_path,
77
- env_name: "SIGH_API_KEY_PATH",
77
+ env_names: ["SIGH_API_KEY_PATH", "APP_STORE_CONNECT_API_KEY_PATH"],
78
78
  description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
79
79
  optional: true,
80
80
  conflicting_options: [:api_key],
@@ -82,7 +82,7 @@ module Match
82
82
  UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
83
83
  end),
84
84
  FastlaneCore::ConfigItem.new(key: :api_key,
85
- env_name: "SIGH_API_KEY",
85
+ env_names: ["SIGH_API_KEY", "APP_STORE_CONNECT_API_KEY"],
86
86
  description: "Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)",
87
87
  type: Hash,
88
88
  optional: true,
@@ -11,7 +11,7 @@ module Pilot
11
11
 
12
12
  [
13
13
  FastlaneCore::ConfigItem.new(key: :api_key_path,
14
- env_name: "PILOT_API_KEY_PATH",
14
+ env_names: ["PILOT_API_KEY_PATH", "APP_STORE_CONNECT_API_KEY_PATH"],
15
15
  description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
16
16
  optional: true,
17
17
  conflicting_options: [:username],
@@ -19,7 +19,7 @@ module Pilot
19
19
  UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
20
20
  end),
21
21
  FastlaneCore::ConfigItem.new(key: :api_key,
22
- env_name: "PILOT_API_KEY",
22
+ env_names: ["PILOT_API_KEY", "APP_STORE_CONNECT_API_KEY"],
23
23
  description: "Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)",
24
24
  type: Hash,
25
25
  optional: true,
@@ -26,7 +26,7 @@ module Precheck
26
26
 
27
27
  [
28
28
  FastlaneCore::ConfigItem.new(key: :api_key_path,
29
- env_name: "PRECHECK_API_KEY_PATH",
29
+ env_names: ["PRECHECK_API_KEY_PATH", "APP_STORE_CONNECT_API_KEY_PATH"],
30
30
  description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
31
31
  optional: true,
32
32
  conflicting_options: [:username],
@@ -34,7 +34,7 @@ module Precheck
34
34
  UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
35
35
  end),
36
36
  FastlaneCore::ConfigItem.new(key: :api_key,
37
- env_name: "PRECHECK_API_KEY",
37
+ env_names: ["PRECHECK_API_KEY", "APP_STORE_CONNECT_API_KEY"],
38
38
  description: "Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)",
39
39
  type: Hash,
40
40
  optional: true,
@@ -73,14 +73,14 @@ module Screengrab
73
73
  def find_adb(platform_tools_path)
74
74
  return FastlaneCore::CommandExecutor.which('adb') unless platform_tools_path
75
75
 
76
- adb_path = File.join(platform_tools_path, 'adb')
76
+ adb_path = Helper.get_executable_path(File.join(platform_tools_path, 'adb'))
77
77
  return executable_command?(adb_path) ? adb_path : nil
78
78
  end
79
79
 
80
80
  def find_aapt(build_tools_path)
81
81
  return FastlaneCore::CommandExecutor.which('aapt') unless build_tools_path
82
82
 
83
- aapt_path = File.join(build_tools_path, 'aapt')
83
+ aapt_path = Helper.get_executable_path(File.join(build_tools_path, 'aapt'))
84
84
  return executable_command?(aapt_path) ? aapt_path : nil
85
85
  end
86
86
 
@@ -57,7 +57,7 @@ module Sigh
57
57
 
58
58
  # App Store Connect API
59
59
  FastlaneCore::ConfigItem.new(key: :api_key_path,
60
- env_name: "SIGH_API_KEY_PATH",
60
+ env_names: ["SIGH_API_KEY_PATH", "APP_STORE_CONNECT_API_KEY_PATH"],
61
61
  description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
62
62
  optional: true,
63
63
  conflicting_options: [:api_key],
@@ -65,7 +65,7 @@ module Sigh
65
65
  UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
66
66
  end),
67
67
  FastlaneCore::ConfigItem.new(key: :api_key,
68
- env_name: "SIGH_API_KEY",
68
+ env_names: ["SIGH_API_KEY", "APP_STORE_CONNECT_API_KEY"],
69
69
  description: "Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)",
70
70
  type: Hash,
71
71
  optional: true,
data/spaceship/README.md CHANGED
@@ -83,7 +83,7 @@ Using spaceship, the execution time of [_sigh_](https://docs.fastlane.tools/acti
83
83
 
84
84
  _spaceship_ is part of _fastlane_:
85
85
 
86
- sudo gem install fastlane
86
+ gem install fastlane
87
87
 
88
88
  # Usage
89
89
 
@@ -93,7 +93,7 @@ To try _spaceship_, just run `fastlane spaceship`. It will automatically start t
93
93
 
94
94
  ![assets/docs/Playground.png](assets/docs/Playground.png)
95
95
 
96
- This requires you to install `pry` using `sudo gem install pry`. `pry` is not installed by default, as most [_fastlane_](https://fastlane.tools) users won't need the `spaceship playground`. You can add the `pry` dependency to your `Gemfile`.
96
+ This requires you to install `pry` using `gem install pry`. `pry` is not installed by default, as most [_fastlane_](https://fastlane.tools) users won't need the `spaceship playground`. You can add the `pry` dependency to your `Gemfile`.
97
97
 
98
98
  ## Apple Developer Portal API
99
99
 
@@ -40,7 +40,7 @@ module Spaceship
40
40
  self.create(json)
41
41
  end
42
42
 
43
- def self.create(key_id: nil, issuer_id: nil, filepath: nil, key: nil, is_key_content_base64: false, duration: nil, in_house: nil)
43
+ def self.create(key_id: nil, issuer_id: nil, filepath: nil, key: nil, is_key_content_base64: false, duration: nil, in_house: nil, **)
44
44
  key_id ||= ENV['SPACESHIP_CONNECT_API_KEY_ID']
45
45
  issuer_id ||= ENV['SPACESHIP_CONNECT_API_ISSUER_ID']
46
46
  filepath ||= ENV['SPACESHIP_CONNECT_API_KEY_FILEPATH']
@@ -13,8 +13,8 @@ module Spaceship
13
13
  rescue Gem::LoadError
14
14
  puts("Could not find gem 'pry'".red)
15
15
  puts("")
16
- puts("If you installed spaceship using `sudo gem install spaceship` run")
17
- puts(" sudo gem install pry".yellow)
16
+ puts("If you installed spaceship using `gem install spaceship` run")
17
+ puts(" gem install pry".yellow)
18
18
  puts("to install the missing gem")
19
19
  puts("")
20
20
  puts("If you use a Gemfile add this to your Gemfile:")
@@ -579,10 +579,10 @@ module Spaceship
579
579
  }
580
580
 
581
581
  r = request(:post) do |req|
582
- req.url("https://analytics.itunes.apple.com/analytics/api/v1/data/time-series")
582
+ req.url("https://appstoreconnect.apple.com/analytics/api/v1/data/time-series")
583
583
  req.body = data.to_json
584
584
  req.headers['Content-Type'] = 'application/json'
585
- req.headers['X-Requested-By'] = 'analytics.itunes.apple.com'
585
+ req.headers['X-Requested-By'] = 'appstoreconnect.apple.com'
586
586
  end
587
587
 
588
588
  data = parse_response(r)
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.174.0
4
+ version: 2.175.0
5
5
  platform: ruby
6
6
  authors:
7
+ - Joshua Liebowitz
7
8
  - Felix Krause
8
- - Stefan Natchev
9
9
  - Jorge Revuelta H
10
- - Matthew Ellis
11
- - Jimmy Dee
12
- - Andrew McBurney
13
- - Jérôme Lacoste
14
- - Kohki Miki
15
- - Helmut Januschka
10
+ - Iulian Onofrei
16
11
  - Jan Piotrowski
17
- - Daniel Jankowski
18
- - Danielle Tomlinson
12
+ - Manu Wallner
19
13
  - Max Ott
20
- - Josh Holtz
21
- - Iulian Onofrei
22
- - Joshua Liebowitz
23
- - Olivier Halligon
14
+ - Helmut Januschka
15
+ - Aaron Brager
16
+ - Jérôme Lacoste
17
+ - Luka Mirosevic
18
+ - Danielle Tomlinson
19
+ - Matthew Ellis
20
+ - Stefan Natchev
24
21
  - Fumiya Nakamura
22
+ - Olivier Halligon
23
+ - Andrew McBurney
25
24
  - Maksym Grebenets
26
- - Luka Mirosevic
27
- - Manu Wallner
28
- - Aaron Brager
25
+ - Josh Holtz
26
+ - Jimmy Dee
27
+ - Kohki Miki
28
+ - Daniel Jankowski
29
29
  autorequire:
30
30
  bindir: bin
31
31
  cert_chain: []
32
- date: 2021-02-10 00:00:00.000000000 Z
32
+ date: 2021-02-19 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: slack-notifier
@@ -477,6 +477,20 @@ dependencies:
477
477
  - - "<"
478
478
  - !ruby/object:Gem::Version
479
479
  version: 5.0.0
480
+ - !ruby/object:Gem::Dependency
481
+ name: naturally
482
+ requirement: !ruby/object:Gem::Requirement
483
+ requirements:
484
+ - - "~>"
485
+ - !ruby/object:Gem::Version
486
+ version: '2.2'
487
+ type: :runtime
488
+ prerelease: false
489
+ version_requirements: !ruby/object:Gem::Requirement
490
+ requirements:
491
+ - - "~>"
492
+ - !ruby/object:Gem::Version
493
+ version: '2.2'
480
494
  - !ruby/object:Gem::Dependency
481
495
  name: rubyzip
482
496
  requirement: !ruby/object:Gem::Requirement