bridgetown-builder 0.17.0 → 0.18.3

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
  SHA256:
3
- metadata.gz: 0ba3bc394020ff46104b6f2e53a0d1ed42da8916bda4749af4129f1822dbbac2
4
- data.tar.gz: 6064d7a134ffc22770e4099c9612e9daa4aa5eeda1a517c12972b3de069a4897
3
+ metadata.gz: 0c82c91f3c7f0ca1ad79f22e7842d6e2896384331fa482473654a7c7ce7d97dc
4
+ data.tar.gz: 3bf48b532a446291a2f60b63b42d9696e8a539b0ef8d5d491324080a9b332c7f
5
5
  SHA512:
6
- metadata.gz: 84eea01bca2ab9c38f010f1aeaaf6930baee8091e505db1bfedcbaf0526638ffcdbb41b078c6053e9d945904b981ebe53fd37bf9ebb30d9b29f8aa57a0f5047c
7
- data.tar.gz: 9ee94851ec8c5f83487c0ed0916bab1e31a84f6cec1a138f708452df20230ebc2681394f10ef2023c7a05b58f367efdc4f78c75f8d3295f591be9d7ae2abc7de
6
+ metadata.gz: 335fc4fc6a584703fc26a7924704e5627788bca2a2bbcb047698b3d18761ab15404748d405a95310c5706e7d4319b88d8315b1d074f3946744da4dcbfa9bd32a
7
+ data.tar.gz: d24e6f33edd2b7ac64ab15747321f16e90e55289eded829d9812e7ddaaa22b4da6b76950e5ee7d0967c2138d538a692c0761222d775b58affa396803e2617717
@@ -8,7 +8,7 @@ AllCops:
8
8
 
9
9
  Metrics/AbcSize:
10
10
  Exclude:
11
- - lib/bridgetown-builder/dsl/*
11
+ - lib/bridgetown-builder/dsl/generators.rb
12
12
  Metrics/MethodLength:
13
13
  Exclude:
14
14
  - lib/bridgetown-builder/dsl/*
@@ -8,7 +8,7 @@ module Bridgetown
8
8
  def initialize(site, path)
9
9
  @site = site
10
10
  @path = path
11
- @data = ActiveSupport::HashWithIndifferentAccess.new
11
+ @data = HashWithDotAccess::Hash.new
12
12
  end
13
13
 
14
14
  def front_matter(data)
@@ -23,7 +23,7 @@ module Bridgetown
23
23
 
24
24
  self.config = if defined?(self.class::CONFIG_DEFAULTS)
25
25
  Bridgetown::Utils.deep_merge_hashes(
26
- self.class::CONFIG_DEFAULTS.with_indifferent_access, site.config
26
+ self.class::CONFIG_DEFAULTS.with_dot_access, site.config
27
27
  )
28
28
  else
29
29
  site.config
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-17 00:00:00.000000000 Z
11
+ date: 2020-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bridgetown-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.0
19
+ version: 0.18.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.17.0
26
+ version: 0.18.3
27
27
  description:
28
28
  email: maintainers@bridgetownrb.com
29
29
  executables: []
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.0.6
65
+ rubygems_version: 3.1.4
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: A Bridgetown plugin to provide a sophisticated DSL for writing plugins at