decidim-consultations 0.22.0 → 0.23.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/consultations/admin/update_consultation.rb +9 -4
  3. data/app/forms/decidim/consultations/admin/consultation_form.rb +5 -6
  4. data/app/forms/decidim/consultations/admin/question_form.rb +5 -6
  5. data/app/models/decidim/consultation.rb +9 -0
  6. data/app/models/decidim/consultations/question.rb +12 -1
  7. data/app/models/decidim/consultations/response.rb +4 -0
  8. data/app/models/decidim/consultations/response_group.rb +4 -0
  9. data/app/presenters/decidim/consultations/question_stats_presenter.rb +1 -1
  10. data/app/views/decidim/consultations/consultations/_consultation_details.html.erb +1 -1
  11. data/app/views/decidim/consultations/questions/_vote_modal_confirm.html.erb +1 -1
  12. data/app/views/decidim/consultations/questions/show.html.erb +1 -1
  13. data/app/views/layouts/decidim/consultation.html.erb +1 -0
  14. data/config/locales/am-ET.yml +1 -0
  15. data/config/locales/bg.yml +1 -0
  16. data/config/locales/cs.yml +8 -8
  17. data/config/locales/da.yml +1 -0
  18. data/config/locales/de.yml +5 -5
  19. data/config/locales/eo.yml +1 -0
  20. data/config/locales/et.yml +1 -0
  21. data/config/locales/fi-plain.yml +1 -1
  22. data/config/locales/fi.yml +3 -3
  23. data/config/locales/fr.yml +2 -2
  24. data/config/locales/hr.yml +1 -0
  25. data/config/locales/is.yml +185 -0
  26. data/config/locales/ja-JP.yml +39 -39
  27. data/config/locales/ja.yml +367 -0
  28. data/config/locales/ko-KR.yml +1 -0
  29. data/config/locales/ko.yml +1 -0
  30. data/config/locales/lt.yml +1 -0
  31. data/config/locales/{lv-LV.yml → lv.yml} +0 -0
  32. data/config/locales/mt.yml +1 -0
  33. data/config/locales/nl.yml +6 -6
  34. data/config/locales/no.yml +2 -0
  35. data/config/locales/om-ET.yml +1 -0
  36. data/config/locales/pl.yml +10 -10
  37. data/config/locales/si-LK.yml +1 -0
  38. data/config/locales/sl.yml +4 -0
  39. data/config/locales/so-SO.yml +1 -0
  40. data/config/locales/sw-KE.yml +1 -0
  41. data/config/locales/ti-ER.yml +1 -0
  42. data/config/locales/tr-TR.yml +115 -40
  43. data/config/locales/vi-VN.yml +1 -0
  44. data/config/locales/vi.yml +1 -0
  45. data/config/locales/zh-CN.yml +367 -0
  46. data/config/locales/zh-TW.yml +1 -0
  47. data/db/migrate/20200827154143_add_commentable_counter_cache_to_consultations.rb +9 -0
  48. data/lib/decidim/consultations/admin_engine.rb +1 -0
  49. data/lib/decidim/consultations/participatory_space.rb +17 -17
  50. data/lib/decidim/consultations/test/factories.rb +1 -0
  51. data/lib/decidim/consultations/version.rb +1 -1
  52. metadata +38 -16
@@ -22,6 +22,7 @@ FactoryBot.define do
22
22
  published_at { Time.current }
23
23
  start_voting_date { Time.zone.today }
24
24
  end_voting_date { Time.zone.today + 1.month }
25
+ introductory_image { Decidim::Dev.test_file("city.jpeg", "image/jpeg") }
25
26
  introductory_video_url { "https://www.youtube.com/embed/zhMMW0TENNA" }
26
27
  decidim_highlighted_scope_id { create(:scope, organization: organization).id }
27
28
  results_published_at { nil }
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Consultations
5
5
  def self.version
6
- "0.22.0"
6
+ "0.23.3"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-consultations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-01 00:00:00.000000000 Z
11
+ date: 2021-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.22.0
19
+ version: 0.23.3
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.22.0
26
+ version: 0.23.3
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.22.0
33
+ version: 0.23.3
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.22.0
40
+ version: 0.23.3
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.22.0
47
+ version: 0.23.3
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.22.0
54
+ version: 0.23.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.22.0
61
+ version: 0.23.3
62
62
  type: :development
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.22.0
68
+ version: 0.23.3
69
69
  description: Extends Decidim adding a first level public consultation component
70
70
  email:
71
71
  - jsperezg@gmail.com
@@ -246,22 +246,27 @@ files:
246
246
  - app/views/layouts/decidim/consultation_choose.html.erb
247
247
  - app/views/layouts/decidim/question.html.erb
248
248
  - app/views/layouts/decidim/question_multivote.html.erb
