decidim-participatory_processes 0.26.3 → 0.26.4
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/participatory_process_groups/content_blocks/title_cell.rb +8 -1
- data/app/serializers/decidim/participatory_processes/participatory_process_importer.rb +1 -1
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/lo-LA.yml +1 -0
- data/lib/decidim/participatory_processes/test/factories.rb +1 -0
- data/lib/decidim/participatory_processes/version.rb +1 -1
- metadata +12 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6a18a67fbb3451961060088981503ad292fd9ed698df7cb824b6751072700bf
|
|
4
|
+
data.tar.gz: cec742d83b1559a3cce16554a7dccdea0e0aa8bebb5a8a27cfab91ecc4227b19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83690a31bee91b34b45798bee534815113b35b439850f8c57c116552d5b6438c779b77d3e0d83942fe50b731bb37c3490485ff847ddc4360bf4c569f84f00d3c
|
|
7
|
+
data.tar.gz: c87a6ec7ef0c123f9d50b999339602dc3d43fe70ce375ec073ce48e986769d14080ba6d4cbb6c1e2c38f9a4bbc5b978cb41d924fbf1aa40736fd827484883602
|
|
@@ -43,11 +43,18 @@ module Decidim
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
def participatory_processes_count
|
|
46
|
-
@participatory_processes_count ||=
|
|
46
|
+
@participatory_processes_count ||= processes.count
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
private
|
|
50
50
|
|
|
51
|
+
def processes
|
|
52
|
+
@processes ||= Decidim::ParticipatoryProcesses::GroupPublishedParticipatoryProcesses.new(
|
|
53
|
+
participatory_process_group,
|
|
54
|
+
current_user
|
|
55
|
+
).query
|
|
56
|
+
end
|
|
57
|
+
|
|
51
58
|
def group_uri
|
|
52
59
|
@group_uri = URI.parse(group_url)
|
|
53
60
|
end
|
|
@@ -55,7 +55,7 @@ module Decidim
|
|
|
55
55
|
def import_process_group(attributes)
|
|
56
56
|
Decidim.traceability.perform_action!("create", ParticipatoryProcessGroup, @user) do
|
|
57
57
|
group = ParticipatoryProcessGroup.find_or_initialize_by(
|
|
58
|
-
title: attributes["title"],
|
|
58
|
+
title: attributes["title"] || attributes["name"],
|
|
59
59
|
description: attributes["description"],
|
|
60
60
|
organization: @organization
|
|
61
61
|
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gn:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
lo:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-participatory_processes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.26.
|
|
4
|
+
version: 0.26.4
|
|
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: 2022-
|
|
13
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: decidim-core
|
|
@@ -18,56 +18,56 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - '='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0.26.
|
|
21
|
+
version: 0.26.4
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - '='
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 0.26.
|
|
28
|
+
version: 0.26.4
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
30
|
name: decidim-admin
|
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
|
32
32
|
requirements:
|
|
33
33
|
- - '='
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
|
-
version: 0.26.
|
|
35
|
+
version: 0.26.4
|
|
36
36
|
type: :development
|
|
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.26.
|
|
42
|
+
version: 0.26.4
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: decidim-dev
|
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
47
|
- - '='
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.26.
|
|
49
|
+
version: 0.26.4
|
|
50
50
|
type: :development
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
54
|
- - '='
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: 0.26.
|
|
56
|
+
version: 0.26.4
|
|
57
57
|
- !ruby/object:Gem::Dependency
|
|
58
58
|
name: decidim-meetings
|
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
|
60
60
|
requirements:
|
|
61
61
|
- - '='
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
|
-
version: 0.26.
|
|
63
|
+
version: 0.26.4
|
|
64
64
|
type: :development
|
|
65
65
|
prerelease: false
|
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
|
67
67
|
requirements:
|
|
68
68
|
- - '='
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
|
-
version: 0.26.
|
|
70
|
+
version: 0.26.4
|
|
71
71
|
description: Participatory processes component for decidim.
|
|
72
72
|
email:
|
|
73
73
|
- josepjaume@gmail.com
|
|
@@ -310,6 +310,7 @@ files:
|
|
|
310
310
|
- config/locales/fr.yml
|
|
311
311
|
- config/locales/ga-IE.yml
|
|
312
312
|
- config/locales/gl.yml
|
|
313
|
+
- config/locales/gn-PY.yml
|
|
313
314
|
- config/locales/hr-HR.yml
|
|
314
315
|
- config/locales/hr.yml
|
|
315
316
|
- config/locales/hu.yml
|
|
@@ -322,6 +323,7 @@ files:
|
|
|
322
323
|
- config/locales/ko.yml
|
|
323
324
|
- config/locales/lb-LU.yml
|
|
324
325
|
- config/locales/lb.yml
|
|
326
|
+
- config/locales/lo-LA.yml
|
|
325
327
|
- config/locales/lt-LT.yml
|
|
326
328
|
- config/locales/lt.yml
|
|
327
329
|
- config/locales/lv.yml
|