decidim-idcat_mobil 0.3.0 → 0.4.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: e8d7bcd138d8bc22fd0e590a0b7e16fe04b05a180ff4dd4a908b62d2cbe9788f
4
- data.tar.gz: '08fa7416fdabbb9e77c17f231a2c1f9875342730558699df0a83e6d73277a512'
3
+ metadata.gz: 9a927c46e7526679976cc90ba4177fab538391701909048db1e633833812c739
4
+ data.tar.gz: 6e4daa2b14aac1694f959394a35eafe44a6e9ea7e9fafa6fc88892610885fa9e
5
5
  SHA512:
6
- metadata.gz: 2a44d4d62a32741d1526514e21a9bddff20517272617d536e01dfc6017f67a170029a95cbb34d55c61f10f83f962eda35bab903a7938e2542d83ab1fa215fd16
7
- data.tar.gz: '03894fa05a0f4294e37952da18b45be05db778ed2585c4c38bfa6fb0ffaef5139dcd624165f7c9bdc84b84bd1620115285c0515a4dc41314910bf6c6dd7d685d'
6
+ metadata.gz: e61b85ffc84b1a35a04e718736115c51363f330911b78d4b0a06477598c17fd1b97745c30e7ddf344fdaaeccb8d6ae84ce9ee3dd08f4d72da781bcc27fd34ef0
7
+ data.tar.gz: 742948914bdc94ce92ceecefcfd2659647412440c49b480f3a20e996f252c5a38fb400285c39064a452c708240c108b23f947bcd979dd9a979b6813b792319bf
data/README.md CHANGED
@@ -31,7 +31,7 @@ Check how to configure the strategy in [Decidim's related documentation](https:/
31
31
  omniauth:
32
32
  idcat_mobil:
33
33
  enabled: true
34
- icon_path: decidim/idcat_mobil/idcat_mobil-icon.svg
34
+ icon_path: media/images/idcat_mobil-icon.svg
35
35
  ```
36
36
 
37
37
  Remember to set `IDCAT_MOBIL_CLIENT_ID`, `IDCAT_MOBIL_CLIENT_SECRET` and `IDCAT_MOBIL_SITE_URL` environment variables.
@@ -10,9 +10,9 @@ if Rails.application.secrets.dig(:omniauth, :idcat_mobil).present?
10
10
  request = Rack::Request.new(env)
11
11
  organization = Decidim::Organization.find_by(host: request.host)
12
12
  provider_config = organization.enabled_omniauth_providers[:idcat_mobil]
13
- env["omniauth.strategy"].options[:client_id] = provider_config[:client_id] || ENV["IDCAT_MOBIL_CLIENT_ID"]
14
- env["omniauth.strategy"].options[:client_secret] = provider_config[:client_secret] || ENV["IDCAT_MOBIL_CLIENT_SECRET"]
15
- env["omniauth.strategy"].options[:site] = provider_config[:site_url] || ENV["IDCAT_MOBIL_SITE_URL"]
13
+ env["omniauth.strategy"].options[:client_id] = provider_config[:client_id] || ENV.fetch("IDCAT_MOBIL_CLIENT_ID", nil)
14
+ env["omniauth.strategy"].options[:client_secret] = provider_config[:client_secret] || ENV.fetch("IDCAT_MOBIL_CLIENT_SECRET", nil)
15
+ env["omniauth.strategy"].options[:site] = provider_config[:site_url] || ENV.fetch("IDCAT_MOBIL_SITE_URL", nil)
16
16
  },
17
17
  scope: :autenticacio_usuari
18
18
  )
@@ -4,11 +4,11 @@ module Decidim
4
4
  module IdcatMobil
5
5
  def self.version
6
6
  # See CHANGELOG.md to see what changed
7
- "0.3.0"
7
+ "0.4.0"
8
8
  end
9
9
 
10
10
  def self.decidim_version
11
- "0.25.2"
11
+ "0.27.0"
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-idcat_mobil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Valls
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2024-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.25.2
19
+ version: 0.27.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.25.2
26
+ version: 0.27.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.25.2
33
+ version: 0.27.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.25.2
40
+ version: 0.27.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: omniauth-idcat_mobil
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.25.2
61
+ version: 0.27.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.25.2
68
+ version: 0.27.0
69
69
  description: User registration, login and verification though VÀLid's IdCat mòbil..
70
70
  email:
71
71
  - oliver.vh@coditramuntana.com
@@ -105,8 +105,9 @@ files:
105
105
  homepage: https://github.com/decidim/decidim-idcat_mobil
106
106
  licenses:
107
107
  - AGPL-3.0
108
- metadata: {}
109
- post_install_message:
108
+ metadata:
109
+ rubygems_mfa_required: 'true'
110
+ post_install_message:
110
111
  rdoc_options: []
111
112
  require_paths:
112
113
  - lib
@@ -114,15 +115,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
115
  requirements:
115
116
  - - ">="
116
117
  - !ruby/object:Gem::Version
117
- version: 2.7.5
118
+ version: 3.0.6
118
119
  required_rubygems_version: !ruby/object:Gem::Requirement
119
120
  requirements:
120
121
  - - ">="
121
122
  - !ruby/object:Gem::Version
122
123
  version: '0'
123
124
  requirements: []
124
- rubygems_version: 3.1.6
125
- signing_key:
125
+ rubygems_version: 3.2.33
126
+ signing_key:
126
127
  specification_version: 4
127
128
  summary: A decidim idcat_mobil module
128
129
  test_files: []