Module: Match
- Defined in:
- match/lib/match/nuke.rb,
match/lib/match/setup.rb,
match/lib/match/utils.rb,
match/lib/match/module.rb,
match/lib/match/runner.rb,
match/lib/match/migrate.rb,
match/lib/match/options.rb,
match/lib/match/storage.rb,
match/lib/match/importer.rb,
match/lib/match/generator.rb,
match/lib/match/encryption.rb,
match/lib/match/portal_cache.rb,
match/lib/match/table_printer.rb,
match/lib/match/portal_fetcher.rb,
match/lib/match/change_password.rb,
match/lib/match/profile_includes.rb,
match/lib/match/spaceship_ensure.rb,
match/lib/match/storage/interface.rb,
match/lib/match/commands_generator.rb,
match/lib/match/encryption/openssl.rb,
match/lib/match/storage/s3_storage.rb,
match/lib/match/storage/git_storage.rb,
match/lib/match/encryption/interface.rb,
match/lib/match/encryption/encryption.rb,
match/lib/match/storage/gitlab/client.rb,
match/lib/match/storage/gitlab/secure_file.rb,
match/lib/match/storage/gitlab_secure_files.rb,
match/lib/match/storage/google_cloud_storage.rb
Defined Under Namespace
Modules: Encryption, Storage Classes: ChangePassword, CommandsGenerator, Generator, Importer, Migrate, Nuke, Options, Portal, ProfileIncludes, Runner, Setup, SpaceshipEnsure, TablePrinter, Utils
Constant Summary collapse
- Helper =
you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
FastlaneCore::Helper
- UI =
FastlaneCore::UI
- Boolean =
Fastlane::Boolean
- ROOT =
Pathname.new(File.('../../..', __FILE__))
- DESCRIPTION =
"Easily sync your certificates and profiles across your team"
Class Method Summary collapse
- .cert_type_sym(type) ⇒ Object
- .environments ⇒ Object
- .profile_type_sym(type) ⇒ Object
-
.profile_types(prov_type) ⇒ Object
Converts provisioning profile type (i.e. development, enterprise) to an array of profile types That can be used for filtering when using Spaceship::ConnectAPI::Profile API.
- .storage_modes ⇒ Object
Class Method Details
.cert_type_sym(type) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'match/lib/match/module.rb', line 25 def self.cert_type_sym(type) # To determine certificate types to fetch from the portal, we use `Sigh.certificate_types_for_profile_and_platform`, and it returns typed `Spaceship::ConnectAPI::Certificate::CertificateType` with the same values but uppercased, so we downcase them here type = type.to_s.downcase return :mac_installer_distribution if type == "mac_installer_distribution" return :developer_id_installer if type == "developer_id_installer" return :developer_id_application if type == "developer_id" return :enterprise if type == "enterprise" return :development if type == "development" return :distribution if ["adhoc", "appstore", "distribution"].include?(type) raise "Unknown cert type: '#{type}'" end |
.environments ⇒ Object
13 14 15 |
# File 'match/lib/match/module.rb', line 13 def self.environments return %w(appstore adhoc development enterprise developer_id mac_installer_distribution developer_id_installer) end |
.profile_type_sym(type) ⇒ Object
21 22 23 |
# File 'match/lib/match/module.rb', line 21 def self.profile_type_sym(type) return type.to_sym end |
.profile_types(prov_type) ⇒ Object
Converts provisioning profile type (i.e. development, enterprise) to an array of profile types That can be used for filtering when using Spaceship::ConnectAPI::Profile API
.storage_modes ⇒ Object
17 18 19 |
# File 'match/lib/match/module.rb', line 17 def self.storage_modes return %w(git google_cloud s3 gitlab_secure_files) end |