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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fab5be1a72275d74438c9474395018e2ec6820ce43d222fe0a252f77f835fd3
4
- data.tar.gz: 4762a3d6f218f65c360a25a60c7717d1216972e163d49a5a17bba1b408a1ef30
3
+ metadata.gz: 8b56d7f3c0eb7ba98b47a38932af56f298da960efa3a850b98de30ca403063f2
4
+ data.tar.gz: acf9b5f6148a3f75446fec65303e7013344fc71c48de2457ea29a383a53d888f
5
5
  SHA512:
6
- metadata.gz: 0ab714005a3269dc998591084fe53794840ad1ab3c4b265fda289f87a466fd375714037eb9cda73471e8abdc57a108d90a7085b966f819f461cc581f282fdf24
7
- data.tar.gz: ce7ceaea9b4d8b0a81a993b220f02c3207f245a7354692fa1b1eec89e9bb6fb8d9ac9ef412a7fa2f86344606beec5544beccabbdaeb0200af618d8331d97b52f
6
+ metadata.gz: de298a9b88b60d508099837a931bdfca7b01aa8c9159c5c7cb4cce1e565c8740de1be4aef8ee27daf36fe421c049ce14b1a9ff2ea9c55f8a8c2487ed7e0f73ab
7
+ data.tar.gz: e822149c931dac62a33adb8377a16cf81896a406318125e48f1580c6134d251ba27a86ca6670d7c0f1ba193a9ffacca5c82b1ee57c9b8071a586f1bef284fc87
@@ -32,7 +32,7 @@ module Decidim
32
32
  private
33
33
 
34
34
  def title
35
- presenter.title
35
+ presenter.title(html_escape: true)
36
36
  end
37
37
 
38
38
  def body
@@ -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
 
@@ -11,6 +11,7 @@ ca:
11
11
  end_time: Data de finalització
12
12
  information_updates: Actualitzacions d'informació
13
13
  instructions: Instruccions per participar
14
+ scope_id: Àmbit
14
15
  start_time: Data d'inici
15
16
  title: Títol
16
17
  user_group_id: Crea un debat com
@@ -11,6 +11,7 @@ cs:
11
11
  end_time: Končí v
12
12
  information_updates: Aktualizace informací
13
13
  instructions: Pokyny k účasti
14
+ scope_id: Oblast působnosti
14
15
  start_time: Začíná v
15
16
  title: Titul
16
17
  user_group_id: Vytvořte debatu jako
@@ -11,6 +11,7 @@ en:
11
11
  end_time: Ends at
12
12
  information_updates: Information updates
13
13
  instructions: Instructions to participate
14
+ scope_id: Scope
14
15
  start_time: Starts at
15
16
  title: Title
16
17
  user_group_id: Create debate as
@@ -11,6 +11,7 @@ es-MX:
11
11
  end_time: Fecha de fin
12
12
  information_updates: Actualizaciones de información
13
13
  instructions: Instrucciones para participar
14
+ scope_id: Ámbito
14
15
  start_time: Fecha de inicio
15
16
  title: Título
16
17
  user_group_id: Crear debate como
@@ -11,6 +11,7 @@ es-PY:
11
11
  end_time: Fecha de fin
12
12
  information_updates: Actualizaciones de información
13
13
  instructions: Instrucciones para participar
14
+ scope_id: Ámbito
14
15
  start_time: Fecha de inicio
15
16
  title: Título
16
17
  user_group_id: Crear debate como
@@ -11,6 +11,7 @@ es:
11
11
  end_time: Fecha de finalización
12
12
  information_updates: Actualizaciones de información
13
13
  instructions: Instrucciones para participar
14
+ scope_id: Ámbito
14
15
  start_time: Fecha de inicio
15
16
  title: Título
16
17
  user_group_id: Crea un debate como
@@ -11,6 +11,7 @@ fi-pl:
11
11
  end_time: Päättymisaika
12
12
  information_updates: Tietojen päivitykset
13
13
  instructions: Osallistumisohjeet
14
+ scope_id: Teema
14
15
  start_time: Alkamisaika
15
16
  title: Otsikko
16
17
  user_group_id: Luo keskustelu käyttäjänä
@@ -11,6 +11,7 @@ fi:
11
11
  end_time: Päättymisaika
12
12
  information_updates: Tietojen päivitykset
13
13
  instructions: Osallistumisohjeet
14
+ scope_id: Teema
14
15
  start_time: Alkamisaika
15
16
  title: Otsikko
16
17
  user_group_id: Luo keskustelu käyttäjänä
@@ -11,6 +11,7 @@ fr-CA:
11
11
  end_time: Prend fin à
12
12
  information_updates: Informations mises à jour
13
13
  instructions: Instructions pour participer
14
+ scope_id: Périmètre d'application
14
15
  start_time: Commence à
15
16
  title: Titre
16
17
  user_group_id: Créer un débat en tant que
@@ -11,6 +11,7 @@ fr:
11
11
  end_time: Prend fin à
12
12
  information_updates: Informations mises à jour
13
13
  instructions: Instructions pour participer
14
+ scope_id: Périmètre d'application
14
15
  start_time: Commence à
15
16
  title: Titre
16
17
  user_group_id: Créer un débat en tant que
@@ -0,0 +1 @@
1
+ gn:
@@ -11,6 +11,7 @@ ja:
11
11
  end_time: 終了時刻
12
12
  information_updates: 情報の更新
13
13
  instructions: 参加方法
14
+ scope_id: スコープ
14
15
  start_time: 開始
15
16
  title: タイトル
16
17
  user_group_id: ディベートを作成
@@ -0,0 +1 @@
1
+ lo:
@@ -0,0 +1 @@
1
+ oc:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-debates version.
5
5
  module Debates
6
6
  def self.version
7
- "0.27.0.rc2"
7
+ "0.27.1"
8
8
  end
9
9
  end
10
10
  end
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.0.rc2
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-09-19 00:00:00.000000000 Z
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.0.rc2
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.0.rc2
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.0.rc2
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.0.rc2
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.0.rc2
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.0.rc2
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.0.rc2
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.0.rc2
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: 1.3.1
281
+ version: '0'
279
282
  requirements: []
280
283
  rubygems_version: 3.2.22
281
284
  signing_key: