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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08308c3a78f89d7fe4ba5b7354b11cf8f209393fd57a853ce8ab0bd64448a8f6'
4
- data.tar.gz: a3206f1e3626534ec2384a7e5fab6e34951840c98d3e1a093347f767cc3ff434
3
+ metadata.gz: 982a8a1f229a0621ae17475d2145b7baaf66278c865a1fa7f41f9ae2100c4dbf
4
+ data.tar.gz: a4a95aa1550387898cdeffebb708d12d9c90a80d5b50e723c6121cd0ee597b55
5
5
  SHA512:
6
- metadata.gz: b319058991bc2d18f3c7c92e9219854af932f3c2f8685d8b03049df1bd348849806d291f61dd78f65731b7b19baf583cbc510d9f650e0fae03522c0e95bfd00d
7
- data.tar.gz: '0831ff4aa9aacb7a45f69beb2bcc996187fecaccc7dc5b724c31c30566720b6d6ae01262195516be5634728bed7b9cc6ff21c431e7cb705a6df9f9e7394f9b35'
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.1.0)
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.4.0)
22
- faraday-net_http (~> 2.0)
21
+ faraday (2.6.0)
22
+ faraday-net_http (>= 2.0, < 3.1)
23
23
  ruby2_keywords (>= 0.0.4)
24
- faraday-net_http (2.1.0)
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.19
91
+ 2.3.25
@@ -1,3 +1,3 @@
1
1
  module PagespeedInsights
2
- VERSION = "1.1.0"
2
+ VERSION = '1.2.0'
3
3
  end
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.1.0
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-08-06 00:00:00.000000000 Z
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.3.7
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.