dotyaml 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dotyaml/version.rb +1 -1
- data/lib/dotyaml.rb +4 -0
- 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: 0f039aed28290dcf39703ae14ee8739696ff6cbd
|
|
4
|
+
data.tar.gz: 1f0c9a45ff0a96b679559d433b9c39d03cf0f53a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbc5134d62b20f5448ff48fbfcb3615ed3b1a4e26c681577547956e8f7ce7e318eb438ad65be371d5e25965c7fa3724e1303782939466dd18f27c23fff7397ae
|
|
7
|
+
data.tar.gz: 5b2fa42402a212c9af7592301febf61fa1a93faa2cf7fc8da545429b07e23b6362439e510ec971872c01f4c21f2257e5024c2f7bdcc4420a1548d461e202e9d8
|
data/lib/dotyaml/version.rb
CHANGED
data/lib/dotyaml.rb
CHANGED
|
@@ -47,6 +47,10 @@ module Dotyaml
|
|
|
47
47
|
should_run = test_name_config if test_name_config
|
|
48
48
|
|
|
49
49
|
# type
|
|
50
|
+
type_config = config.fetch('type', {}).fetch(dependency['type'].to_s.downcase, {}).fetch('tests', {}).fetch(test_name_key, nil)
|
|
51
|
+
should_run = type_config if type_config
|
|
52
|
+
|
|
53
|
+
# types
|
|
50
54
|
type_config = config.fetch('types', {}).fetch(dependency['type'].to_s.downcase, {}).fetch('tests', {}).fetch(test_name_key, nil)
|
|
51
55
|
should_run = type_config if type_config
|
|
52
56
|
|