clerk-sdk-ruby 2.10.0.beta2 → 2.10.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: 7a9cc4880855663a951169e9f5898ec94e3693b048e86c84feae5dbfd4aa1318
4
- data.tar.gz: 19883dc888a73800890edcf438443fc3ceb529c971829b3b079b884933136417
3
+ metadata.gz: 1e9e8d21b8fb8894e6d3ad8889974bbd1580c17408b8dfc72b41f2f65d8ca580
4
+ data.tar.gz: b4f2f528429bd9e0dd84b27414850dcafbe8b1f11dab09f2a86854f864a254e4
5
5
  SHA512:
6
- metadata.gz: e3f51660a5c2e56cffb7e681ddf31b5155d37ed5cd87a85f93be09b39493ee9e82eb7f0cb12fb19089119f296fb58cfdbc43392e6034da0298cfdce60957df86
7
- data.tar.gz: c236853329fb8c0ac1d62b9324dda4daab54d4de034b639ea9dc8425440ae3bb30e29c0e795dd1621a3d805801e35744d45943372ec32b39acff842702152428
6
+ metadata.gz: 9abe8cff4274e2c944f49dd3bf087773f23289271ae6b99d9d1190fb3e5d230269a32a78b9b7f8200cab1fde00b983078e17d83aae3dd2b8e315ed120e286489
7
+ data.tar.gz: 9dba4bffa1412f0d373ecbe82b5b1e04dc1059230c3b41f33a95c7c7de674bf5e8642c35dae3dfd99242e8afd85499077e833856e9221efcbc14aff654d792e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## unreleased
2
2
 
3
+ ## 2.10.0 - 2023-04-04
4
+
5
+ Identical to 2.10.0.beta2
6
+
3
7
  ## 2.10.0.beta2 - 2023-03-08
4
8
 
5
9
  - fix: incorrect usage keyword parameter (fix for 2.10.0.beta1)
@@ -54,7 +58,7 @@ Identical to 2.9.0.beta3
54
58
 
55
59
  ## 2.2.0 - 2022-08-26
56
60
 
