bhf 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bhf.gemspec +2 -2
- data/lib/bhf/settings/yaml_parser.rb +5 -4
- 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: f1fae87f240ab1b477b28d2b5a52d59c2f8ed572
|
4
|
+
data.tar.gz: 8aa50352b8899a09fe11e4d0f0b88f574de661d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e934f016a7784bedb8a7520c937a2c5df2146578148c115d219003ac0661bf62becc88c30b844359211b88bf775aa2494e51aa69eeaf70ceb76d14a6d2c44ebf
|
7
|
+
data.tar.gz: 52e57093d17b763ae6c2a1ba8842dec3d68ff99bbaa177062a4e8c73c4d1870a2582f4844a3c9a1b11c37f3929a2a4eef0b642a4721ddcfd241c194fe56c29fd
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.6
|
data/bhf.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: bhf 0.9.
|
5
|
+
# stub: bhf 0.9.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bhf"
|
9
|
-
s.version = "0.9.
|
9
|
+
s.version = "0.9.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -20,14 +20,15 @@ module Bhf::Settings
|
|
20
20
|
roles_settings['pages'].each_with_index do |pages, i_1|
|
21
21
|
pages.each_pair do |key_1, page|
|
22
22
|
page.each_with_index do |platform, i_2|
|
23
|
-
platform.each_pair do |key_2,
|
24
|
-
|
25
|
-
|
23
|
+
platform.each_pair do |key_2, v|
|
24
|
+
value = v.is_a?(Hash) ? v : {}
|
25
|
+
abstract_platform_key = if value['extend_abstract']
|
26
|
+
value['extend_abstract']
|
26
27
|
elsif abstract_platform_settings[key_2]
|
27
28
|
key_2
|
28
29
|
end
|
29
30
|
next unless abstract_platform_key
|
30
|
-
roles_settings['pages'][i_1][key_1][i_2][key_2] = abstract_platform_settings[abstract_platform_key].deep_merge(value
|
31
|
+
roles_settings['pages'][i_1][key_1][i_2][key_2] = abstract_platform_settings[abstract_platform_key].deep_merge(value)
|
31
32
|
end
|
32
33
|
end
|
33
34
|
end
|