decidim-initiatives 0.31.0.rc2 → 0.31.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: 99cfd2ebd77d30bc768abc6dee0c510cce13449cf6fb6a3deb696ed1a5527ae2
4
- data.tar.gz: af50d4a3b4351347748d3d56c4d19bf2be0d20dbdbcc92c472bf9edd3bfbaf75
3
+ metadata.gz: bc24168a262a645bb45f7b9e6e779f3bcf624b2fc7a8eece30a1fa76f463c882
4
+ data.tar.gz: 9418d15a5104e4ded9a634b70b585ffb60fc4730cd94c235e74f539437f083f9
5
5
  SHA512:
6
- metadata.gz: b0775a69e3c486d0770ef2ae388f12d40106275153096bbd55fb7e794badf171cfe0d33fd660fc8b125591e9a2c65189a1772c1e95ed2baa840d081d23c3e14d
7
- data.tar.gz: 40679d9f68c7f48548e8ffc538cdca7b42fab2259dd154192c1c33109e8d7c73ae5ba7a38a741d9d81fe322e4434ef2b0e9c365759998e5dbc823b3216ac1fa4
6
+ metadata.gz: 740af797fc7480a95a470d3d2095a041426b42c814647fc8e4e770e10cc55449b7bddd911e02fbcc9c43e7ce359607fa8708d4ea6c53036afe6cf1cc601d69a5
7
+ data.tar.gz: 5b3aa402f06159898bdfa0fb2e4d98aeed87ce1744ca3740b426e8f0f3e5e2dba5e356b5020d7091b9a38d8e46ddbf8431ddaaf2ddfb8f49fae73d9fdbb966f0
@@ -101,6 +101,12 @@ module Decidim
101
101
  Decidim.icons.register(name: "forbid-line", icon: "forbid-line", category: "system", description: "", engine: :initiatives)
102
102
  end
103
103
 
104
+ initializer "decidim_initiatives.data_migrate", after: "decidim_core.data_migrate" do
105
+ DataMigrate.configure do |config|
106
+ config.data_migrations_path << root.join("db/data").to_s
107
+ end
108
+ end
109
+
104
110
  initializer "decidim_initiatives.stats" do
105
111
  Decidim.stats.register :initiatives_count,
106
112
  priority: StatsRegistry::HIGH_PRIORITY,
@@ -57,8 +57,8 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
57
57
  ]
58
58
 
59
59
  participatory_space.exports :initiatives do |export|
60
- export.collection do
61
- Decidim::Initiative.public_spaces
60
+ export.collection do |participatory_space, _user|
61
+ Decidim::Initiative.public_spaces.where(id: participatory_space)
62
62
  end
63
63
 
64
64
  export.include_in_open_data = true
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-initiatives version.
5
5
  module Initiatives
6
6
  def self.version
7
- "0.31.0.rc2"
7
+ "0.31.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-initiatives
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0.rc2
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-28 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,84 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.31.0.rc2
19
+ version: 0.31.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.31.0.rc2
26
+ version: 0.31.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.31.0.rc2
33
+ version: 0.31.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.31.0.rc2
40
+ version: 0.31.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.31.0.rc2
47
+ version: 0.31.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.31.0.rc2
54
+ version: 0.31.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-verifications
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.31.0.rc2
61
+ version: 0.31.0
62
62
  type: :runtime
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.31.0.rc2
68
+ version: 0.31.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-dev
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.31.0.rc2
75
+ version: 0.31.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.31.0.rc2
82
+ version: 0.31.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: decidim-meetings
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.31.0.rc2
89
+ version: 0.31.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.31.0.rc2
96
+ version: 0.31.0
97
97
  description: Participants initiatives plugin for decidim.
98
98
  email:
99
99
  - jsperezg@gmail.com