clerk-sdk-ruby 2.9.0.beta2 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +3 -3
- data/lib/clerk/resources/singular_resource.rb +1 -1
- data/lib/clerk/sdk.rb +4 -2
- data/lib/clerk/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbaa98cd305b04c0b904e1a2c86d3443f366aa9dba7f71c5c0a0bc7696da3934
|
4
|
+
data.tar.gz: da3b5c3910d7d04453ce910a1e56a5d3057e7b6971aa9e25944e45ac4552d99f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbede149e1d228a36ca7bcc38dee963498364f770c1facda036b14a183ef7abd0281b627399db911b44c73d22247969845b53db23808c0631628b550a630a69d
|
7
|
+
data.tar.gz: 5b4156f656adf0db7b92a718fd171b6d6b861624df5f9f1b56dd0b6c25ed8b2b18a4af73bb771e79c1ae22420a06beaa486941549757a4a3a858f527f17a421b
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
## unreleased
|
2
2
|
|
3
|
+
## 2.9.0
|
4
|
+
|
5
|
+
Identical to 2.9.0.beta3
|
6
|
+
|
7
|
+
## 2.9.0.beta3 - 2023-01-17
|
8
|
+
|
9
|
+
## Changed
|
10
|
+
|
11
|
+
- internal: Change request payloads to `application/json` content type [https://github.com/clerkinc/clerk-sdk-ruby/pull/29]
|
12
|
+
|
3
13
|
## 2.9.0.beta2 - 2023-01-05
|
4
14
|
|
5
15
|
- feat: Support setting the secret key (previously called Backend API key) using
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
clerk-sdk-ruby (2.
|
4
|
+
clerk-sdk-ruby (2.9.0.beta3)
|
5
5
|
concurrent-ruby (~> 1.1)
|
6
6
|
faraday (~> 1.4.1)
|
7
7
|
jwt (~> 2.5)
|
@@ -24,8 +24,8 @@ GEM
|
|
24
24
|
faraday-excon (1.1.0)
|
25
25
|
faraday-net_http (1.0.1)
|
26
26
|
faraday-net_http_persistent (1.2.0)
|
27
|
-
jwt (2.
|
28
|
-
minitest (5.
|
27
|
+
jwt (2.6.0)
|
28
|
+
minitest (5.17.0)
|
29
29
|
multipart-post (2.2.3)
|
30
30
|
rake (13.0.6)
|
31
31
|
ruby2_keywords (0.0.5)
|
data/lib/clerk/sdk.rb
CHANGED
@@ -74,12 +74,14 @@ module Clerk
|
|
74
74
|
end
|
75
75
|
when :post
|
76
76
|
@conn.post(path, body) do |req|
|
77
|
-
req.body = body
|
77
|
+
req.body = body.to_json
|
78
|
+
req.headers[:content_type] = "application/json"
|
78
79
|
req.options.timeout = timeout if timeout
|
79
80
|
end
|
80
81
|
when :patch
|
81
82
|
@conn.patch(path, body) do |req|
|
82
|
-
req.body = body
|
83
|
+
req.body = body.to_json
|
84
|
+
req.headers[:content_type] = "application/json"
|
83
85
|
req.options.timeout = timeout if timeout
|
84
86
|
end
|
85
87
|
when :delete
|
data/lib/clerk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clerk-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.0
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clerk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -143,11 +143,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: 2.4.0
|
144
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- - "
|
146
|
+
- - ">="
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
148
|
+
version: '0'
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
150
|
+
rubygems_version: 3.3.7
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Clerk SDK for Ruby.
|