setsuzoku 0.14.1 → 0.14.2
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: 8112cbd43e8c0b19c96ed0197a6b91ca7df547c4e8ce58bcb40f531dae3eff2b
|
4
|
+
data.tar.gz: 80a90a90db0ad55bc69ec5fc087319261df453c5a247fd8e0772db674a34fd22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ee3cc74093cd713d6a0bec429a42639cfd5b552c2038100014ccf82b5f115e60e50096453cd6e0b1f3f99e426f01a2942bc095fd07f8b67538f2e23f5f2bf8
|
7
|
+
data.tar.gz: e03952368397f59b1ec4a8a425e1a96ea0c7f4cc5bec67477ba25e76981ffff13af2fc507e988c92a539f02e2b4b949308bd9f2b935704ff9bb44713854510cb
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
setsuzoku (0.14.
|
4
|
+
setsuzoku (0.14.1)
|
5
5
|
activesupport (>= 5.0, < 7)
|
6
6
|
faraday (~> 0.11)
|
7
7
|
nokogiri (~> 1.10)
|
@@ -10,31 +10,29 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.
|
13
|
+
activesupport (6.0.3.4)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
-
i18n (>=
|
16
|
-
minitest (
|
17
|
-
tzinfo (~>
|
18
|
-
zeitwerk (~> 2.
|
15
|
+
i18n (>= 0.7, < 2)
|
16
|
+
minitest (~> 5.1)
|
17
|
+
tzinfo (~> 1.1)
|
18
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
19
19
|
addressable (2.7.0)
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
21
|
-
concurrent-ruby (1.1.
|
21
|
+
concurrent-ruby (1.1.7)
|
22
22
|
crack (0.4.3)
|
23
23
|
safe_yaml (~> 1.0.0)
|
24
24
|
diff-lcs (1.4.2)
|
25
|
-
faraday (0.17.
|
25
|
+
faraday (0.17.3)
|
26
26
|
multipart-post (>= 1.2, < 3)
|
27
27
|
hashdiff (1.0.1)
|
28
|
-
i18n (1.8.
|
28
|
+
i18n (1.8.5)
|
29
29
|
concurrent-ruby (~> 1.0)
|
30
|
-
mini_portile2 (2.
|
31
|
-
minitest (5.14.
|
30
|
+
mini_portile2 (2.4.0)
|
31
|
+
minitest (5.14.2)
|
32
32
|
multipart-post (2.1.1)
|
33
|
-
nokogiri (1.
|
34
|
-
mini_portile2 (~> 2.
|
35
|
-
racc (~> 1.4)
|
33
|
+
nokogiri (1.10.10)
|
34
|
+
mini_portile2 (~> 2.4.0)
|
36
35
|
public_suffix (4.0.5)
|
37
|
-
racc (1.5.2)
|
38
36
|
rake (10.5.0)
|
39
37
|
rspec (3.8.0)
|
40
38
|
rspec-core (~> 3.8.0)
|
@@ -52,15 +50,16 @@ GEM
|
|
52
50
|
safe_yaml (1.0.5)
|
53
51
|
sorbet (0.5.5675)
|
54
52
|
sorbet-static (= 0.5.5675)
|
55
|
-
sorbet-runtime (0.5.
|
53
|
+
sorbet-runtime (0.5.5937)
|
56
54
|
sorbet-static (0.5.5675-universal-darwin-14)
|
57
|
-
|
58
|
-
|
55
|
+
thread_safe (0.3.6)
|
56
|
+
tzinfo (1.2.7)
|
57
|
+
thread_safe (~> 0.1)
|
59
58
|
webmock (3.8.0)
|
60
59
|
addressable (>= 2.3.6)
|
61
60
|
crack (>= 0.3.2)
|
62
61
|
hashdiff (>= 0.4.0, < 2.0.0)
|
63
|
-
zeitwerk (2.4.
|
62
|
+
zeitwerk (2.4.0)
|
64
63
|
|
65
64
|
PLATFORMS
|
66
65
|
ruby
|
@@ -146,18 +146,6 @@ module Setsuzoku
|
|
146
146
|
|
147
147
|
self.credential.set_token!(resp)
|
148
148
|
end
|
149
|
-
|
150
|
-
#
|
151
|
-
# set_token!
|
152
|
-
sig { abstract.params(resp: Setsuzoku::ApiResponse, attrs: T::Hash[Symbol, T.untyped]).void }
|
153
|
-
#
|
154
|
-
# Persist relevant token and response data after authentication.
|
155
|
-
#
|
156
|
-
# @param resp [Setsuzoku::ApiResponse] the successful response for an authentication token.
|
157
|
-
# @param attrs [Hash] additional attrs that can be set by a specific credential implementation.
|
158
|
-
#
|
159
|
-
# @return [void]
|
160
|
-
def set_token!(resp, attrs = {}); end
|
161
149
|
end
|
162
150
|
end
|
163
151
|
end
|
@@ -53,13 +53,13 @@ module Setsuzoku
|
|
53
53
|
sig{ abstract.params(val: DateTime).returns(T.nilable(DateTime)) }
|
54
54
|
def expires_on=(val); end
|
55
55
|
|
56
|
-
#
|
57
|
-
# For instance, storing multiple tokens as sub-resources
|
56
|
+
# All credentials must have some implementation of storing their token details.
|
58
57
|
#
|
59
|
-
# @param resp [
|
58
|
+
# @param resp [Setsuzoku::ApiResponse] the response hash from the external api call for a token.
|
59
|
+
# @param attrs [Hash] additional attrs to be passed to super if desired.
|
60
60
|
#
|
61
61
|
# @return [Hash] the attributes to assign to the credential.
|
62
|
-
sig{ abstract.params(resp: T::Hash[Symbol, T.untyped]).void }
|
62
|
+
sig { abstract.params(resp: Setsuzoku::ApiResponse, attrs: T::Hash[Symbol, T.untyped]).void }
|
63
63
|
def set_token!; end
|
64
64
|
end
|
65
65
|
end
|
data/lib/setsuzoku/version.rb
CHANGED