dotyaml 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd2f0d4358b79ef682d9ffbaca12e6be128574e2
4
- data.tar.gz: 69a31851268c8dcd6636a35a8ccfa0a581b2a535
3
+ metadata.gz: 0f039aed28290dcf39703ae14ee8739696ff6cbd
4
+ data.tar.gz: 1f0c9a45ff0a96b679559d433b9c39d03cf0f53a
5
5
  SHA512:
6
- metadata.gz: ff61fdb67a6f17584104528b5c717a90af53c4bfa5fe55ab339eb68e6d6742fa2d1f15caedfee31acf3cff13f481cad7197ecc5ce1aa680e6c0aefc033da7a10
7
- data.tar.gz: 76f113b0454f2caa0504913c305d3a5d86c2f7633300c1356d27727db302e7eb6f6604cf1040902608731c6f8665a18a1630f6f99da78fa4daace7c8e9626aed
6
+ metadata.gz: cbc5134d62b20f5448ff48fbfcb3615ed3b1a4e26c681577547956e8f7ce7e318eb438ad65be371d5e25965c7fa3724e1303782939466dd18f27c23fff7397ae
7
+ data.tar.gz: 5b2fa42402a212c9af7592301febf61fa1a93faa2cf7fc8da545429b07e23b6362439e510ec971872c01f4c21f2257e5024c2f7bdcc4420a1548d461e202e9d8
@@ -1,3 +1,3 @@
1
1
  module Dotyaml
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotyaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt