stytch 4.5.1 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stytch/client.rb +1 -1
- data/lib/stytch/middleware.rb +1 -1
- data/lib/stytch/version.rb +1 -1
- data/lib/stytch.rb +0 -1
- data/stytch.gemspec +1 -2
- metadata +6 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48c88e32cfa3d135b1049e3c3d8e68883a119dd7d5a2bfcf75b60a576da4dffa
|
4
|
+
data.tar.gz: c3bce6ed9f922eaaa0aafab1b7f240fddc1f8e6001c192c8e0c41b05a1ac58e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d876756802645c4e39fc45ea4059001cb55746144c1ff6cc4b2b64ef3d05bacb68b104276e79728cf3ce91decb9bc7143b8c787d133d15d4eb3744a40896b47
|
7
|
+
data.tar.gz: b3e3ba19c90c0ebe631a2adc97662762932afd3ac3fe48cf4a5dbadae8d43cd01639a2db5e491cf057eee97a23693fb3fd45fd681f4884cd0e2bfbbb618513dd
|
data/lib/stytch/client.rb
CHANGED
@@ -58,7 +58,7 @@ module Stytch
|
|
58
58
|
@connection = Faraday.new(url: @api_host) do |builder|
|
59
59
|
block_given? ? yield(builder) : build_default_connection(builder)
|
60
60
|
end
|
61
|
-
@connection.
|
61
|
+
@connection.set_basic_auth(@project_id, @secret)
|
62
62
|
end
|
63
63
|
|
64
64
|
def build_default_connection(builder)
|
data/lib/stytch/middleware.rb
CHANGED
@@ -7,7 +7,7 @@ require 'uri'
|
|
7
7
|
require_relative 'version'
|
8
8
|
|
9
9
|
module Stytch
|
10
|
-
class Middleware < ::Faraday::
|
10
|
+
class Middleware < ::Faraday::Middleware
|
11
11
|
NETWORK_HEADERS = {
|
12
12
|
'User-Agent' => "Stytch Ruby v#{Stytch::VERSION}",
|
13
13
|
'Content-Type' => 'application/json'
|
data/lib/stytch/version.rb
CHANGED
data/lib/stytch.rb
CHANGED
data/stytch.gemspec
CHANGED
@@ -25,8 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
|
-
spec.add_dependency 'faraday', '>= 0.
|
29
|
-
spec.add_dependency 'faraday_middleware', '>= 0.14.0', '< 2.0'
|
28
|
+
spec.add_dependency 'faraday', '>= 2.0.1', '< 3.0'
|
30
29
|
spec.add_dependency 'json-jwt', '>= 1.13.0'
|
31
30
|
spec.add_dependency 'jwt', '>= 2.3.0'
|
32
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stytch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,40 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 2.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 2.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: faraday_middleware
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 0.14.0
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '2.0'
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 0.14.0
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '2.0'
|
32
|
+
version: '3.0'
|
53
33
|
- !ruby/object:Gem::Dependency
|
54
34
|
name: json-jwt
|
55
35
|
requirement: !ruby/object:Gem::Requirement
|