kafo 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kafo/kafo_configure.rb +5 -1
- data/lib/kafo/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: 6d977cbbfdcfb16c28f69f44e0d3c9593d934964
|
4
|
+
data.tar.gz: 047115e922fc70200b408f2ffe597b8adabe7469
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40b32f9d1b923f4bda0e9fc3c7138c940571cb1ed3f04996ace8e2dce882df36847b0d611e490c915eaaff63cbb2bb4c29f4023c6f1f0dff7778676a4b94098
|
7
|
+
data.tar.gz: b66540ea8149b006cafeba80a343b056ddbe52455a2b6caf254efdf7e90ff542effa76abc5bf969b83d9a8091be78eacfbe494bcac231486ca7a3fab55afc241
|
data/lib/kafo/kafo_configure.rb
CHANGED
@@ -197,6 +197,10 @@ module Kafo
|
|
197
197
|
self.class.exit(:unknown_module)
|
198
198
|
end
|
199
199
|
|
200
|
+
def enabled_params
|
201
|
+
params.select { |p| p.module.enabled? }
|
202
|
+
end
|
203
|
+
|
200
204
|
def reset_params_cache
|
201
205
|
@params = nil
|
202
206
|
params
|
@@ -391,7 +395,7 @@ module Kafo
|
|
391
395
|
|
392
396
|
def validate_all(logging = true)
|
393
397
|
logger.info 'Running validation checks'
|
394
|
-
results =
|
398
|
+
results = enabled_params.map do |param|
|
395
399
|
result = param.valid?
|
396
400
|
errors = param.validation_errors.join(', ')
|
397
401
|
progress_log(:error, "Parameter #{with_prefix(param)} invalid: #{errors}") if logging && !result
|
data/lib/kafo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kafo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Hulan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|