match/lib/match/generator.rb in fastlane-2.74.0.beta.20180106010004 vs match/lib/match/generator.rb in fastlane-2.74.0.beta.20180107010004
- old
+ new
@@ -1,10 +1,14 @@
+require_relative 'module'
+
module Match
# Generate missing resources
class Generator
def self.generate_certificate(params, cert_type)
- require 'cert'
+ require 'cert/runner'
+ require 'cert/options'
+
output_path = File.join(params[:workspace], "certs", cert_type.to_s)
arguments = FastlaneCore::Configuration.create(Cert::Options.available_options, {
development: params[:type] == "development",
output_path: output_path,
@@ -35,10 +39,11 @@
return cert_path
end
# @return (String) The UUID of the newly generated profile
def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil, app_identifier: nil)
- require 'sigh'
+ require 'sigh/manager'
+ require 'sigh/options'
prov_type = Match.profile_type_sym(params[:type])
names = ["match", profile_type_name(prov_type), app_identifier]