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.87.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.87.0.beta.20180323050014 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.87.0.beta.20180322050115 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.2 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.87.0.beta.20180321050017 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.1 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.87.0.beta.20180320050108 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180319050058 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180318050106 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180317050040 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180316050051 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180315050105 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180314050053 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180313050023 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180312050111 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180311050103 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180310050010 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.86.0.beta.20180309050025 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.85.0 fastlane/lib/fastlane/actions/opt_out_usage.rb