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.94.0.beta.20180425050017 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.1 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.94.0.beta.20180424050050 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180423050019 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180422050034 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180421050012 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180420050021 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180419050008 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180418050020 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.92.1 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.93.0.beta.20180417050013 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.92.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.92.0.beta.20180416050023 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.92.0.beta.20180415050019 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.92.0.beta.20180414050023 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.91.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.91.0.beta.20180413050017 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.90.0 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.90.0.beta.20180412050111 fastlane/lib/fastlane/actions/opt_out_usage.rb