gamora 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cd6b80cc6b032dda4a916030c007de815ab7bbe86b9206797310fad36c7a70f
4
- data.tar.gz: aad80d59d2dcf567445aade639916019cbc3e6570d3f9a73bde6bfd4647f26fe
3
+ metadata.gz: ecbfbd0d21575131451160045532e1cb22cb5706a872c0019166e7647a2421cd
4
+ data.tar.gz: 2014f6cd02eb8210cff2d58da6add30296bd0bf64d3baef379fccdf5d74b0f9a
5
5
  SHA512:
6
- metadata.gz: 98b0c4b20abaecc2ed9042e6d04d565325b3fbc71a37f152520aec9f9f56043429843d13dd879415f961593dca7ee6f405b92f08ef85a122fe51813448e203bf
7
- data.tar.gz: 6518ea2fdb5ed87f69afc422bd38ca1a82a3aea6b313ea6abef5adb057366b5d0f6fc16d11b002ca6b8bede834c90cb126f38880b19dc53bcb8d0e67e27584ea
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,
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gamora
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
@@ -15,5 +15,6 @@ 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_theme = "default"
18
19
  # config.ui_locales = -> { I18n.locale }
19
20
  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.1.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-05-20 00:00:00.000000000 Z
11
+ date: 2022-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2