File: config.rb

package info (click to toggle)
ruby-rspec-profiling 0.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: ruby: 617; makefile: 51
file content (16 lines) | stat: -rw-r--r-- 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module RspecProfiling
  def self.configure
    yield config
  end

  def self.config
    @config ||= OpenStruct.new({
      collector:  RspecProfiling::Collectors::CSV,
      vcs:        RspecProfiling::VCS::Git,
      table_name: 'spec_profiling_results',
      events:     [],
      magic_comment: 'team',
      additional_data: {}
    })
  end
end