gamora 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecbfbd0d21575131451160045532e1cb22cb5706a872c0019166e7647a2421cd
|
4
|
+
data.tar.gz: 2014f6cd02eb8210cff2d58da6add30296bd0bf64d3baef379fccdf5d74b0f9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af6267f7be0f268be3cfecbf1f2adab95b95d7c4bffb0d0f57673acf65dc1a420656b786d52484dc37cfa546ffd9f67e8d770c1d4abe5423073be65d69b44512
|
7
|
+
data.tar.gz: 2fa9ca42659f67422a8223ad0131e86e3354f2cb2b3b7d613fd638f0c51398f4a849f6eab0a42c7d75aec5d229fb05f59fbfed0b2c6ad018560836fdc7d8bef1
|
@@ -11,6 +11,7 @@ module Gamora
|
|
11
11
|
def authorization_url
|
12
12
|
Client.from_config.auth_code.authorize_url({
|
13
13
|
scope: Configuration.default_scope,
|
14
|
+
theme: Configuration.default_theme,
|
14
15
|
prompt: Configuration.default_prompt,
|
15
16
|
strategy: Configuration.default_strategy,
|
16
17
|
ui_locales: Configuration.ui_locales.call
|
@@ -21,6 +22,7 @@ module Gamora
|
|
21
22
|
params.permit(
|
22
23
|
:scope,
|
23
24
|
:state,
|
25
|
+
:theme,
|
24
26
|
:prompt,
|
25
27
|
:max_age,
|
26
28
|
:strategy,
|
data/lib/gamora/configuration.rb
CHANGED
@@ -13,6 +13,7 @@ module Gamora
|
|
13
13
|
mattr_accessor :default_scope, default: "openid profile email"
|
14
14
|
mattr_accessor :default_prompt, default: nil
|
15
15
|
mattr_accessor :default_strategy, default: "default"
|
16
|
+
mattr_accessor :default_theme, default: "default"
|
16
17
|
mattr_accessor :ui_locales, default: -> { I18n.locale }
|
17
18
|
|
18
19
|
def setup
|
data/lib/gamora/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gamora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alejandro Gutiérrez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|