kolekti 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +3 -1
- data/lib/kolekti/runner.rb +4 -1
- data/lib/kolekti/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: 882fc816fcb3c37f668f468895e345fa7135d9ba
|
4
|
+
data.tar.gz: 38f56562221b4c800bba093dc496e0a51a114979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc10e1d888eac0b43fd6f7036fcffd20170961c76e4be6ce746a46df37f8205631edf7dde155000dc2873f2297050430be4963c40316a74176cd6a0fc1df0a55
|
7
|
+
data.tar.gz: e66cd497829e7e7b28f1873f2a6bda39330609d0d0ed414e779094e62f6f5c96d3d8bb4fffa13ad7077aa5c1b92080bcf7030ffa4037317a6850760aca397b0d
|
data/CHANGELOG.rdoc
CHANGED
data/lib/kolekti/runner.rb
CHANGED
@@ -40,7 +40,10 @@ module Kolekti
|
|
40
40
|
|
41
41
|
def find_collectors
|
42
42
|
collectors = wanted_metric_configurations.map do |code, metric_configuration|
|
43
|
-
|
43
|
+
collector_name = metric_configuration.metric.metric_collector_name
|
44
|
+
found_collector = Kolekti.collectors.find do |collector|
|
45
|
+
collector.name == collector_name && collector.supported_metrics.include?(code.to_sym)
|
46
|
+
end
|
44
47
|
raise UnavailableMetricError.new("No Metric Collector for metric code #{code}") if found_collector.nil?
|
45
48
|
|
46
49
|
found_collector
|
data/lib/kolekti/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kolekti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Miranda
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-03-
|
14
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: kalibro_client
|