gamora 0.2.0 → 0.3.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: f764dd52b539d07ab42bc00f6eb1883c678ac791ff0eb7f9edc69f959b1df71d
|
4
|
+
data.tar.gz: f67a0f3128c9728e81d67df2fd18c1c8893a4c18902b4f869ae41f3cb2e7050f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f6b7b02f44aede21fb839c0fd4fd2ece348a0c32c30da203ea4941dbe17ae5501b54fa95d379b00c4b39f3adfa8d68ea1fd3b4160d99f19411f614fdfaa6629
|
7
|
+
data.tar.gz: b13d5205e38e4ebc25a5e82c183a5a37f499368cc5f067227efc64a11eb468a9b1ef8dfee8421bd02c1901bfc9c6238a69816b7cf9db8fbf04a85d7eeb910d75
|
@@ -14,6 +14,7 @@ module Gamora
|
|
14
14
|
theme: Configuration.default_theme,
|
15
15
|
prompt: Configuration.default_prompt,
|
16
16
|
strategy: Configuration.default_strategy,
|
17
|
+
branding: Configuration.default_branding,
|
17
18
|
ui_locales: Configuration.ui_locales.call
|
18
19
|
}.merge(authorization_params).compact_blank)
|
19
20
|
end
|
@@ -26,6 +27,7 @@ module Gamora
|
|
26
27
|
:prompt,
|
27
28
|
:max_age,
|
28
29
|
:strategy,
|
30
|
+
:branding,
|
29
31
|
:ui_locales
|
30
32
|
)
|
31
33
|
end
|
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_branding, default: "amco"
|
16
17
|
mattr_accessor :default_theme, default: "default"
|
17
18
|
mattr_accessor :ui_locales, default: -> { I18n.locale }
|
18
19
|
|
data/lib/gamora/version.rb
CHANGED
@@ -15,6 +15,7 @@ Gamora.setup do |config|
|
|
15
15
|
# config.default_scope = "openid profile email"
|
16
16
|
# config.default_prompt = nil
|
17
17
|
# config.default_strategy = "default"
|
18
|
+
# config.default_branding = "amco"
|
18
19
|
# config.default_theme = "default"
|
19
20
|
# config.ui_locales = -> { I18n.locale }
|
20
21
|
end
|
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.3.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-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|