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 +4 -4
- data/.rubocop.yml +1 -1
- 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: 338212d970bacb2c8cb998ff7c60a9f1372f34880ae9009224f8c493fbd3dce7
|
4
|
+
data.tar.gz: 1b911ea5c09e6051b6472e808b585d127ce9405d47288661a254074e29cb1981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 798153f59a971fec7e3804107a7fd2e1b7b39297f235975984489aa806bb5029fbc2b138e9658eb49c29c5c23d086dce03fd7fa3e6d2adce367094f95504dbea
|
7
|
+
data.tar.gz: 86710570940e5870dca8c5f6f050e59f0ce1739ede4b21d95fffdebbb0cd2d35b12c253fe18753fde13b46b32f35223099b2cb4b64abc93e6f9c293cf22073e8
|
data/.rubocop.yml
CHANGED
@@ -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.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-
|
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.
|
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.
|
26
|
+
version: 0.18.5
|
27
27
|
description:
|
28
28
|
email: maintainers@bridgetownrb.com
|
29
29
|
executables: []
|