supai 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/supai/api.rb +2 -2
- data/lib/supai/authorization.rb +0 -1
- data/lib/supai/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80955c102e85a5c291f0d442d4fbe9805453d2952ad3bd32e2d6747e6a9d7247
|
4
|
+
data.tar.gz: 7467576e0786bb940c9d78e0f6fba51e79b1894ad50fb82fc691b381790163c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b55b8f2bc0792fb2ac44debe9d8d4d10fe2562ef1f7e08f50e9467ceedd110a1e15f21046344a3d535776258abba6e21209a4c5b7feb02a85c5a3522d3defbf9
|
7
|
+
data.tar.gz: f62a441096b88b3a0b84763a2dfc0224e444a4f418029dba62eb1537ea73985ae00010a5df720e851301c6ab469c5f7775e538025daa3cc57ea64866b863c1af
|
data/Gemfile.lock
CHANGED
data/lib/supai/api.rb
CHANGED
@@ -97,13 +97,13 @@ module Supai
|
|
97
97
|
r[key] = value
|
98
98
|
end
|
99
99
|
unless token.nil?
|
100
|
-
r
|
100
|
+
r["Authorization"] = token
|
101
101
|
end
|
102
102
|
|
103
103
|
if body.is_a? String
|
104
104
|
r.body = body
|
105
105
|
elsif !body.nil?
|
106
|
-
r
|
106
|
+
r["Content-Type"] = "application/json"
|
107
107
|
r.body = body.to_json
|
108
108
|
end
|
109
109
|
}
|
data/lib/supai/authorization.rb
CHANGED
data/lib/supai/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: supai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Yoder
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|