dotyaml 0.3.0 → 0.4.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: 0f039aed28290dcf39703ae14ee8739696ff6cbd
4
- data.tar.gz: 1f0c9a45ff0a96b679559d433b9c39d03cf0f53a
3
+ metadata.gz: 79bd6f8edff1584cb88d74b6471c641db246d3a4
4
+ data.tar.gz: 4cefe105462e4cced993532b920cbacdd2b7586b
5
5
  SHA512:
6
- metadata.gz: cbc5134d62b20f5448ff48fbfcb3615ed3b1a4e26c681577547956e8f7ce7e318eb438ad65be371d5e25965c7fa3724e1303782939466dd18f27c23fff7397ae
7
- data.tar.gz: 5b2fa42402a212c9af7592301febf61fa1a93faa2cf7fc8da545429b07e23b6362439e510ec971872c01f4c21f2257e5024c2f7bdcc4420a1548d461e202e9d8
6
+ metadata.gz: 772c512c91fe3ca9b94c0ad8a39a7a204cd6c45af74e4ff3e4122c5cddc48b952636ff2cf6ed54580bff5cecff27f2e7f2a6e0ff16ba4af7e4bbf435e597b91f
7
+ data.tar.gz: 78222e59f866a9866b851d0a2e691db76cc2ff94af16136002225c00905b5427665d385b277bd3987b855a73e6a9b5c0c634d1310a31d908b08aeb2101f7797d
data/lib/dotyaml.rb CHANGED
@@ -59,9 +59,17 @@ module Dotyaml
59
59
  should_run = filename_config if filename_config
60
60
 
61
61
  # platform
62
+ platform_config = config.fetch('platform', {}).fetch(manifest['platform'].to_s.downcase, {}).fetch('tests', {}).fetch(test_name_key, nil)
63
+ should_run = platform_config if platform_config
64
+
65
+ # platforms
62
66
  platform_config = config.fetch('platforms', {}).fetch(manifest['platform'].to_s.downcase, {}).fetch('tests', {}).fetch(test_name_key, nil)
63
67
  should_run = platform_config if platform_config
64
68
 
69
+ # project name
70
+ project_config = config.fetch('platform', {}).fetch(manifest['platform'].to_s.downcase, {}).fetch(dependency['name'].to_s.downcase, {}).fetch('tests', {}).fetch(test_name_key, nil)
71
+ should_run = project_config if project_config
72
+
65
73
  # project name
66
74
  project_config = config.fetch('platforms', {}).fetch(manifest['platform'].to_s.downcase, {}).fetch(dependency['name'].to_s.downcase, {}).fetch('tests', {}).fetch(test_name_key, nil)
67
75
  should_run = project_config if project_config
@@ -1,3 +1,3 @@
1
1
  module Dotyaml
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotyaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-19 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport