active_record_api-request 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5787ab176e69a554c588c635c44361a115ae1f4be46357558473aa8927d38c70
|
|
4
|
+
data.tar.gz: 8e95ef8fe4a8dc057bfbecf294d6234b64c888f9821228f1892a93e54b326c5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79c3ccce8bf0637ca94531d3415f12cd5b23af4c5323454d492a4b45a126eec27539b14f61f44260bd3a353d786e76cf614882b56c5d0534b83f1d1b6e5470dd
|
|
7
|
+
data.tar.gz: 303d68460175bd23fe3da88c735bf83f62aa8ccefa7b58e0c74961e27e0f212bd6b8fff7935cd8cc32d17d50706ba32e812a34173025e9d9b6b9b7032d36afed
|
|
@@ -43,6 +43,7 @@ module ActiveRecordApi
|
|
|
43
43
|
debug_log "acquired lock"
|
|
44
44
|
Honeybadger.notify(StandardError.new('acquired lock and fetching token for cache'))
|
|
45
45
|
@token = token_proc.call()
|
|
46
|
+
raise "no token returned! #{@token}" if @token.nil?
|
|
46
47
|
@redis_client.set 'auth_token', @token
|
|
47
48
|
ensure
|
|
48
49
|
debug_log 'releasing lock'
|
|
@@ -55,6 +56,7 @@ module ActiveRecordApi
|
|
|
55
56
|
end
|
|
56
57
|
end
|
|
57
58
|
end
|
|
59
|
+
raise "no token found after waiting #{@retry} times" if @token.nil?
|
|
58
60
|
@token
|
|
59
61
|
end
|
|
60
62
|
|
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.10
|
|
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: 2019-
|
|
11
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: active_attr
|