better_auth-rails 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d53af856a214f6ba70cca2dc5f8ff61c9429adf62fa8850cd8a41ba66154ee8b
|
|
4
|
+
data.tar.gz: 1cd3587e1ded94d8600908036a80b900495de4f49647404b17d28cd3141e3581
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1e55f73a678d9e328543ca7082a981df44340a41d61dc9978b37eb74121ef8d5d7e6874fa4f0021cf2422cd65d1c7ab2c08906c0f676f9d9ef33ef5a71540706
|
|
7
|
+
data.tar.gz: 1b004d2801b43274b8bb3803e943424e7c434813560856f369e294978d41747927e37e84815df71732040a8a58be889f8172013b8b3ad59898bb1bba4a52a91d
|
|
@@ -6,10 +6,10 @@ BetterAuth::Rails.configure do |config|
|
|
|
6
6
|
Rails.application.credentials.secret_key_base ||
|
|
7
7
|
Rails.application.secret_key_base
|
|
8
8
|
|
|
9
|
-
config.base_url =
|
|
9
|
+
config.base_url = BetterAuth::Env.get("BETTER_AUTH_URL")
|
|
10
10
|
config.base_path = "/api/auth"
|
|
11
11
|
config.trusted_origins = [
|
|
12
|
-
|
|
12
|
+
BetterAuth::Env.get("BETTER_AUTH_URL")
|
|
13
13
|
].compact
|
|
14
14
|
|
|
15
15
|
# Rails apps use BetterAuth::Rails::ActiveRecordAdapter by default.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: better_auth-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastian Sala
|
|
@@ -181,8 +181,9 @@ dependencies:
|
|
|
181
181
|
- - "~>"
|
|
182
182
|
- !ruby/object:Gem::Version
|
|
183
183
|
version: '0.5'
|
|
184
|
-
description: Rails integration for Better Auth Ruby.
|
|
185
|
-
|
|
184
|
+
description: Rails integration for Better Auth Ruby. Better Auth Ruby is an independent
|
|
185
|
+
modern authentication framework for Ruby inspired by Better Auth. Provides middleware,
|
|
186
|
+
controller helpers, and generators.
|
|
186
187
|
email:
|
|
187
188
|
- sebastian.sala.tech@gmail.com
|
|
188
189
|
executables: []
|