bridgetown-builder 0.18.0 → 0.18.5

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: 944a5bb1e3d94e31d7b42f895efc937c2a0b88975c299474c5b2410f93045d98
4
- data.tar.gz: 4b50d4cc2f994356f2c4b78a70c2d3f9f4d73b089e6db0593374c9ed45890822
3
+ metadata.gz: 338212d970bacb2c8cb998ff7c60a9f1372f34880ae9009224f8c493fbd3dce7
4
+ data.tar.gz: 1b911ea5c09e6051b6472e808b585d127ce9405d47288661a254074e29cb1981
5
5
  SHA512:
6
- metadata.gz: 3e0516b8583d59f21c7fda26b3b1ec9cee1bd390eb7cc01780e35eea69560275e58f28861a97e175444726bfe064a56e7ad02bdb15ade3d84b47bbff111a27e3
7
- data.tar.gz: d6a987965c4a0505b63c0fec9ca76551e3e2e5e38003487cab81bdb2c8c0da1cc128004f25550bd252852d8808c6ec0a190627b5164ef545d3a3d6536732a991
6
+ metadata.gz: 798153f59a971fec7e3804107a7fd2e1b7b39297f235975984489aa806bb5029fbc2b138e9658eb49c29c5c23d086dce03fd7fa3e6d2adce367094f95504dbea
7
+ data.tar.gz: 86710570940e5870dca8c5f6f050e59f0ce1739ede4b21d95fffdebbb0cd2d35b12c253fe18753fde13b46b32f35223099b2cb4b64abc93e6f9c293cf22073e8
@@ -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/*
@@ -26,7 +26,11 @@ module Bridgetown
26
26
 
27
27
  Faraday.new(headers: headers) do |faraday|
28
28
  faraday.use FaradayMiddleware::FollowRedirects
29
- faraday.use FaradayMiddleware::ParseJson if parse_json
29
+ if parse_json
30
+ faraday.use FaradayMiddleware::ParseJson, parser_options: {
31
+ object_class: HashWithDotAccess::Hash,
32
+ }
33
+ end
30
34
  yield faraday if block_given?
31
35
  end
32
36
  end
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.18.0
4
+ version: 0.18.5
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-10-29 00:00:00.000000000 Z
11
+ date: 2020-11-09 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.18.0
19
+ version: 0.18.5
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.18.0
26
+ version: 0.18.5
27
27
  description:
28
28
  email: maintainers@bridgetownrb.com
29
29
  executables: []