Module: Fastlane::Polidea

Defined in:
lib/fastlane/plugin/polidea.rb,
lib/fastlane/plugin/polidea/version.rb,
lib/fastlane/plugin/polidea/helper/analytics.rb

Defined Under Namespace

Classes: Analytics

Constant Summary collapse

VERSION =
"4.0.1"

Class Method Summary collapse

Class Method Details

.all_classesObject

Return all .rb files inside the “actions” and “helper” directory



7
8
9
# File 'lib/fastlane/plugin/polidea.rb', line 7

def self.all_classes
  Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
end

.rootObject



17
18
19
# File 'lib/fastlane/plugin/polidea.rb', line 17

def self.root
  File.expand_path('../../..', __dir__)
end

.sessionObject



11
12
13
14
15
# File 'lib/fastlane/plugin/polidea.rb', line 11

def self.session
  require 'securerandom'
  @session_id ||= SecureRandom.uuid
  @session ||= Analytics.new(@session_id)
end