Sha256: 6f2500a99d6d6f0c7bab6f15d798412576f136563064a3722e454a74acfbd51c

Contents?: true

Size: 811 Bytes

Versions: 3

Compression:

Stored size: 811 Bytes

Contents

require 'redis'
require 'logger'

require 'coverband/version'
require 'coverband/redis_store'
require 'coverband/base'
require 'coverband/reporter'
require 'coverband/middleware'

module Coverband
  
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :redis, :coverage_baseline, :root_paths, :root, :ignore, :percentage, :verbose, :reporter, :stats, :logger, :startup_delay
    
    def initialize
      @root = Dir.pwd
      @redis = nil
      @stats = nil
      @coverage_baseline = {}
      @root_paths = []
      @ignore = []
      @percentage = 0.0
      @verbose = false
      @reporter = 'scov'
      @logger = nil
      @startup_delay = 0
    end
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coverband-0.0.18 lib/coverband.rb
coverband-0.0.17 lib/coverband.rb
coverband-0.0.16 lib/coverband.rb