Sha256: 850484a42755ecb1cb7d8cab33674295e64a985f96b376dd16608c62e072c748

Contents?: true

Size: 665 Bytes

Versions: 1

Compression:

Stored size: 665 Bytes

Contents

require 'redis'

require 'coverband/version'
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
    
    def initialize
      @root = Dir.pwd
      @redis = nil
      @coverage_baseline = {}
      @root_paths = []
      @ignore = []
      @percentage = 0.0
      @verbose = false
      @reporter = 'scov'
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coverband-0.0.14 lib/coverband.rb