Sha256: 50593f5cc7f1ccbbb13e13043579214636ecf85af98f447574560527f6aa56e8
Contents?: true
Size: 945 Bytes
Versions: 33
Compression:
Stored size: 945 Bytes
Contents
$lib = File.expand_path('../', File.dirname(__FILE__)) require "pathname" require "Helper" require "openssl" class AppleConfig attr_accessor :keyContent, :keyID, :issueID, :appID, :baseExecutePath def initialize(configYMLObj, configFilePath, baseExecutePath) keyFilePath = Helper.unwrapRequiredParameter(configYMLObj,"appStoreConnectP8PrivateKeyFilePath") if Pathname.new(keyFilePath).absolute? configDir = File.dirname(configFilePath) keyFilePath = "#{configDir}#{keyFilePath}" end keyFile = File.read(keyFilePath) @keyContent = OpenSSL::PKey::EC.new(keyFile) @baseExecutePath = baseExecutePath @keyID = Helper.unwrapRequiredParameter(configYMLObj,"appStoreConnectP8PrivateKeyID") @issueID = Helper.unwrapRequiredParameter(configYMLObj,"appStoreConnectIssueID") @appID = Helper.unwrapRequiredParameter(configYMLObj,"appID") end end
Version data entries
33 entries across 33 versions & 1 rubygems