togls 3.0.0.pre.rc.3 → 3.0.0.pre.rc.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/togls/rule_manager.rb +7 -5
- data/lib/togls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db065ecec670e422d74a8051f9e1289d8f11fb90
|
4
|
+
data.tar.gz: 2732cb60b3f03824ff7f2a5b2846e34669cfa1c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf595b1c5877258a96f911c3248e9d24cb9872c855617a3496f41fb13fac15e339067adb95908152e0e487a3fe770f62d024b29bebbe3539e69a27603a4c44a4
|
7
|
+
data.tar.gz: ec98059e27e24965062ecdc53edee37ecb39d5ff7b0a41b9aeb903393f489ca472fdbce60afcf452bd103794a1bb8c3bdea19e14bbce3e66fbb9cf42e5144b6a
|
data/lib/togls/rule_manager.rb
CHANGED
@@ -37,13 +37,15 @@ module Togls
|
|
37
37
|
@rule_type_registry
|
38
38
|
end
|
39
39
|
|
40
|
+
def rule_repository_drivers
|
41
|
+
rule_repository_drivers = [
|
42
|
+
Togls::RuleRepositoryDrivers::InMemoryDriver.new,
|
43
|
+
Togls::RuleRepositoryDrivers::EnvOverrideDriver.new
|
44
|
+
]
|
45
|
+
end
|
46
|
+
|
40
47
|
def rule_repository
|
41
48
|
if @rule_repository.nil?
|
42
|
-
rule_repository_drivers = [
|
43
|
-
Togls::RuleRepositoryDrivers::InMemoryDriver.new,
|
44
|
-
Togls::RuleRepositoryDrivers::EnvOverrideDriver.new
|
45
|
-
]
|
46
|
-
|
47
49
|
@rule_repository = Togls::RuleRepository.new(rule_repository_drivers)
|
48
50
|
end
|
49
51
|
@rule_repository
|
data/lib/togls/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: togls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.pre.rc.
|
4
|
+
version: 3.0.0.pre.rc.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Miller
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-06-
|
13
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|