decidim-system 0.29.2 → 0.30.0.rc2
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 +4 -4
- data/app/cells/decidim/system/system_checks_cell.rb +1 -1
- data/app/forms/decidim/system/base_organization_form.rb +5 -5
- data/app/forms/decidim/system/update_organization_form.rb +1 -1
- data/decidim-system.gemspec +1 -1
- data/lib/decidim/system/engine.rb +0 -1
- data/lib/decidim/system/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d0894650a4479ca64fb4c489588597b242add5a8bb4a6da55ab56b05c19da35
|
4
|
+
data.tar.gz: 22412906162f6209bcbf876b471e1ef5a868adc209d7df8e036cce3bb1d38b8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfe3dbfa025d712159bbd36a4fd59f7668275acf3871527e462893fb551aa0e26ba411d3554e480709e7b47be8948fd6aad6d100784892c077897852fff56ba1
|
7
|
+
data.tar.gz: a7e65db4a6b7fbdc939fd626ac5b5f21d68ab0fca4b0024bf9fc1a23280a8d23eb9f96fab8263c0db905db7cdbf706fa5399630b9c9d17f1f30790c47f79ece8
|
@@ -48,9 +48,9 @@ module Decidim
|
|
48
48
|
OMNIATH_PROVIDERS_ATTRIBUTES = Decidim::OmniauthProvider.available.keys.map do |provider|
|
49
49
|
Rails.application.secrets.dig(:omniauth, provider).keys.map do |setting|
|
50
50
|
if setting == :enabled
|
51
|
-
["omniauth_settings_#{provider}_enabled"
|
51
|
+
[:"omniauth_settings_#{provider}_enabled", Boolean]
|
52
52
|
else
|
53
|
-
["omniauth_settings_#{provider}_#{setting}"
|
53
|
+
[:"omniauth_settings_#{provider}_#{setting}", String]
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end.flatten(1)
|
@@ -74,13 +74,13 @@ module Decidim
|
|
74
74
|
def clean_secondary_hosts
|
75
75
|
return unless secondary_hosts
|
76
76
|
|
77
|
-
secondary_hosts.split("\n").map(&:chomp).
|
77
|
+
secondary_hosts.split("\n").map(&:chomp).compact_blank
|
78
78
|
end
|
79
79
|
|
80
80
|
def clean_available_authorizations
|
81
81
|
return unless available_authorizations
|
82
82
|
|
83
|
-
available_authorizations.
|
83
|
+
available_authorizations.compact_blank
|
84
84
|
end
|
85
85
|
|
86
86
|
def password
|
@@ -114,7 +114,7 @@ module Decidim
|
|
114
114
|
# We need a valid secret key base for encrypting the SMTP password with it
|
115
115
|
# It is also necessary for other things in Rails (like Cookies encryption)
|
116
116
|
def validate_secret_key_base_for_encryption
|
117
|
-
return if Rails.application.
|
117
|
+
return if Rails.application.secret_key_base&.length == 128
|
118
118
|
|
119
119
|
errors.add(:password, I18n.t("activemodel.errors.models.organization.attributes.password.secret_key"))
|
120
120
|
end
|
@@ -14,7 +14,7 @@ module Decidim
|
|
14
14
|
private
|
15
15
|
|
16
16
|
def validate_organization_name_presence
|
17
|
-
translated_attr = "name_#{current_organization.try(:default_locale) || Decidim.default_locale.to_s}"
|
17
|
+
translated_attr = :"name_#{current_organization.try(:default_locale) || Decidim.default_locale.to_s}"
|
18
18
|
errors.add(translated_attr, :blank) if send(translated_attr).blank?
|
19
19
|
end
|
20
20
|
|
data/decidim-system.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
"homepage_uri" => "https://decidim.org",
|
20
20
|
"source_code_uri" => "https://github.com/decidim/decidim"
|
21
21
|
}
|
22
|
-
s.required_ruby_version = "~> 3.
|
22
|
+
s.required_ruby_version = "~> 3.3.0"
|
23
23
|
|
24
24
|
s.name = "decidim-system"
|
25
25
|
s.summary = "Decidim system administration"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2025-
|
13
|
+
date: 2025-03-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.30.0.rc2
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.30.0.rc2
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
97
|
+
version: 0.30.0.rc2
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
104
|
+
version: 0.30.0.rc2
|
105
105
|
description: System administration to create new organization in an installation.
|
106
106
|
email:
|
107
107
|
- josepjaume@gmail.com
|
@@ -293,14 +293,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
293
293
|
requirements:
|
294
294
|
- - "~>"
|
295
295
|
- !ruby/object:Gem::Version
|
296
|
-
version: 3.
|
296
|
+
version: 3.3.0
|
297
297
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
298
298
|
requirements:
|
299
299
|
- - ">="
|
300
300
|
- !ruby/object:Gem::Version
|
301
301
|
version: '0'
|
302
302
|
requirements: []
|
303
|
-
rubygems_version: 3.
|
303
|
+
rubygems_version: 3.5.11
|
304
304
|
signing_key:
|
305
305
|
specification_version: 4
|
306
306
|
summary: Decidim system administration
|