bridgetown-builder 0.18.1 → 0.18.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bridgetown-builder/dsl/http.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0d75ed6b31b7644966c11eadfdd5c7ec313eb245864b507592ce51822ded2c5
|
4
|
+
data.tar.gz: 2ce03dd9a1f1a438e4b96ab2394566635565e126e78caed73cceaec4ede59ed1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bea57f485c649d6063fdb9234946b0816d37159f7536141f842d32cb5dfd84a54126c9e748aa51ef23cf561955a5fc881bfafbb309cbbc0c317f10854168ac1
|
7
|
+
data.tar.gz: ed9da6ec35cc3d3a6cda7b7b85b8d16ae39c24df45edc07beaa4ee1be3e215b35076f0be87a784203a41eb6de89a956b48b1d7862b33f1e1108a7ae7a3af0909
|
@@ -26,7 +26,11 @@ module Bridgetown
|
|
26
26
|
|
27
27
|
Faraday.new(headers: headers) do |faraday|
|
28
28
|
faraday.use FaradayMiddleware::FollowRedirects
|
29
|
-
|
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.
|
4
|
+
version: 0.18.6
|
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-
|
11
|
+
date: 2020-11-12 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.
|
19
|
+
version: 0.18.6
|
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.
|
26
|
+
version: 0.18.6
|
27
27
|
description:
|
28
28
|
email: maintainers@bridgetownrb.com
|
29
29
|
executables: []
|