decidim-forms 0.26.0 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/forms/admin/update_questionnaire.rb +13 -8
  3. data/app/commands/decidim/forms/answer_questionnaire.rb +3 -3
  4. data/app/controllers/decidim/forms/admin/concerns/has_questionnaire.rb +2 -2
  5. data/app/forms/decidim/forms/admin/display_condition_form.rb +3 -3
  6. data/app/forms/decidim/forms/answer_form.rb +4 -0
  7. data/app/models/decidim/forms/answer.rb +2 -2
  8. data/app/models/decidim/forms/display_condition.rb +1 -1
  9. data/app/models/decidim/forms/questionnaire.rb +7 -0
  10. data/app/presenters/decidim/forms/admin/questionnaire_answer_presenter.rb +10 -2
  11. data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +5 -3
  12. data/app/presenters/decidim/forms/admin_log/questionnaire_presenter.rb +35 -0
  13. data/app/queries/decidim/forms/questionnaire_participant.rb +1 -1
  14. data/app/queries/decidim/forms/questionnaire_participants.rb +1 -1
  15. data/app/queries/decidim/forms/questionnaire_user_answers.rb +1 -1
  16. data/app/views/decidim/forms/questionnaires/_answer.html.erb +3 -1
  17. data/app/views/decidim/forms/questionnaires/show.html.erb +11 -9
  18. data/config/locales/am-ET.yml +1 -0
  19. data/config/locales/ar.yml +7 -0
  20. data/config/locales/bg.yml +1 -0
  21. data/config/locales/ca.yml +6 -3
  22. data/config/locales/cs.yml +6 -3
  23. data/config/locales/da.yml +1 -0
  24. data/config/locales/de.yml +12 -4
  25. data/config/locales/el.yml +1 -4
  26. data/config/locales/en.yml +5 -3
  27. data/config/locales/eo.yml +1 -0
  28. data/config/locales/es-MX.yml +6 -3
  29. data/config/locales/es-PY.yml +6 -3
  30. data/config/locales/es.yml +6 -3
  31. data/config/locales/et.yml +1 -0
  32. data/config/locales/eu.yml +1 -4
  33. data/config/locales/fi-plain.yml +6 -3
  34. data/config/locales/fi.yml +6 -3
  35. data/config/locales/fr-CA.yml +3 -3
  36. data/config/locales/fr.yml +3 -3
  37. data/config/locales/ga-IE.yml +1 -0
  38. data/config/locales/gl.yml +5 -0
  39. data/config/locales/hr.yml +1 -0
  40. data/config/locales/hu.yml +4 -0
  41. data/config/locales/id-ID.yml +1 -0
  42. data/config/locales/is-IS.yml +2 -1
  43. data/config/locales/it.yml +1 -4
  44. data/config/locales/ja.yml +6 -3
  45. data/config/locales/ko.yml +1 -0
  46. data/config/locales/lb.yml +1 -4
  47. data/config/locales/lt.yml +1 -0
  48. data/config/locales/lv.yml +1 -4
  49. data/config/locales/mt.yml +1 -0
  50. data/config/locales/nl.yml +1 -4
  51. data/config/locales/no.yml +1 -4
  52. data/config/locales/om-ET.yml +1 -0
  53. data/config/locales/pl.yml +1 -4
  54. data/config/locales/pt-BR.yml +2 -5
  55. data/config/locales/pt.yml +1 -4
  56. data/config/locales/ro-RO.yml +1 -4
  57. data/config/locales/ru.yml +1 -0
  58. data/config/locales/si-LK.yml +1 -0
  59. data/config/locales/sk.yml +1 -0
  60. data/config/locales/sl.yml +1 -0
  61. data/config/locales/so-SO.yml +1 -0
  62. data/config/locales/sr-CS.yml +1 -0
  63. data/config/locales/sv.yml +1 -4
  64. data/config/locales/sw-KE.yml +1 -0
  65. data/config/locales/ti-ER.yml +1 -0
  66. data/config/locales/tr-TR.yml +1 -4
  67. data/config/locales/uk.yml +1 -0
  68. data/config/locales/val-ES.yml +1 -0
  69. data/config/locales/vi.yml +1 -0
  70. data/config/locales/zh-CN.yml +1 -4
  71. data/config/locales/zh-TW.yml +1 -0
  72. data/lib/decidim/exporters/form_pdf.rb +2 -2
  73. data/lib/decidim/forms/{data_portability_user_answers_serializer.rb → download_your_data_user_answers_serializer.rb} +2 -2
  74. data/lib/decidim/forms/test/factories.rb +22 -13
  75. data/lib/decidim/forms/test/shared_examples/has_questionnaire.rb +3 -0
  76. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +2 -2
  77. data/lib/decidim/forms/user_answers_serializer.rb +2 -2
  78. data/lib/decidim/forms/version.rb +1 -1
  79. data/lib/decidim/forms.rb +1 -1
  80. metadata +14 -13
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0.rc1
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-02-22 00:00:00.000000000 Z
14
+ date: 2022-06-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.26.0
22
+ version: 0.27.0.rc1
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.26.0
29
+ version: 0.27.0.rc1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: wicked_pdf
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -61,28 +61,28 @@ dependencies:
61
61
  requirements:
62
62
  - - '='
63
63
  - !ruby/object:Gem::Version
64
- version: 0.26.0
64
+ version: 0.27.0.rc1
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.26.0
71
+ version: 0.27.0.rc1
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: decidim-dev
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - '='
77
77
  - !ruby/object:Gem::Version
78
- version: 0.26.0
78
+ version: 0.27.0.rc1
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 0.26.0
85
+ version: 0.27.0.rc1
86
86
  description: A forms gem for decidim.
87
87
  email:
88
88
  - josepjaume@gmail.com
@@ -151,6 +151,7 @@ files:
151
151
  - app/packs/stylesheets/decidim/forms/questionnaire-answers-pdf.scss
152
152
  - app/presenters/decidim/forms/admin/questionnaire_answer_presenter.rb
153
153
  - app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb
154
+ - app/presenters/decidim/forms/admin_log/questionnaire_presenter.rb
154
155
  - app/presenters/decidim/forms/answer_option_presenter.rb
155
156
  - app/presenters/decidim/forms/question_presenter.rb
156
157
  - app/queries/decidim/forms/questionnaire_participant.rb
@@ -280,7 +281,7 @@ files:
280
281
  - lib/decidim/forms/admin.rb
281
282
  - lib/decidim/forms/admin_engine.rb
282
283
  - lib/decidim/forms/api.rb
283
- - lib/decidim/forms/data_portability_user_answers_serializer.rb
284
+ - lib/decidim/forms/download_your_data_user_answers_serializer.rb
284
285
  - lib/decidim/forms/engine.rb
285
286
  - lib/decidim/forms/test.rb
286
287
  - lib/decidim/forms/test/factories.rb
@@ -305,14 +306,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
305
306
  requirements:
306
307
  - - ">="
307
308
  - !ruby/object:Gem::Version
308
- version: '2.7'
309
+ version: '3.0'
309
310
  required_rubygems_version: !ruby/object:Gem::Requirement
310
311
  requirements:
311
- - - ">="
312
+ - - ">"
312
313
  - !ruby/object:Gem::Version
313
- version: '0'
314
+ version: 1.3.1
314
315
  requirements: []
315
- rubygems_version: 3.1.6
316
+ rubygems_version: 3.2.22
316
317
  signing_key:
317
318
  specification_version: 4
318
319
  summary: Decidim forms