active_record_api-request 0.3.11 → 0.3.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 033313ffd55eed06728b0d905b0230b4d712e741975be067388881b48245f54d
|
4
|
+
data.tar.gz: c5283f9e03b7fd551a434000c297bab38e1a71a5f5862775080264c2b97a17fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c21b2c4099b26ad55ff913a126443323639c1060b0e3934b23a82b9a76404369c070ba9989b8562247b0af12cf6a2c3390b12a76281abff51ee2e736a251891
|
7
|
+
data.tar.gz: 1b034d3d746aaa71493fc9c498d43b3916089556704e931ad6d13de91294975bc62d56d2dc651f0997b01aa1ad2d93f4859f4896da007f8f83063741945e8c19
|
@@ -27,7 +27,7 @@ module ActiveRecordApi
|
|
27
27
|
end
|
28
28
|
@app.call(env)
|
29
29
|
rescue Faraday::ClientError => error
|
30
|
-
if error.respond_to?(:response) && error.response.try(:[], :status)
|
30
|
+
if error.respond_to?(:response) && [401, 403].include?(error.response.try(:[], :status)) && env.request_headers['Retries'] != '5'
|
31
31
|
if @debug
|
32
32
|
Honeybadger.notify(error, {context: {message: 'faraday error, flushing'}})
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_api-request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Full Measure Education
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_attr
|