Sha256: cf3f1230f91c02d3ff03343797ed4f4aae8bcfdfb5f626ab0588fabbc8a18d68

Contents?: true

Size: 1.12 KB

Versions: 104

Compression:

Stored size: 1.12 KB

Contents

require 'fastlane/boolean'

require_relative 'analytics/analytics_session'

module FastlaneCore
  ROOT = Pathname.new(File.expand_path('../../..', __FILE__))
  Boolean = Fastlane::Boolean

  # Session is used to report usage metrics.
  # If you opt out, we will not send anything.
  # You can confirm this by observing how we use the environment variable: FASTLANE_OPT_OUT_USAGE
  # Specifically, in AnalyticsSession.finalize_session
  # Learn more at https://docs.fastlane.tools/#metrics
  def self.session
    return nil
    # https://github.com/fastlane/fastlane/issues/11913
    # @session ||= AnalyticsSession.new
  end

  def self.reset_session
    # https://github.com/fastlane/fastlane/issues/11913
    # @session = nil
  end

  # A directory that's being used to user-wide fastlane configs
  # This directory is also used for the bundled fastlane
  # Since we don't want to access FastlaneCore from spaceship
  # this method is duplicated in spaceship/client.rb
  def self.fastlane_user_dir
    path = File.expand_path(File.join(Dir.home, ".fastlane"))
    FileUtils.mkdir_p(path) unless File.directory?(path)
    return path
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
fastlane-2.98.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.97.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180521050117 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180520050019 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180519050103 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180518050116 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180517050058 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180516050022 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180515050025 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180514050029 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180513050015 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180512050121 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180511050050 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.96.0.beta.20180510050112 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.95.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.95.0.beta.20180509050014 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.95.0.beta.20180508050130 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.95.0.beta.20180507050125 fastlane_core/lib/fastlane_core/module.rb