57
- - feat: Add support for the [users.create](https://reference.clerk.dev/reference/backend-api-reference/users#create-a-user) endpoint
61
+ - feat: Add support for the [users.create](https://clerk.com/docs/reference/backend-api/tag/Users#operation/CreateUser) endpoint
58
62
 
59
63
  ## 2.1.2 - 2022-08-26
60
64
 
@@ -67,15 +71,15 @@ Identical to 2.9.0.beta3
67
71
  ## 2.0.0 - 2021-10-21
68
72
 
69
73
  This release introduces the new networkless middleware which works with the new
70
- authentication scheme, [Auth v2](https://docs.clerk.dev/main-concepts/auth-v2).
74
+ authentication scheme, [Auth v2](https://clerk.com/docs/upgrade-guides/auth-v2).
71
75
 
72
76
  It is backwards-incompatible with applications using Auth v1.
73
77
 
74
78
  - [BREAKING]: In order to use this version, you must set the authVersion prop
75
79
  accordingly in your frontend: `Clerk.load({authVersion: 2})`
76
80
 
77
- For more information on Auth v2, please refer to
78
- https://docs.clerk.dev/main-concepts/auth-v2.
81
+ For more information on Auth v2, please refer to
82
+ https://clerk.com/docs/upgrade-guides/auth-v2.
79
83
 
80
84
  ## 1.0.3 - 2021-07-21
81
85
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clerk-sdk-ruby (2.10.0.beta2)
4
+ clerk-sdk-ruby (2.10.0)
5
5
  concurrent-ruby (~> 1.1)
6
6
  faraday (~> 1.4.1)
7
7
  jwt (~> 2.5)
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="https://www.clerk.dev/?utm_source=github&utm_medium=starter_repos&utm_campaign=sdk_ruby" target="_blank" align="center">
2
+ <a href="https://www.clerk.com/?utm_source=github&utm_medium=starter_repos&utm_campaign=sdk_ruby" target="_blank" align="center">
3
3
  <picture>
4
4
  <source media="(prefers-color-scheme: dark)" srcset="./docs/clerk-logo-dark.png">
5
5
  <img src="./docs/clerk-logo-light.png" height="64">
@@ -10,10 +10,10 @@
10
10
 
11
11
  # Clerk Ruby SDK
12
12
 
13
- This SDK allows you to call the [Clerk](https://www.clerk.dev/?utm_source=github&utm_medium=starter_repos&utm_campaign=sdk_ruby) Backend API from Ruby code without having to implement the calls yourself.
13
+ This SDK allows you to call the [Clerk](https://www.clerk.com/?utm_source=github&utm_medium=starter_repos&utm_campaign=sdk_ruby) Backend API from Ruby code without having to implement the calls yourself.
14
14
 
15
15
  [![chat on Discord](https://img.shields.io/discord/856971667393609759.svg?logo=discord)](https://discord.com/invite/b5rXHjAg7A)
16
- [![documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://docs.clerk.dev)
16
+ [![documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://clerk.com/docs)
17
17
  [![twitter](https://img.shields.io/twitter/follow/ClerkDev?style=social)](https://twitter.com/intent/follow?screen_name=ClerkDev)
18
18
 
19
19
  ---
@@ -25,7 +25,7 @@ Would you like to work on Open Source software and help maintain this repository
25
25
  ---
26
26
 
27
27
  **Note**: You're looking at the main branch, which requires that you use [Auth
28
- v2](https://clerk.dev/docs/upgrade-guides/auth-v2).
28
+ v2](https://clerk.com/docs/upgrade-guides/auth-v2).
29
29
 
30
30
  If you're looking for the legacy authentication scheme, refer to the
31
31
  [`v1`](https://github.com/clerkinc/clerk-sdk-ruby/tree/v1) branch.
@@ -49,10 +49,10 @@ Or install it yourself as:
49
49
  ## Quick Start
50
50
 
51
51
  First, you need to get an API key for a Clerk instance. This is done via the
52
- [Clerk dashboard](https://dashboard.clerk.dev/applications).
52
+ [Clerk dashboard](https://dashboard.clerk.com/applications).
53
53
 
54
54
  Then you can instantiate a `Clerk::SDK` instance and access all
55
- [Backend API](https://docs.clerk.dev/backend/backend-api-reference) endpoints.
55
+ [Backend API](https://clerk.com/docs/reference/backend-api) endpoints.
56
56
  Here's a quick example:
57
57
 
58
58
  ```ruby
@@ -156,7 +156,7 @@ API then responds with JSON which is then converted and returned as a Ruby
156
156
  `Hash`, or `Array` of hashes. Errors are also returned as a JSON object, with a
157
157
  single key (`errors`) containing an array of error objects.
158
158
 
159
- Read the [API documentation](https://docs.clerk.dev/backend/backend-api-reference)
159
+ Read the [API documentation](https://clerk.com/docs/reference/backend-api)
160
160
  for details on expected parameters and response formats.
161
161
 
162
162
  ## Development
@@ -24,7 +24,7 @@ module Clerk
24
24
  # which already contains the verified claims as retrieved from the session
25
25
  # token.
26
26
  #
27
- # See https://docs.clerk.dev/reference/backend-api-reference/sessions#verify-a-session
27
+ # See https://clerk.com/docs/reference/backend-api/tag/Sessions#operation/VerifySession
28
28
  def clerk_reverify_session!
29
29
  request.env["clerk"].verify_session
30
30
  end
data/lib/clerk/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Clerk
4
- VERSION = "2.10.0.beta2"
4
+ VERSION = "2.10.0"
5
5
  end
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.10.0.beta2
4
+ version: 2.10.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-03-08 00:00:00.000000000 Z
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -143,9 +143,9 @@ 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: 1.3.1
148
+ version: '0'
149
149
  requirements: []
150
150
  rubygems_version: 3.2.3
151
151
  signing_key: