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.80.0.beta.20180201010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.80.0.beta.20180131010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.80.0.beta.20180130010002 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180129010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180128010002 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180127010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180126010002 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180125010002 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180124010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.79.0.beta.20180123010002 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.78.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.78.0.beta.20180122010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.78.0.beta.20180121010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.78.0.beta.20180120010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.78.0.beta.20180119010003 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.77.1 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.77.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.77.0.beta.20180118010004 fastlane/lib/fastlane/actions/opt_out_usage.rb