decidim-debates 0.27.0.rc2 → 0.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/debates/debate_m_cell.rb +1 -1
- data/app/forms/decidim/debates/admin/debate_form.rb +1 -0
- data/config/locales/ca.yml +1 -0
- data/config/locales/cs.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es-PY.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fi-plain.yml +1 -0
- data/config/locales/fi.yml +1 -0
- data/config/locales/fr-CA.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/lo-LA.yml +1 -0
- data/config/locales/oc-FR.yml +1 -0
- data/lib/decidim/debates/version.rb +1 -1
- metadata +15 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b56d7f3c0eb7ba98b47a38932af56f298da960efa3a850b98de30ca403063f2
|
4
|
+
data.tar.gz: acf9b5f6148a3f75446fec65303e7013344fc71c48de2457ea29a383a53d888f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de298a9b88b60d508099837a931bdfca7b01aa8c9159c5c7cb4cce1e565c8740de1be4aef8ee27daf36fe421c049ce14b1a9ff2ea9c55f8a8c2487ed7e0f73ab
|
7
|
+
data.tar.gz: e822149c931dac62a33adb8377a16cf81896a406318125e48f1580c6134d251ba27a86ca6670d7c0f1ba193a9ffacca5c82b1ee57c9b8071a586f1bef284fc87
|
@@ -29,6 +29,7 @@ module Decidim
|
|
29
29
|
validates :scope_id, scope_belongs_to_component: true, if: ->(form) { form.scope_id.present? }
|
30
30
|
|
31
31
|
def map_model(model)
|
32
|
+
self.finite = model.start_time.present? && model.end_time.present?
|
32
33
|
self.decidim_category_id = model.categorization.decidim_category_id if model.categorization
|
33
34
|
presenter = DebatePresenter.new(model)
|
34
35
|
|
data/config/locales/ca.yml
CHANGED
data/config/locales/cs.yml
CHANGED
data/config/locales/en.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
data/config/locales/fr.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
gn:
|
data/config/locales/ja.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
lo:
|
@@ -0,0 +1 @@
|
|
1
|
+
oc:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-debates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: decidim-comments
|
@@ -19,56 +19,56 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.27.
|
22
|
+
version: 0.27.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.27.
|
29
|
+
version: 0.27.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: decidim-core
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
34
|
- - '='
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.27.
|
36
|
+
version: 0.27.1
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - '='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.27.
|
43
|
+
version: 0.27.1
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: decidim-admin
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - '='
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.27.
|
50
|
+
version: 0.27.1
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - '='
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.27.
|
57
|
+
version: 0.27.1
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: decidim-dev
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
62
|
- - '='
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0.27.
|
64
|
+
version: 0.27.1
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - '='
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.27.
|
71
|
+
version: 0.27.1
|
72
72
|
description: A debates component for decidim's participatory spaces.
|
73
73
|
email:
|
74
74
|
- josepjaume@gmail.com
|
@@ -187,6 +187,7 @@ files:
|
|
187
187
|
- config/locales/fr.yml
|
188
188
|
- config/locales/ga-IE.yml
|
189
189
|
- config/locales/gl.yml
|
190
|
+
- config/locales/gn-PY.yml
|
190
191
|
- config/locales/hr-HR.yml
|
191
192
|
- config/locales/hr.yml
|
192
193
|
- config/locales/hu.yml
|
@@ -199,6 +200,7 @@ files:
|
|
199
200
|
- config/locales/ko.yml
|
200
201
|
- config/locales/lb-LU.yml
|
201
202
|
- config/locales/lb.yml
|
203
|
+
- config/locales/lo-LA.yml
|
202
204
|
- config/locales/lt-LT.yml
|
203
205
|
- config/locales/lt.yml
|
204
206
|
- config/locales/lv.yml
|
@@ -206,6 +208,7 @@ files:
|
|
206
208
|
- config/locales/mt.yml
|
207
209
|
- config/locales/nl.yml
|
208
210
|
- config/locales/no.yml
|
211
|
+
- config/locales/oc-FR.yml
|
209
212
|
- config/locales/om-ET.yml
|
210
213
|
- config/locales/pl.yml
|
211
214
|
- config/locales/pt-BR.yml
|
@@ -273,9 +276,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
273
276
|
version: '3.0'
|
274
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
275
278
|
requirements:
|
276
|
-
- - "
|
279
|
+
- - ">="
|
277
280
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
281
|
+
version: '0'
|
279
282
|
requirements: []
|
280
283
|
rubygems_version: 3.2.22
|
281
284
|
signing_key:
|