openauth 0.7.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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +17 -0
  4. data/lib/openauth.rb +17 -0
  5. metadata +61 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a558e75e1573eb96c2e54f8cca84c9d2dd2c66f32a526598603e742f0b6c9fd4
4
+ data.tar.gz: 0c11831621aa15a58de26b97455c07f1b94364bf66b002ce56c1abe81ee876fa
5
+ SHA512:
6
+ metadata.gz: 1d399a3684cdd60f2233a826d0bcff3ab2a7f63a39f7aa6efe920c1d9efd3e707f0a8d443b2eea2945fd61d6cb903d3696aa3ee056523440ba9ed44fa8f5035b
7
+ data.tar.gz: a2fde1f3842366f291d25f4ca35b6b9e1eab660bcac0c070848514a9aac800096158e2dba9bcc3179badbf597d21275d16b15b72dd755b9dbdb7ecb710c01643
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.7.0
4
+
5
+ - Initial alias package for `better_auth`.
data/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # openauth
2
+
3
+ Alias package for Better Auth Ruby.
4
+
5
+ ## Installation
6
+
7
+ ```ruby
8
+ gem "openauth"
9
+ ```
10
+
11
+ ```ruby
12
+ require "openauth"
13
+ ```
14
+
15
+ This package depends on `better_auth` and loads the canonical Better Auth Ruby implementation.
16
+
17
+ For documentation, visit https://better-auth-rb.vercel.app/.
data/lib/openauth.rb ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "better_auth"
4
+
5
+ module OpenAuth
6
+ VERSION = BetterAuth::VERSION unless const_defined?(:VERSION, false)
7
+
8
+ def self.auth(...)
9
+ BetterAuth.auth(...)
10
+ end
11
+
12
+ def self.const_missing(name)
13
+ BetterAuth.const_get(name)
14
+ rescue NameError
15
+ super
16
+ end
17
+ end
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: openauth
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.0
5
+ platform: ruby
6
+ authors:
7
+ - Sebastian Sala
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: better_auth
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '='
17
+ - !ruby/object:Gem::Version
18
+ version: 0.7.0
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - '='
24
+ - !ruby/object:Gem::Version
25
+ version: 0.7.0
26
+ description: OpenAuth is an alias package that installs better_auth. Use Better Auth
27
+ Ruby documentation for the canonical API.
28
+ email:
29
+ - sebastian.sala.tech@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - CHANGELOG.md
35
+ - README.md
36
+ - lib/openauth.rb
37
+ homepage: https://better-auth-rb.vercel.app/
38
+ licenses:
39
+ - MIT
40
+ metadata:
41
+ homepage_uri: https://better-auth-rb.vercel.app/
42
+ source_code_uri: https://github.com/sebasxsala/better-auth
43
+ bug_tracker_uri: https://github.com/sebasxsala/better-auth/issues
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 3.2.0
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubygems_version: 3.6.9
59
+ specification_version: 4
60
+ summary: Alias package for Better Auth Ruby
61
+ test_files: []