devise_social 0.0.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 +7 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +32 -0
- data/lib/devise_social/version.rb +5 -0
- data/lib/devise_social.rb +8 -0
- metadata +53 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 10544343aa6e79d522b9ad4254146ff9442ac6b8c19b3ef2d02898103e16b2bb
|
|
4
|
+
data.tar.gz: cb4ce8939cf22ad116852901d28ec64107e5979df174dcc90ff0be10b7e78e95
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 5b56f5d04476b2d1328cfe52c5dee6e14e44a18ee902ea1ce1718d944950cae687033f88c7cada248a3d0c9efa4e34ed957b128d31f4218d5b6dff00064b2ea3
|
|
7
|
+
data.tar.gz: c30af5270bbab71166b6ac07b7dfca509964296e27f6e68a9b9fc65163b36121293c2e0512b281dd115dfad646ce41089bcfe1bba185595fcbeb8a08ab69ca08
|
data/CHANGELOG.md
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fernando Requeni Nacher
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# devise_social
|
|
2
|
+
|
|
3
|
+
> **Status: placeholder release (0.0.0).** This version contains no functionality.
|
|
4
|
+
> It reserves the gem name while the implementation is being built. Do not depend
|
|
5
|
+
> on it yet — the first usable release will be `0.1.0`.
|
|
6
|
+
|
|
7
|
+
A companion gem for [Devise](https://github.com/heartcombo/devise) that makes adding
|
|
8
|
+
social login (Google, Apple, GitHub, Facebook, Microsoft) to an existing Devise app
|
|
9
|
+
a one-command affair.
|
|
10
|
+
|
|
11
|
+
Devise already supports OmniAuth natively through its `:omniauthable` module.
|
|
12
|
+
`devise_social` does not replace that — it wraps it in a generator and a small
|
|
13
|
+
configuration DSL so that installing it looks like this:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bundle add devise_social
|
|
17
|
+
rails g devise_social:install google_oauth2 apple github
|
|
18
|
+
rails db:migrate
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Planned for 0.1.0
|
|
22
|
+
|
|
23
|
+
- A frozen provider registry — adding a provider is one entry, nothing else.
|
|
24
|
+
- A `DeviseSocial.configure` DSL that only asks for `client_id` / `client_secret`.
|
|
25
|
+
- A `devise_social_identities` table, so one user can link several providers.
|
|
26
|
+
- Identity resolution that refuses to auto-link accounts on unverified emails.
|
|
27
|
+
- An Apple `client_secret` JWT generator (Apple's secret is a signed, expiring token).
|
|
28
|
+
- A generated OmniAuth callbacks controller and a ready-to-render button partial.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
Released under the [MIT License](LICENSE.txt).
|
metadata
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: devise_social
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Fernando Requeni Nacher
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-07-21 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: 'A Devise companion gem that wraps OmniAuth in a generator and a configuration
|
|
14
|
+
DSL, so adding Google, Apple, GitHub, Facebook or Microsoft sign-in takes a single
|
|
15
|
+
command. Placeholder release: the implementation ships in 0.1.0.'
|
|
16
|
+
email:
|
|
17
|
+
- ferrenac@icloud.com
|
|
18
|
+
executables: []
|
|
19
|
+
extensions: []
|
|
20
|
+
extra_rdoc_files: []
|
|
21
|
+
files:
|
|
22
|
+
- CHANGELOG.md
|
|
23
|
+
- LICENSE.txt
|
|
24
|
+
- README.md
|
|
25
|
+
- lib/devise_social.rb
|
|
26
|
+
- lib/devise_social/version.rb
|
|
27
|
+
homepage: https://github.com/rekeny/devise_social
|
|
28
|
+
licenses:
|
|
29
|
+
- MIT
|
|
30
|
+
metadata:
|
|
31
|
+
homepage_uri: https://github.com/rekeny/devise_social
|
|
32
|
+
source_code_uri: https://github.com/rekeny/devise_social
|
|
33
|
+
changelog_uri: https://github.com/rekeny/devise_social/blob/main/CHANGELOG.md
|
|
34
|
+
post_install_message:
|
|
35
|
+
rdoc_options: []
|
|
36
|
+
require_paths:
|
|
37
|
+
- lib
|
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 3.1.0
|
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
requirements: []
|
|
49
|
+
rubygems_version: 3.4.10
|
|
50
|
+
signing_key:
|
|
51
|
+
specification_version: 4
|
|
52
|
+
summary: Drop-in social login for Rails apps that already use Devise.
|
|
53
|
+
test_files: []
|