decidim-forms 0.26.2 → 0.27.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) 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/packs/src/decidim/forms/admin/forms.js +3 -0
  11. data/app/presenters/decidim/forms/admin/questionnaire_answer_presenter.rb +10 -2
  12. data/app/presenters/decidim/forms/admin/questionnaire_participant_presenter.rb +5 -3
  13. data/app/presenters/decidim/forms/admin_log/questionnaire_presenter.rb +35 -0
  14. data/app/queries/decidim/forms/questionnaire_participant.rb +1 -1
  15. data/app/queries/decidim/forms/questionnaire_participants.rb +1 -1
  16. data/app/queries/decidim/forms/questionnaire_user_answers.rb +1 -1
  17. data/app/views/decidim/forms/questionnaires/show.html.erb +4 -2
  18. data/config/locales/ar.yml +1 -0
  19. data/config/locales/bg.yml +1 -0
  20. data/config/locales/ca.yml +6 -3
  21. data/config/locales/cs.yml +6 -3
  22. data/config/locales/de.yml +6 -3
  23. data/config/locales/el.yml +1 -4
  24. data/config/locales/en.yml +5 -3
  25. data/config/locales/es-MX.yml +6 -3
  26. data/config/locales/es-PY.yml +6 -3
  27. data/config/locales/es.yml +6 -3
  28. data/config/locales/eu.yml +1 -4
  29. data/config/locales/fi-plain.yml +6 -3
  30. data/config/locales/fi.yml +6 -3
  31. data/config/locales/fr-CA.yml +6 -3
  32. data/config/locales/fr.yml +6 -3
  33. data/config/locales/ga-IE.yml +1 -0
  34. data/config/locales/gl.yml +5 -0
  35. data/config/locales/hu.yml +4 -0
  36. data/config/locales/id-ID.yml +1 -0
  37. data/config/locales/it.yml +1 -4
  38. data/config/locales/ja.yml +6 -3
  39. data/config/locales/lb.yml +1 -4
  40. data/config/locales/lt.yml +191 -0
  41. data/config/locales/lv.yml +1 -4
  42. data/config/locales/nl.yml +1 -4
  43. data/config/locales/no.yml +1 -4
  44. data/config/locales/pl.yml +1 -4
  45. data/config/locales/pt-BR.yml +1 -4
  46. data/config/locales/pt.yml +1 -4
  47. data/config/locales/ro-RO.yml +1 -4
  48. data/config/locales/ru.yml +1 -0
  49. data/config/locales/sk.yml +1 -0
  50. data/config/locales/sl.yml +1 -0
  51. data/config/locales/sv.yml +1 -4
  52. data/config/locales/tr-TR.yml +1 -4
  53. data/config/locales/val-ES.yml +1 -0
  54. data/config/locales/zh-CN.yml +1 -4
  55. data/lib/decidim/exporters/form_pdf.rb +2 -2
  56. data/lib/decidim/forms/{data_portability_user_answers_serializer.rb → download_your_data_user_answers_serializer.rb} +2 -2
  57. data/lib/decidim/forms/test/factories.rb +22 -13
  58. data/lib/decidim/forms/test/shared_examples/manage_questionnaires/update_questions.rb +2 -2
  59. data/lib/decidim/forms/user_answers_serializer.rb +2 -2
  60. data/lib/decidim/forms/version.rb +1 -1
  61. data/lib/decidim/forms.rb +1 -1
  62. metadata +14 -13
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-forms version.
5
5
  module Forms
6
6
  def self.version
7
- "0.26.2"
7
+ "0.27.0.rc2"
8
8
  end
9
9
  end
10
10
  end
data/lib/decidim/forms.rb CHANGED
@@ -9,7 +9,7 @@ module Decidim
9
9
  # This namespace holds the logic of the `Forms`.
10
10
  module Forms
11
11
  autoload :UserAnswersSerializer, "decidim/forms/user_answers_serializer"
12
- autoload :DataPortabilityUserAnswersSerializer, "decidim/forms/data_portability_user_answers_serializer"
12
+ autoload :DownloadYourDataUserAnswersSerializer, "decidim/forms/download_your_data_user_answers_serializer"
13
13
  end
14
14
 
15
15
  module Exporters
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.2
4
+ version: 0.27.0.rc2
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-06-14 00:00:00.000000000 Z
14
+ date: 2022-09-19 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.2
22
+ version: 0.27.0.rc2
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.2
29
+ version: 0.27.0.rc2
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.2
64
+ version: 0.27.0.rc2
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.2
71
+ version: 0.27.0.rc2
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.2
78
+ version: 0.27.0.rc2
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.2
85
+ version: 0.27.0.rc2
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