setsuzoku 0.12.59 → 0.13.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2000ab035e24854f6a272d61a3ee639bb3e439b9b6a30ad6fb561619329d8f67
|
4
|
+
data.tar.gz: 14424c08ba7e2a292df246c9ddfcc878ff40e041f969c12738eb73851fe38980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 805e60a36064d10811169e66b8cf897240d747771780421f9ef1c9f39fcb7d3eda6216e85644bf1f77d7087664a5dd270ca53c7799b4cd53bcac20303e6bb6c9
|
7
|
+
data.tar.gz: 4132dd8debf2539ec898eb3c2bbad9d2cd58ad4a4d1cb6669972a338bd5121470338fa16aa9d1b83777d7fc2b5c09dd63d57f613b6391c5ba2aba8ae7cd95f1e
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
setsuzoku (0.
|
5
|
-
activesupport (
|
4
|
+
setsuzoku (0.13.0)
|
5
|
+
activesupport (>= 5.0, < 7)
|
6
6
|
faraday (~> 0.11)
|
7
7
|
nokogiri (~> 1.10)
|
8
8
|
sorbet-runtime (~> 0.5)
|
@@ -10,11 +10,12 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (
|
13
|
+
activesupport (6.0.3.4)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 0.7, < 2)
|
16
16
|
minitest (~> 5.1)
|
17
17
|
tzinfo (~> 1.1)
|
18
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
18
19
|
addressable (2.7.0)
|
19
20
|
public_suffix (>= 2.0.2, < 5.0)
|
20
21
|
concurrent-ruby (1.1.7)
|
@@ -27,7 +28,7 @@ GEM
|
|
27
28
|
i18n (1.8.5)
|
28
29
|
concurrent-ruby (~> 1.0)
|
29
30
|
mini_portile2 (2.4.0)
|
30
|
-
minitest (5.14.
|
31
|
+
minitest (5.14.2)
|
31
32
|
multipart-post (2.1.1)
|
32
33
|
nokogiri (1.10.10)
|
33
34
|
mini_portile2 (~> 2.4.0)
|
@@ -49,7 +50,7 @@ GEM
|
|
49
50
|
safe_yaml (1.0.5)
|
50
51
|
sorbet (0.5.5675)
|
51
52
|
sorbet-static (= 0.5.5675)
|
52
|
-
sorbet-runtime (0.5.
|
53
|
+
sorbet-runtime (0.5.5937)
|
53
54
|
sorbet-static (0.5.5675-universal-darwin-14)
|
54
55
|
thread_safe (0.3.6)
|
55
56
|
tzinfo (1.2.7)
|
@@ -58,6 +59,7 @@ GEM
|
|
58
59
|
addressable (>= 2.3.6)
|
59
60
|
crack (>= 0.3.2)
|
60
61
|
hashdiff (>= 0.4.0, < 2.0.0)
|
62
|
+
zeitwerk (2.4.0)
|
61
63
|
|
62
64
|
PLATFORMS
|
63
65
|
ruby
|
@@ -65,12 +65,12 @@ module Setsuzoku
|
|
65
65
|
image = open(url, 'rb')
|
66
66
|
Faraday::UploadIO.new(image, T.must(image).content_type, File.basename(url))
|
67
67
|
end
|
68
|
-
payload[options[:attachment_url_key]] = attachments
|
69
68
|
if request_properties[:request_format] == :json
|
70
69
|
payload[:json] = Faraday::UploadIO.new(StringIO.new(full_request), 'application/json')
|
71
70
|
else
|
72
71
|
payload.merge!(full_request)
|
73
72
|
end
|
73
|
+
payload[options[:attachment_url_key]] = attachments
|
74
74
|
req.body = payload
|
75
75
|
end
|
76
76
|
else
|
@@ -59,7 +59,7 @@ module Setsuzoku
|
|
59
59
|
# @param resp [Hash] the response hash from the external api call for a token.
|
60
60
|
#
|
61
61
|
# @return [Hash] the attributes to assign to the credential.
|
62
|
-
sig{
|
62
|
+
sig{ overridable.params(resp: Setsuzoku::ApiResponse).returns(T::Hash[Symbol, T.untyped]) }
|
63
63
|
def token_attributes_to_assign(resp)
|
64
64
|
attrs = {
|
65
65
|
token: resp.data[:access_token],
|
data/lib/setsuzoku/version.rb
CHANGED
data/setsuzoku.gemspec
CHANGED
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_development_dependency "rake", "~> 10.0"
|
41
41
|
spec.add_development_dependency "rspec", "3.8"
|
42
42
|
spec.add_development_dependency "webmock", "3.8"
|
43
|
-
spec.add_runtime_dependency "activesupport", "
|
43
|
+
spec.add_runtime_dependency "activesupport", ">= 5.0", '< 7'
|
44
44
|
spec.add_development_dependency "sorbet", "~> 0.5"
|
45
45
|
spec.add_runtime_dependency "sorbet-runtime", "~> 0.5"
|
46
46
|
#TODO: we should remove httparty if we can just use faraday
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: setsuzoku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Stadtler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,16 +70,22 @@ dependencies:
|
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '5.0'
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '7'
|
76
79
|
type: :runtime
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
79
82
|
requirements:
|
80
|
-
- - "
|
83
|
+
- - ">="
|
81
84
|
- !ruby/object:Gem::Version
|
82
85
|
version: '5.0'
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '7'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: sorbet
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|