Class: Fastlane::Actions::OptOutUsageAction

Inherits:
Fastlane::Action show all
Defined in:
lib/fastlane/actions/opt_out_usage.rb

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, authors, available_options, method_missing, other_action, output, return_value, sh, step_text

Class Method Details

.authorObject



22
23
24
# File 'lib/fastlane/actions/opt_out_usage.rb', line 22

def self.author
  "KrauseFx"
end

.descriptionObject



9
10
11
# File 'lib/fastlane/actions/opt_out_usage.rb', line 9

def self.description
  "This will stop uploading the information which actions were run"
end

.detailsObject



13
14
15
16
17
18
19
20
# File 'lib/fastlane/actions/opt_out_usage.rb', line 13

def self.details
  [
    "By default, fastlane will share the used actions. ",
    "No personal information is shard. More information available on ",
    "https://github.com/fastlane/enhancer\n",
    "Using this action you can opt out"
  ].join('')
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/fastlane/actions/opt_out_usage.rb', line 26

def self.is_supported?(platform)
  true
end

.run(params) ⇒ Object



4
5
6
7
# File 'lib/fastlane/actions/opt_out_usage.rb', line 4

def self.run(params)
  ENV['FASTLANE_OPT_OUT_USAGE'] = "YES"
  UI.message("Disabled upload of used actions")
end