Class: Closer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/closer/config.rb

Instance Method Summary collapse

Instance Method Details

#coverage_enabled?Boolean

Returns:

  • (Boolean)

3
4
5
# File 'lib/closer/config.rb', line 3

def coverage_enabled?
  coverage_enabled = true_value?(ENV['COVERAGE']) && true_value?(ENV['ACCEPTANCE_TEST'])
end

#merge_timeoutObject


7
8
9
# File 'lib/closer/config.rb', line 7

def merge_timeout
  ENV['MERGE_TIMEOUT'] || 3600
end