decidim-forms 0.26.7 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) 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 +1 -1
  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/models/decidim/forms/answer.rb +2 -2
  7. data/app/models/decidim/forms/display_condition.rb +1 -1
  8. data/app/models/decidim/forms/questionnaire.rb +7 -0
  9. data/app/packs/src/decidim/forms/admin/forms.js +0 -3
  10. data/app/presenters/decidim/forms/admin/questionnaire_answer_presenter.rb +13 -8
  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/admin/questionnaires/_form.html.erb +1 -1
  17. data/app/views/decidim/forms/questionnaires/_answer.html.erb +2 -2
  18. data/app/views/decidim/forms/questionnaires/show.html.erb +5 -3
  19. data/config/locales/am-ET.yml +1 -0
  20. data/config/locales/ar.yml +1 -0
  21. data/config/locales/bg.yml +1 -0
  22. data/config/locales/ca.yml +7 -6
  23. data/config/locales/cs.yml +6 -5
  24. data/config/locales/da.yml +1 -0
  25. data/config/locales/de.yml +1 -4
  26. data/config/locales/el.yml +1 -4
  27. data/config/locales/en.yml +5 -5
  28. data/config/locales/eo.yml +1 -0
  29. data/config/locales/es-MX.yml +6 -5
  30. data/config/locales/es-PY.yml +6 -5
  31. data/config/locales/es.yml +6 -5
  32. data/config/locales/et.yml +1 -0
  33. data/config/locales/eu.yml +21 -39
  34. data/config/locales/fi-plain.yml +6 -5
  35. data/config/locales/fi.yml +6 -5
  36. data/config/locales/fr-CA.yml +3 -5
  37. data/config/locales/fr.yml +3 -5
  38. data/config/locales/ga-IE.yml +1 -0
  39. data/config/locales/gl.yml +5 -0
  40. data/config/locales/hr.yml +1 -0
  41. data/config/locales/hu.yml +4 -0
  42. data/config/locales/id-ID.yml +1 -0
  43. data/config/locales/is-IS.yml +2 -1
  44. data/config/locales/it.yml +1 -4
  45. data/config/locales/ja.yml +6 -5
  46. data/config/locales/ko.yml +1 -0
  47. data/config/locales/lb.yml +1 -4
  48. data/config/locales/lt.yml +1 -188
  49. data/config/locales/lv.yml +1 -4
  50. data/config/locales/mt.yml +1 -0
  51. data/config/locales/nl.yml +1 -4
  52. data/config/locales/no.yml +1 -4
  53. data/config/locales/om-ET.yml +1 -0
  54. data/config/locales/pl.yml +5 -9
  55. data/config/locales/pt-BR.yml +2 -5
  56. data/config/locales/pt.yml +1 -4
  57. data/config/locales/ro-RO.yml +1 -6
  58. data/config/locales/ru.yml +1 -0
  59. data/config/locales/si-LK.yml +1 -0
  60. data/config/locales/sk.yml +1 -0
  61. data/config/locales/sl.yml +1 -0
  62. data/config/locales/so-SO.yml +1 -0
  63. data/config/locales/sr-CS.yml +1 -0
  64. data/config/locales/sv.yml +1 -4
  65. data/config/locales/sw-KE.yml +1 -0
  66. data/config/locales/ti-ER.yml +1 -0
  67. data/config/locales/tr-TR.yml +1 -4
  68. data/config/locales/uk.yml +1 -0
  69. data/config/locales/val-ES.yml +1 -0
  70. data/config/locales/vi.yml +1 -0
  71. data/config/locales/zh-CN.yml +1 -4
  72. data/config/locales/zh-TW.yml +1 -190
  73. data/lib/decidim/exporters/form_pdf.rb +2 -2
  74. data/lib/decidim/forms/{data_portability_user_answers_serializer.rb → download_your_data_user_answers_serializer.rb} +2 -2
  75. data/lib/decidim/forms/test/factories.rb +22 -13
  76. data/lib/decidim/forms/test/shared_examples/manage_questionnaire_answers.rb +2 -25
  77. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +2 -2
  78. data/lib/decidim/forms/user_answers_serializer.rb +2 -2
  79. data/lib/decidim/forms/version.rb +1 -1
  80. data/lib/decidim/forms.rb +1 -1
  81. metadata +14 -19
  82. data/config/locales/fa-IR.yml +0 -1
  83. data/config/locales/gn-PY.yml +0 -1
  84. data/config/locales/ka-GE.yml +0 -1
  85. data/config/locales/kaa.yml +0 -1
  86. data/config/locales/lo-LA.yml +0 -1
  87. data/config/locales/oc-FR.yml +0 -1
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.7
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: 2023-05-11 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.7
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.7
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.7
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.7
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.7
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.7
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
@@ -208,7 +209,6 @@ files:
208
209
  - config/locales/et-EE.yml