249
+ - config/locales/am-ET.yml
249
250
  - config/locales/ar-SA.yml
250
251
  - config/locales/ar.yml
251
252
  - config/locales/bg-BG.yml
253
+ - config/locales/bg.yml
252
254
  - config/locales/ca.yml
253
255
  - config/locales/cs-CZ.yml
254
256
  - config/locales/cs.yml
255
257
  - config/locales/da-DK.yml
258
+ - config/locales/da.yml
256
259
  - config/locales/de.yml
257
260
  - config/locales/el-GR.yml
258
261
  - config/locales/el.yml
259
262
  - config/locales/en.yml
260
263
  - config/locales/eo-UY.yml
264
+ - config/locales/eo.yml
261
265
  - config/locales/es-MX.yml
262
266
  - config/locales/es-PY.yml
263
267
  - config/locales/es.yml
264
268
  - config/locales/et-EE.yml
269
+ - config/locales/et.yml
265
270
  - config/locales/eu.yml
266
271
  - config/locales/fi-pl.yml
267
272
  - config/locales/fi-plain.yml
@@ -271,28 +276,44 @@ files:
271
276
  - config/locales/ga-IE.yml
272
277
  - config/locales/gl.yml
273
278
  - config/locales/hr-HR.yml
279
+ - config/locales/hr.yml
274
280
  - config/locales/hu.yml
275
281
  - config/locales/id-ID.yml
276
282
  - config/locales/is-IS.yml
283
+ - config/locales/is.yml
277
284
  - config/locales/it.yml
278
285
  - config/locales/ja-JP.yml
286
+ - config/locales/ja.yml
287
+ - config/locales/ko-KR.yml
288
+ - config/locales/ko.yml
279
289
  - config/locales/lt-LT.yml
280
- - config/locales/lv-LV.yml
290
+ - config/locales/lt.yml
291
+ - config/locales/lv.yml
281
292
  - config/locales/mt-MT.yml
293
+ - config/locales/mt.yml
282
294
  - config/locales/nl.yml
283
295
  - config/locales/no.yml
296
+ - config/locales/om-ET.yml
284
297
  - config/locales/pl.yml
285
298
  - config/locales/pt-BR.yml
286
299
  - config/locales/pt.yml
287
300
  - config/locales/ro-RO.yml
288
301
  - config/locales/ru.yml
302
+ - config/locales/si-LK.yml
289
303
  - config/locales/sk-SK.yml
290
304
  - config/locales/sk.yml
291
305
  - config/locales/sl.yml
306
+ - config/locales/so-SO.yml
292
307
  - config/locales/sr-CS.yml
293
308
  - config/locales/sv.yml
309
+ - config/locales/sw-KE.yml
310
+ - config/locales/ti-ER.yml
294
311
  - config/locales/tr-TR.yml
295
312
  - config/locales/uk.yml
313
+ - config/locales/vi-VN.yml
314
+ - config/locales/vi.yml
315
+ - config/locales/zh-CN.yml
316
+ - config/locales/zh-TW.yml
296
317
  - db/migrate/20180109092205_create_decidim_consultations.rb
297
318
  - db/migrate/20180112053247_create_decidim_consultations_questions.rb
298
319
  - db/migrate/20180115132000_add_end_voting_date_to_decidim_consultations.rb
@@ -327,6 +348,7 @@ files:
327
348
  - db/migrate/20190708121643_add_response_groups_to_decidim_consultations_responses.rb
328
349
  - db/migrate/20190710121122_add_free_instructions_field_to_consultations_questions.rb
329
350
  - db/migrate/20200320105916_index_foreign_keys_in_decidim_consultations_votes.rb
351
+ - db/migrate/20200827154143_add_commentable_counter_cache_to_consultations.rb
330
352
  - db/seeds/Exampledocument.pdf
331
353
  - db/seeds/city.jpeg
332
354
  - db/seeds/city2.jpeg
@@ -342,7 +364,7 @@ homepage: https://github.com/decidim/decidim
342
364
  licenses:
343
365
  - AGPL-3.0
344
366
  metadata: {}
345
- post_install_message:
367
+ post_install_message:
346
368
  rdoc_options: []
347
369
  require_paths:
348
370
  - lib
@@ -350,15 +372,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
350
372
  requirements:
351
373
  - - ">="
352
374
  - !ruby/object:Gem::Version
353
- version: '2.5'
375
+ version: '2.6'
354
376
  required_rubygems_version: !ruby/object:Gem::Requirement
355
377
  requirements:
356
378
  - - ">="
357
379
  - !ruby/object:Gem::Version
358
380
  version: '0'
359
381
  requirements: []
360
- rubygems_version: 3.1.2
361
- signing_key:
382
+ rubygems_version: 3.0.3
383
+ signing_key:
362
384
  specification_version: 4
363
385
  summary: Decidim consultations module
364
386
  test_files: []