ruby_pagespeed_insights 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/pagespeed_insights/version.rb +1 -1
- data/lib/v5/api_v5.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 982a8a1f229a0621ae17475d2145b7baaf66278c865a1fa7f41f9ae2100c4dbf
|
4
|
+
data.tar.gz: a4a95aa1550387898cdeffebb708d12d9c90a80d5b50e723c6121cd0ee597b55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00e9e58288a32cd029e2d50709a480a2eccab0825e61bccff4b7336e1f27b071fc494068dd3028eb27fb76ae15592b2bc0ea933e394fadae68e6b52bc96befbe
|
7
|
+
data.tar.gz: a5d23768eaca1a791e8cf798858d5a0fba59bb6a00cc3f8b9ea75514818041f594bc27d847c54283d974633cd9ad6118549bf1df860f539746cb4a561026b27b
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_pagespeed_insights (1.
|
4
|
+
ruby_pagespeed_insights (1.2.0)
|
5
5
|
faraday (~> 2.4)
|
6
6
|
json (~> 2.6, >= 2.6.2)
|
7
7
|
|
@@ -18,10 +18,10 @@ GEM
|
|
18
18
|
diff-lcs (1.5.0)
|
19
19
|
docile (1.4.0)
|
20
20
|
dotenv (2.8.1)
|
21
|
-
faraday (2.
|
22
|
-
faraday-net_http (
|
21
|
+
faraday (2.6.0)
|
22
|
+
faraday-net_http (>= 2.0, < 3.1)
|
23
23
|
ruby2_keywords (>= 0.0.4)
|
24
|
-
faraday-net_http (
|
24
|
+
faraday-net_http (3.0.2)
|
25
25
|
json (2.6.2)
|
26
26
|
parallel (1.22.1)
|
27
27
|
parser (3.1.2.0)
|
@@ -88,4 +88,4 @@ DEPENDENCIES
|
|
88
88
|
simplecov (~> 0.16.1)
|
89
89
|
|
90
90
|
BUNDLED WITH
|
91
|
-
2.3.
|
91
|
+
2.3.25
|
data/lib/v5/api_v5.rb
CHANGED
@@ -38,7 +38,9 @@ module PagespeedInsights
|
|
38
38
|
|
39
39
|
def make_request(uri_params)
|
40
40
|
headers = { 'Accept': 'application/json' }
|
41
|
-
response = Faraday.get(@base_url, uri_params, headers)
|
41
|
+
response = Faraday.get(@base_url, uri_params, headers) do |req|
|
42
|
+
req.options.params_encoder = Faraday::FlatParamsEncoder
|
43
|
+
end
|
42
44
|
@status = response.status
|
43
45
|
@headers = response.headers
|
44
46
|
@body = response.body
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_pagespeed_insights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Rodriguez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.1.4
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: A Ruby wrapper for Google PageSpeed Insights API.
|