Sha256: d9671ec0bd2105e15652b5e7a39fa80e3ab7a53009490574f052e9719cc24d0b

Contents?: true

Size: 850 Bytes

Versions: 178

Compression:

Stored size: 850 Bytes

Contents

require_relative 'app_identifier_guesser'

module FastlaneCore
  class ActionCompletionStatus
    SUCCESS = 'success'
    FAILED = 'failed' # fastlane crashes unrelated to user_error!
    USER_ERROR = 'user_error' # Anytime a user_error! is triggered
    INTERRUPTED = 'interrupted'
  end

  class ActionCompletionContext
    attr_accessor :p_hash
    attr_accessor :action_name
    attr_accessor :status

    def initialize(p_hash: nil, action_name: nil, status: nil)
      @p_hash = p_hash
      @action_name = action_name
      @status = status
    end

    def self.context_for_action_name(action_name, args: nil, status: nil)
      app_id_guesser = FastlaneCore::AppIdentifierGuesser.new(args: args)
      return self.new(
        action_name: action_name,
        p_hash: app_id_guesser.p_hash,
        status: status
      )
    end
  end
end

Version data entries

178 entries across 178 versions & 1 rubygems

Version Path
fastlane-2.90.0 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180412050111 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180411050056 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180410050128 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180409050033 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180408050113 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180407050037 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180406050006 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180405050125 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180404050031 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.90.0.beta.20180403050108 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0.beta.20180402050042 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0.beta.20180401050120 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0.beta.20180331050023 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0.beta.20180330050046 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0.beta.20180329050050 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.89.0.beta.20180328050040 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.88.0 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
fastlane-2.88.0.beta.20180327050037 fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb