bhf 0.9.5 → 0.9.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efd84f0c58a39fc43e2aa2fe6a253335a8dce56b
4
- data.tar.gz: 4b64fe048aaa0a67edd554e25f5bbe5c49178e68
3
+ metadata.gz: f1fae87f240ab1b477b28d2b5a52d59c2f8ed572
4
+ data.tar.gz: 8aa50352b8899a09fe11e4d0f0b88f574de661d8
5
5
  SHA512:
6
- metadata.gz: c836650024dec75f04624a7014b5c1762621e5f1f3b999b98291cc40fa4ea9d27fb3aa0603499508d5cfe2d54849d501dae1c2f6cf9373d744ab9b20eca5d533
7
- data.tar.gz: 5ecfd72626e8ea55cbfba02fe689d4a57f0528607c8043810004af929259d2232fcdf780a722293d6b1b21142012e5448ecaf9c4a518b59342cba5259d9f3f0e
6
+ metadata.gz: e934f016a7784bedb8a7520c937a2c5df2146578148c115d219003ac0661bf62becc88c30b844359211b88bf775aa2494e51aa69eeaf70ceb76d14a6d2c44ebf
7
+ data.tar.gz: 52e57093d17b763ae6c2a1ba8842dec3d68ff99bbaa177062a4e8c73c4d1870a2582f4844a3c9a1b11c37f3929a2a4eef0b642a4721ddcfd241c194fe56c29fd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5
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 ruby lib
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.5"
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, value|
24
- abstract_platform_key = if value.to_h['extend_abstract']
25
- value.to_h['extend_abstract']
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.to_h)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bhf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Pawlik