Class: Fastlane::ActionCollector

Inherits:
FastlaneCore::ToolCollector
  • Object
show all
Defined in:
lib/fastlane/action_collector.rb

Instance Method Summary collapse

Instance Method Details

#determine_version(name) ⇒ Object



17
18
19
# File 'lib/fastlane/action_collector.rb', line 17

def determine_version(name)
  super(name) || Fastlane::VERSION
end

#is_official?(name) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
6
# File 'lib/fastlane/action_collector.rb', line 3

def is_official?(name)
  return true if name == :lane_switch
  Actions.get_all_official_actions.include? name
end

#show_messageObject



8
9
10
11
12
13
14
15
# File 'lib/fastlane/action_collector.rb', line 8

def show_message
  UI.message("Sending Crash/Success information. More information on: https://github.com/fastlane/enhancer")
  UI.message("No personal/sensitive data is sent. Only sharing the following:")
  UI.message(launches)
  UI.message(@error) if @error
  UI.message("This information is used to fix failing actions and improve integrations that are often used.")
  UI.message("You can disable this by adding `opt_out_usage` to your Fastfile")
end