push
github
0 of 34 new or added lines in 3 files covered. (0.0%)
2103 existing lines in 58 files now uncovered.0 of 2267 relevant lines covered (0.0%)
0.0 hits per line
UNCOV
1
|
require 'unleash/version'
|
× |
UNCOV
2
|
require 'unleash/configuration'
|
× |
UNCOV
3
|
require 'unleash/strategies'
|
× |
UNCOV
4
|
require 'unleash/context'
|
× |
UNCOV
5
|
require 'unleash/client'
|
× |
UNCOV
6
|
require 'logger'
|
× |
7 |
|
|
UNCOV
8
|
module Unleash |
× |
UNCOV
9
|
TIME_RESOLUTION = 3 |
× |
10 |
|
|
UNCOV
11
|
class << self |
× |
UNCOV
12
|
attr_accessor :configuration, :toggle_fetcher, :toggles, :toggle_metrics, :reporter, :segment_cache, :logger |
× |
13 |
end
|
|
14 |
|
|
UNCOV
15
|
self.configuration = Unleash::Configuration.new |
× |
16 |
|
|
17 |
# Deprecated: Use Unleash.configure to add custom strategies
|
|
UNCOV
18
|
STRATEGIES = self.configuration.strategies |
× |
19 |
|
|
20 |
# Support for configuration via yield:
|
|
UNCOV
21
|
def self.configure |
× |
UNCOV
22
|
yield(configuration)
|
× |
23 |
|
|
UNCOV
24
|
self.configuration.validate!
|
× |
UNCOV
25
|
self.configuration.refresh_backup_file!
|
× |
26 |
end
|
|
27 |
|
|
UNCOV
28
|
def self.strategies |
× |
UNCOV
29
|
self.configuration.strategies
|
× |
30 |
end
|
|
31 |
end
|