209
210
  - config/locales/et.yml
210
211
  - config/locales/eu.yml
211
- - config/locales/fa-IR.yml
212
212
  - config/locales/fi-pl.yml
213
213
  - config/locales/fi-plain.yml
214
214
  - config/locales/fi.yml
@@ -217,7 +217,6 @@ files:
217
217
  - config/locales/fr.yml
218
218
  - config/locales/ga-IE.yml
219
219
  - config/locales/gl.yml
220
- - config/locales/gn-PY.yml
221
220
  - config/locales/hr-HR.yml
222
221
  - config/locales/hr.yml
223
222
  - config/locales/hu.yml
@@ -226,13 +225,10 @@ files:
226
225
  - config/locales/is.yml
227
226
  - config/locales/it.yml
228
227
  - config/locales/ja.yml
229
- - config/locales/ka-GE.yml
230
- - config/locales/kaa.yml
231
228
  - config/locales/ko-KR.yml
232
229
  - config/locales/ko.yml
233
230
  - config/locales/lb-LU.yml
234
231
  - config/locales/lb.yml
235
- - config/locales/lo-LA.yml
236
232
  - config/locales/lt-LT.yml
237
233
  - config/locales/lt.yml
238
234
  - config/locales/lv.yml
@@ -240,7 +236,6 @@ files:
240
236
  - config/locales/mt.yml
241
237
  - config/locales/nl.yml
242
238
  - config/locales/no.yml
243
- - config/locales/oc-FR.yml
244
239
  - config/locales/om-ET.yml
245
240
  - config/locales/pl.yml
246
241
  - config/locales/pt-BR.yml
@@ -286,7 +281,7 @@ files:
286
281
  - lib/decidim/forms/admin.rb
287
282
  - lib/decidim/forms/admin_engine.rb
288
283
  - lib/decidim/forms/api.rb
289
- - lib/decidim/forms/data_portability_user_answers_serializer.rb
284
+ - lib/decidim/forms/download_your_data_user_answers_serializer.rb
290
285
  - lib/decidim/forms/engine.rb
291
286
  - lib/decidim/forms/test.rb
292
287
  - lib/decidim/forms/test/factories.rb
@@ -311,14 +306,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
311
306
  requirements:
312
307
  - - ">="
313
308
  - !ruby/object:Gem::Version
314
- version: '2.7'
309
+ version: '3.0'
315
310
  required_rubygems_version: !ruby/object:Gem::Requirement
316
311
  requirements:
317
- - - ">="
312
+ - - ">"
318
313
  - !ruby/object:Gem::Version
319
- version: '0'
314
+ version: 1.3.1
320
315
  requirements: []
321
- rubygems_version: 3.1.6
316
+ rubygems_version: 3.2.22
322
317
  signing_key:
323
318
  specification_version: 4
324
319
  summary: Decidim forms
@@ -1 +0,0 @@
1
- fa:
@@ -1 +0,0 @@
1
- gn:
@@ -1 +0,0 @@
1
- ka:
@@ -1 +0,0 @@
1
- kaa:
@@ -1 +0,0 @@
1
- lo:
@@ -1 +0,0 @@
1
- oc: