Module: Sigh
- Defined in:
- sigh/lib/sigh/module.rb,
sigh/lib/sigh/repair.rb,
sigh/lib/sigh/resign.rb,
sigh/lib/sigh/runner.rb,
sigh/lib/sigh/manager.rb,
sigh/lib/sigh/options.rb,
sigh/lib/sigh/download_all.rb,
sigh/lib/sigh/local_manage.rb,
sigh/lib/sigh/commands_generator.rb
Defined Under Namespace
Classes: CommandsGenerator, DownloadAll, LocalManage, Manager, Options, Repair, Resign, Runner
Constant Summary collapse
- Helper =
you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
FastlaneCore::Helper
- UI =
FastlaneCore::UI
- ROOT =
Pathname.new(File.('../../..', __FILE__))
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
- .certificate_types_for_profile_and_platform(platform:, profile_type:) ⇒ Object
- .profile_pretty_type(profile_type) ⇒ Object
- .profile_type_for_config(platform:, in_house:, config:) ⇒ Object
- .profile_type_for_distribution_type(platform:, distribution_type:) ⇒ Object
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
7 8 9 |
# File 'sigh/lib/sigh/module.rb', line 7 def config @config end |
Class Method Details
.certificate_types_for_profile_and_platform(platform:, profile_type:) ⇒ Object
.profile_pretty_type(profile_type) ⇒ Object
.profile_type_for_config(platform:, in_house:, config:) ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'sigh/lib/sigh/module.rb', line 37 def profile_type_for_config(platform:, in_house:, config:) profile_type = nil case platform.to_s when "ios" profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_STORE profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_INHOUSE if in_house profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_ADHOC if config[:adhoc] profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_DEVELOPMENT if config[:development] when "tvos" profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_STORE profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_INHOUSE if in_house profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_ADHOC if config[:adhoc] profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_DEVELOPMENT if config[:development] when "macos" profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_APP_STORE profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_APP_INHOUSE if in_house profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_APP_DEVELOPMENT if config[:development] profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_APP_DIRECT if config[:developer_id] when "catalyst" profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_CATALYST_APP_STORE profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_CATALYST_APP_INHOUSE if in_house profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_CATALYST_APP_DEVELOPMENT if config[:development] profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_CATALYST_APP_DIRECT if config[:developer_id] end profile_type end |
.profile_type_for_distribution_type(platform:, distribution_type:) ⇒ Object
66 67 68 69 70 71 |
# File 'sigh/lib/sigh/module.rb', line 66 def profile_type_for_distribution_type(platform:, distribution_type:) config = { distribution_type.to_sym => true } in_house = distribution_type == "enterprise" self.profile_type_for_config(platform: platform, in_house: in_house, config: config) end |