Sha256: 872d2b8ce49a405754be364b3e9a3d15548bca207b79edca15746377bcdfbff8

Contents?: true

Size: 976 Bytes

Versions: 119

Compression:

Stored size: 976 Bytes

Contents

module Fastlane
  module Actions
    class OptOutUsageAction < Action
      def self.run(params)
        ENV['FASTLANE_OPT_OUT_USAGE'] = "YES"
        UI.message("Disabled upload of used actions")
      end

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

      def self.details
        [
          "By default, fastlane will track what actions are being used",
          "No personal/sensitive information is recorded.",
          "Learn more at https://docs.fastlane.tools/#metrics",
          "Add `opt_out_usage` at the top of your Fastfile to disable metrics collection"
        ].join(' ')
      end

      def self.author
        "KrauseFx"
      end

      def self.is_supported?(platform)
        true
      end

      def self.example_code
        [
          'opt_out_usage # add this to the top of your Fastfile'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
fastlane-2.85.0.beta.20180308050114 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0.beta.20180307050101 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0.beta.20180306050019 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0.beta.20180305050037 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0.beta.20180304050031 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0.beta.20180303050048 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0.beta.20180302050035 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.84.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.84.0.beta.20180301050048 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.84.0.beta.20180228050122 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.84.0.beta.20180227050054 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.83.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.83.0.beta.20180226050016 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.83.0.beta.20180225050035 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.83.0.beta.20180224050047 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.82.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.82.0.beta.20180223010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.82.0.beta.20180222010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.82.0.beta.20180221010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.82.0.beta.20180220010002 fastlane/lib/fastlane/actions/opt_out_usage.rb