omniauth-google2 1.0.0 → 1.0.1
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 +4 -4
- data/README.md +10 -1
- data/lib/omniauth/google2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3dc62210555931ee8b4613a83c39eb8551c7e56426dd302302744251ddbd7df
|
|
4
|
+
data.tar.gz: fbb1a97f93cee696717df1ca09c7d85a4df479e686de948afcb5c922dc195d7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 979f2852a3d70a8c3ed2d58b2a884b639493278704eb425d9dc66aab096af772ddecf42bef34fd30380fe6f4c3e0e228b59f5770cb855712e9b903d558ed0ca4
|
|
7
|
+
data.tar.gz: 025544cd48657d40aac5f57efd4b4b390a2bffe840c23de4fb44eee4273b097d614e48c10f7df6a75286f2ef42340590edf48740b36cde7ad0a4ef1e2dae7b8e
|
data/README.md
CHANGED
|
@@ -41,7 +41,10 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
|
|
41
41
|
end
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
## Provider App Setup
|
|
45
|
+
|
|
46
|
+
- Google Cloud Console: <https://console.cloud.google.com/apis/credentials>
|
|
47
|
+
- Register callback URL (example): `https://your-app.example.com/auth/google_oauth2/callback`
|
|
45
48
|
|
|
46
49
|
## Options
|
|
47
50
|
|
|
@@ -142,6 +145,12 @@ After a baseline smoke succeeds, run these extra request-phase variants:
|
|
|
142
145
|
|
|
143
146
|
These verify option pass-through and help catch provider-side UX or consent regressions.
|
|
144
147
|
|
|
148
|
+
## Test Structure
|
|
149
|
+
|
|
150
|
+
- `test/omniauth_google2_test.rb`: strategy/unit behavior
|
|
151
|
+
- `test/rails_integration_test.rb`: full Rack/Rails request+callback flow
|
|
152
|
+
- `test/test_helper.rb`: shared test bootstrap
|
|
153
|
+
|
|
145
154
|
## Release
|
|
146
155
|
|
|
147
156
|
Tag releases as `vX.Y.Z`; GitHub Actions publishes the gem to RubyGems.
|