decidim-idcat_mobil 0.2.1 → 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: 62fd4e5c790bf8b6ca4cd394116ba472ffca3423f5bd11b7835dcd57387fd634
4
- data.tar.gz: 6fcc2cdd7f9b72a646656e084b7e7fc5f09b6cef85b93a6672580e86325e181b
3
+ metadata.gz: 9a927c46e7526679976cc90ba4177fab538391701909048db1e633833812c739
4
+ data.tar.gz: 6e4daa2b14aac1694f959394a35eafe44a6e9ea7e9fafa6fc88892610885fa9e
5
5
  SHA512:
6
- metadata.gz: 0aa67ef9ff8b221c76bc4123bde06a5a7d5571a3cfcd4bc1bad7565520801a7b5f3e032e0aee68faa6dbac5ab68011567c6d1b0ac3029e1a61e1c43575734954
7
- data.tar.gz: 1a9e06f2c05666bf56c97771a8d7d989e75428965153adeb31771d9d9ee54418754b687f46fd08920e10aed5a9d18fb385d755052749278514015c6f7cba37dc
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.2.1"
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.2.1
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: 2022-06-22 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,56 +16,56 @@ 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
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.0
47
+ version: 0.5.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.0
54
+ version: 0.5.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
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.2
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.4
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: []