Sha256: af095b2b9066723185bf8595167c852ba244077955c5f9752d88156855c432dd
Contents?: true
Size: 326 Bytes
Versions: 13
Compression:
Stored size: 326 Bytes
Contents
require 'singleton' class SpecConfig include Singleton COMPACTION_CHANCE = 0.001 def active_support? %w(1 true yes).include?(ENV['WITH_ACTIVE_SUPPORT']) || ENV['WITH_ACTIVE_SUPPORT'] =~ /[0-9]/ && ENV['WITH_ACTIVE_SUPPORT'] != '0' end def compact? %w(1 true yes).include?(ENV['COMPACT']) end end
Version data entries
13 entries across 13 versions & 2 rubygems