Sha256: 098c818e13e1e0732507911c06745c7cbdf2fcedb1fd850336072218c72d3517

Contents?: true

Size: 584 Bytes

Versions: 49

Compression:

Stored size: 584 Bytes

Contents

module Spaceship
  class Globals
    class << self
      attr_writer(:check_session)
    end

    # if spaceship is run with a FastlaneCore available respect the global state there
    # otherwise fallback to $verbose
    def self.verbose?
      if Object.const_defined?("FastlaneCore")
        return FastlaneCore::Globals.verbose? # rubocop:disable Require/MissingRequireStatement
      end
      return $verbose
    end

    # if spaceship is run with the --check_session flag this value will be set to true
    def self.check_session
      return @check_session
    end
  end
end

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
fastlane-2.225.0 spaceship/lib/spaceship/globals.rb
fastlane-2.224.0 spaceship/lib/spaceship/globals.rb
fastlane-2.223.1 spaceship/lib/spaceship/globals.rb
fastlane-2.223.0 spaceship/lib/spaceship/globals.rb
fastlane-2.222.0 spaceship/lib/spaceship/globals.rb
fastlane-2.221.1 spaceship/lib/spaceship/globals.rb
fastlane-2.221.0 spaceship/lib/spaceship/globals.rb
fastlane-2.220.0 spaceship/lib/spaceship/globals.rb
fastlane-2.219.0 spaceship/lib/spaceship/globals.rb
fastlane-2.218.0 spaceship/lib/spaceship/globals.rb
fastlane-security-patched-2.216.0 spaceship/lib/spaceship/globals.rb
fastlane-2.217.0 spaceship/lib/spaceship/globals.rb
fastlane-2.216.0 spaceship/lib/spaceship/globals.rb
fastlane-2.215.1 spaceship/lib/spaceship/globals.rb
fastlane-2.215.0 spaceship/lib/spaceship/globals.rb
fastlane-mercafacil-2.214.0 spaceship/lib/spaceship/globals.rb
fastlane-2.214.0 spaceship/lib/spaceship/globals.rb
fastlane-2.213.0 spaceship/lib/spaceship/globals.rb
fastlane-2.212.2 spaceship/lib/spaceship/globals.rb
fastlane_pricing_fix-2.212.1 spaceship/lib/spaceship/globals.rb