mnemonic 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/examples/rss.rb +1 -1
- data/lib/mnemonic.rb +6 -2
- data/lib/mnemonic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 942b6c3e36d4defc0a3f148c2049d4e091bf9e64
|
4
|
+
data.tar.gz: 79dc691f6d564dbe315944dc565c53342699dc56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5330b551745271f6c121dd957ca832a63c0ed3484674a2694db5407c836ada6efd867395f9a201dc79c12a1f36267097c50798489bdad6361a9c6e0fbb09bb0a
|
7
|
+
data.tar.gz: 1f766d47e388ba0e5a590a14d24b5c76d57afd4ddc0fbaaed8579153e84f2211ea0176fd4fc488956a53e86fcfb58053fb3cf4aeae2276779380645bb5f88e61
|
data/Gemfile.lock
CHANGED
data/examples/rss.rb
CHANGED
data/lib/mnemonic.rb
CHANGED
@@ -19,8 +19,12 @@ class Mnemonic
|
|
19
19
|
yield config
|
20
20
|
|
21
21
|
@root_metrics = config.metrics.map do |metric|
|
22
|
-
|
23
|
-
|
22
|
+
begin
|
23
|
+
metric.klass.new(*metric.args)
|
24
|
+
rescue => e
|
25
|
+
puts e
|
26
|
+
end
|
27
|
+
end.compact
|
24
28
|
|
25
29
|
@metrics = @root_metrics.flat_map do |metric|
|
26
30
|
metric.to_enum(:each_submetric).to_a
|
data/lib/mnemonic/version.rb
CHANGED