decidim-surveys 0.21.0 → 0.23.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/decidim/surveys/surveys.scss +20 -3
  3. data/app/controllers/decidim/surveys/admin/surveys_controller.rb +11 -0
  4. data/app/controllers/decidim/surveys/surveys_controller.rb +12 -1
  5. data/app/jobs/decidim/surveys/clean_survey_answers_job.rb +32 -0
  6. data/app/jobs/decidim/surveys/settings_change_job.rb +4 -0
  7. data/app/models/decidim/surveys/survey.rb +4 -0
  8. data/app/permissions/decidim/surveys/admin/permissions.rb +12 -6
  9. data/app/queries/decidim/surveys/metrics/answers_metric_manage.rb +2 -8
  10. data/app/types/decidim/surveys/survey_type.rb +0 -1
  11. data/config/locales/am-ET.yml +1 -0
  12. data/config/locales/bg-BG.yml +10 -0
  13. data/config/locales/bg.yml +10 -0
  14. data/config/locales/ca.yml +3 -0
  15. data/config/locales/cs.yml +4 -1
  16. data/config/locales/da-DK.yml +1 -0
  17. data/config/locales/da.yml +1 -0
  18. data/config/locales/de.yml +9 -3
  19. data/config/locales/el.yml +58 -0
  20. data/config/locales/en.yml +3 -0
  21. data/config/locales/eo.yml +1 -0
  22. data/config/locales/es-MX.yml +3 -0
  23. data/config/locales/es-PY.yml +3 -0
  24. data/config/locales/es.yml +3 -0
  25. data/config/locales/et-EE.yml +1 -0
  26. data/config/locales/et.yml +1 -0
  27. data/config/locales/fi-plain.yml +3 -0
  28. data/config/locales/fi.yml +5 -2
  29. data/config/locales/fr-CA.yml +62 -0
  30. data/config/locales/fr.yml +3 -0
  31. data/config/locales/ga-IE.yml +1 -0
  32. data/config/locales/gl.yml +4 -0
  33. data/config/locales/hr-HR.yml +1 -0
  34. data/config/locales/hr.yml +1 -0
  35. data/config/locales/is.yml +25 -0
  36. data/config/locales/it.yml +7 -6
  37. data/config/locales/ja-JP.yml +58 -0
  38. data/config/locales/ja.yml +60 -0
  39. data/config/locales/ko-KR.yml +1 -0
  40. data/config/locales/ko.yml +1 -0
  41. data/config/locales/lt-LT.yml +1 -0
  42. data/config/locales/lt.yml +1 -0
  43. data/config/locales/lv.yml +61 -0
  44. data/config/locales/mt-MT.yml +1 -0
  45. data/config/locales/mt.yml +1 -0
  46. data/config/locales/nl.yml +3 -0
  47. data/config/locales/om-ET.yml +1 -0
  48. data/config/locales/pl.yml +18 -12
  49. data/config/locales/pt-BR.yml +1 -1
  50. data/config/locales/pt.yml +27 -23
  51. data/config/locales/ro-RO.yml +62 -0
  52. data/config/locales/si-LK.yml +1 -0
  53. data/config/locales/sk-SK.yml +63 -0
  54. data/config/locales/sk.yml +63 -0
  55. data/config/locales/sl.yml +8 -0
  56. data/config/locales/so-SO.yml +1 -0
  57. data/config/locales/sr-CS.yml +1 -0
  58. data/config/locales/sv.yml +5 -1
  59. data/config/locales/sw-KE.yml +1 -0
  60. data/config/locales/ti-ER.yml +1 -0
  61. data/config/locales/tr-TR.yml +19 -13
  62. data/config/locales/vi-VN.yml +1 -0
  63. data/config/locales/vi.yml +1 -0
  64. data/config/locales/zh-CN.yml +60 -0
  65. data/config/locales/zh-TW.yml +1 -0
  66. data/db/migrate/20200609090533_check_legacy_tables.rb +114 -0
  67. data/db/migrate/20200610090533_remove_survey_answer_choices.rb +7 -0
  68. data/db/migrate/20200610090650_remove_survey_answer_options.rb +7 -0
  69. data/db/migrate/20200610090725_remove_survey_answers.rb +7 -0
  70. data/db/migrate/20200610090845_remove_survey_questions.rb +7 -0
  71. data/db/migrate/20200610105927_remove_survey_columns.rb +10 -0
  72. data/lib/decidim/surveys/admin_engine.rb +10 -0
  73. data/lib/decidim/surveys/component.rb +33 -5
  74. data/lib/decidim/surveys/test/factories.rb +1 -1
  75. data/lib/decidim/surveys/version.rb +1 -1
  76. metadata +74 -17
@@ -0,0 +1 @@
1
+ zh-TW:
@@ -0,0 +1,114 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Rails/Output
4
+ # rubocop:disable Style/GuardClause
5
+ class CheckLegacyTables < ActiveRecord::Migration[5.2]
6
+ class Answer < ApplicationRecord
7
+ self.table_name = :decidim_surveys_survey_answers
8
+ end
9
+
10
+ class AnswerChoice < ApplicationRecord
11
+ self.table_name = :decidim_surveys_survey_answer_choices
12
+ end
13
+
14
+ class AnswerOption < ApplicationRecord
15
+ self.table_name = :decidim_surveys_survey_answer_options
16
+ end
17
+
18
+ class Question < ApplicationRecord
19
+ self.table_name = :decidim_surveys_survey_questions
20
+ end
21
+
22
+ def up
23
+ if tables_exists.any?
24
+ if tables_exists.all?
25
+ migrate_legacy_data if Question.any?
26
+ else
27
+ puts "Some legacy surveys tables exist but not all. Have you migrated all the data?"
28
+ puts "Migrate or backup your data and then remove the following raise statement to continue with the migrations (that will remove surveys legacy tables)"
29
+ puts "For migrating your data you can do that with the command:"
30
+ puts "bundle exec rake decidim_surveys:migrate_data_to_decidim_forms"
31
+ raise "ERROR: there's the risk to loose legacy information from old surveys!"
32
+ end
33
+ end
34
+ end
35
+
36
+ def tables_exists
37
+ @tables_exists ||= [Answer, AnswerChoice, AnswerOption, Question].collect { |model| ActiveRecord::Base.connection.table_exists? model.table_name }
38
+ end
39
+
40
+ def migrate_legacy_data
41
+ puts "Migrating data from decidim_surveys tables to decidim_forms tables..."
42
+ ActiveRecord::Base.transaction do
43
+ Decidim::Surveys::Survey.find_each do |survey|
44
+ puts "Migrating survey #{survey.id}..."
45
+ if survey.questionnaire.present?
46
+ puts("already migrated at questionnaire #{survey.questionnaire.id}")
47
+ next
48
+ end
49
+
50
+ questionnaire = ::Decidim::Forms::Questionnaire.create!(
51
+ questionnaire_for: survey,
52
+ title: survey.title,
53
+ description: survey.description,
54
+ tos: survey.tos,
55
+ published_at: survey.published_at,
56
+ created_at: survey.created_at,
57
+ updated_at: survey.updated_at
58
+ )
59
+
60
+ Question.where(decidim_survey_id: survey.id).find_each do |survey_question|
61
+ puts "Migrating question #{survey_question.id}..."
62
+
63
+ question = ::Decidim::Forms::Question.create!(
64
+ questionnaire: questionnaire,
65
+ position: survey_question.position,
66
+ question_type: survey_question.question_type,
67
+ mandatory: survey_question.mandatory,
68
+ body: survey_question.body,
69
+ description: survey_question.description,
70
+ max_choices: survey_question.max_choices,
71
+ created_at: survey_question.created_at,
72
+ updated_at: survey_question.updated_at
73
+ )
74
+
75
+ # A hash with the old answer_option id as key, and the new form answer option as value
76
+ answer_option_mapping = {}
77
+
78
+ AnswerOption.where(decidim_survey_question_id: survey_question.id).find_each do |survey_answer_option|
79
+ answer_option_mapping[survey_answer_option.id] = ::Decidim::Forms::AnswerOption.create!(
80
+ question: question,
81
+ body: survey_answer_option.body,
82
+ free_text: survey_answer_option.free_text
83
+ )
84
+ end
85
+
86
+ Answer.where(decidim_survey_id: survey.id, decidim_survey_question_id: survey_question.id).find_each do |survey_answer|
87
+ answer = ::Decidim::Forms::Answer.new(
88
+ questionnaire: questionnaire,
89
+ question: question,
90
+ decidim_user_id: survey_answer.decidim_user_id,
91
+ body: survey_answer.body,
92
+ created_at: survey_answer.created_at,
93
+ updated_at: survey_answer.updated_at
94
+ )
95
+
96
+ AnswerChoice.where(decidim_survey_answer_id: survey_answer.id).find_each do |survey_answer_choice|
97
+ answer.choices.build(
98
+ answer_option: answer_option_mapping[survey_answer_choice.decidim_survey_answer_option_id],
99
+ body: survey_answer_choice.body,
100
+ custom_body: survey_answer_choice.custom_body,
101
+ position: survey_answer_choice.position
102
+ )
103
+ end
104
+
105
+ answer.save!
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
111
+ end
112
+
113
+ # rubocop:enable Style/GuardClause
114
+ # rubocop:enable Rails/Output
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RemoveSurveyAnswerChoices < ActiveRecord::Migration[5.2]
4
+ def change
5
+ drop_table :decidim_surveys_survey_answer_choices, if_exists: true
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RemoveSurveyAnswerOptions < ActiveRecord::Migration[5.2]
4
+ def change
5
+ drop_table :decidim_surveys_survey_answer_options, if_exists: true
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RemoveSurveyAnswers < ActiveRecord::Migration[5.2]
4
+ def change
5
+ drop_table :decidim_surveys_survey_answers, if_exists: true
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RemoveSurveyQuestions < ActiveRecord::Migration[5.2]
4
+ def change
5
+ drop_table :decidim_surveys_survey_questions, if_exists: true
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RemoveSurveyColumns < ActiveRecord::Migration[5.2]
4
+ def change
5
+ remove_column :decidim_surveys_surveys, :title if ActiveRecord::Base.connection.column_exists?(:decidim_surveys_surveys, :title)
6
+ remove_column :decidim_surveys_surveys, :description if ActiveRecord::Base.connection.column_exists?(:decidim_surveys_surveys, :description)
7
+ remove_column :decidim_surveys_surveys, :tos if ActiveRecord::Base.connection.column_exists?(:decidim_surveys_surveys, :tos)
8
+ remove_column :decidim_surveys_surveys, :published_at if ActiveRecord::Base.connection.column_exists?(:decidim_surveys_surveys, :published_at)
9
+ end
10
+ end
@@ -10,10 +10,20 @@ module Decidim
10
10
  paths["lib/tasks"] = nil
11
11
 
12
12
  routes do
13
+ get "/answer/:session_token", to: "surveys#show", as: :show_survey
14
+ get "/answer/:session_token/export", to: "surveys#export_response", as: :export_response_survey
15
+ get "/answers", to: "surveys#index", as: :index_survey
16
+ get "/answer_options", to: "surveys#answer_options", as: :answer_options_survey
13
17
  put "/", to: "surveys#update", as: :survey
14
18
  root to: "surveys#edit"
15
19
  end
16
20
 
21
+ initializer "decidim.notifications.components" do
22
+ Decidim::EventsManager.subscribe(/^decidim\.events\.components/) do |event_name, data|
23
+ CleanSurveyAnswersJob.perform_later(event_name, data)
24
+ end
25
+ end
26
+
17
27
  def load_seed
18
28
  nil
19
29
  end
@@ -43,7 +43,7 @@ Decidim.register_component(:surveys) do |component|
43
43
  surveys.count
44
44
  end
45
45
 
46
- component.register_stat :answers_count, priority: Decidim::StatsRegistry::MEDIUM_PRIORITY do |components, start_at, end_at|
46
+ component.register_stat :answers_count, primary: true, priority: Decidim::StatsRegistry::MEDIUM_PRIORITY do |components, start_at, end_at|
47
47
  surveys = Decidim::Surveys::Survey.includes(:questionnaire).where(component: components)
48
48
  answers = Decidim::Forms::Answer.where(questionnaire: surveys.map(&:questionnaire))
49
49
  answers = answers.where("created_at >= ?", start_at) if start_at.present?
@@ -55,7 +55,10 @@ Decidim.register_component(:surveys) do |component|
55
55
  component.actions = %w(answer)
56
56
 
57
57
  component.settings(:global) do |settings|
58
+ settings.attribute :scopes_enabled, type: :boolean, default: false
59
+ settings.attribute :scope_id, type: :scope
58
60
  settings.attribute :announcement, type: :text, translated: true, editor: true
61
+ settings.attribute :clean_after_publish, type: :boolean, default: true
59
62
  end
60
63
 
61
64
  component.settings(:step) do |settings|
@@ -70,6 +73,8 @@ Decidim.register_component(:surveys) do |component|
70
73
  Decidim::Forms::QuestionnaireUserAnswers.for(survey.questionnaire)
71
74
  end
72
75
 
76
+ exports.formats %w(CSV JSON Excel FormPDF)
77
+
73
78
  exports.serializer Decidim::Forms::UserAnswersSerializer
74
79
  end
75
80
 
@@ -117,23 +122,46 @@ Decidim.register_component(:surveys) do |component|
117
122
  visibility: "all"
118
123
  )
119
124
 
120
- %w(short_answer long_answer).each do |text_question_type|
125
+ %w(short_answer long_answer).each_with_index do |text_question_type, index|
121
126
  Decidim::Forms::Question.create!(
122
127
  questionnaire: questionnaire,
123
128
  body: Decidim::Faker::Localized.paragraph,
124
- question_type: text_question_type
129
+ question_type: text_question_type,
130
+ position: index
131
+ )
132
+ end
133
+
134
+ %w(single_option multiple_option).each_with_index do |multiple_choice_question_type, index|
135
+ question = Decidim::Forms::Question.create!(
136
+ questionnaire: questionnaire,
137
+ body: Decidim::Faker::Localized.paragraph,
138
+ question_type: multiple_choice_question_type,
139
+ position: index + 2
140
+ )
141
+
142
+ 3.times do
143
+ question.answer_options.create!(body: Decidim::Faker::Localized.sentence)
144
+ end
145
+
146
+ question.display_conditions.create!(
147
+ condition_question: questionnaire.questions.find_by(position: question.position - 2),
148
+ question: question,
149
+ condition_type: :answered,
150
+ mandatory: true
125
151
  )
126
152
  end
127
153
 
128
- %w(single_option multiple_option).each do |multiple_choice_question_type|
154
+ %w(matrix_single matrix_multiple).each_with_index do |matrix_question_type, index|
129
155
  question = Decidim::Forms::Question.create!(
130
156
  questionnaire: questionnaire,
131
157
  body: Decidim::Faker::Localized.paragraph,
132
- question_type: multiple_choice_question_type
158
+ question_type: matrix_question_type,
159
+ position: index
133
160
  )
134
161
 
135
162
  3.times do
136
163
  question.answer_options.create!(body: Decidim::Faker::Localized.sentence)
164
+ question.matrix_rows.create!(body: Decidim::Faker::Localized.sentence)
137
165
  end
138
166
  end
139
167
  end
@@ -12,7 +12,7 @@ FactoryBot.define do
12
12
  end
13
13
 
14
14
  factory :survey, class: "Decidim::Surveys::Survey" do
15
- questionnaire { build(:questionnaire) }
15
+ questionnaire { build(:questionnaire, :with_questions) }
16
16
  component { build(:surveys_component) }
17
17
  end
18
18
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-surveys version.
5
5
  module Surveys
6
6
  def self.version
7
- "0.21.0"
7
+ "0.23.2"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-surveys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
8
8
  - Marc Riera Casals
9
9
  - Oriol Gual Oliva
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-04-08 00:00:00.000000000 Z
13
+ date: 2021-02-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,70 +18,84 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.21.0
21
+ version: 0.23.2
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.21.0
28
+ version: 0.23.2
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-forms
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.21.0
35
+ version: 0.23.2
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.21.0
42
+ version: 0.23.2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.21.0
49
+ version: 0.23.2
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.21.0
56
+ version: 0.23.2
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-dev
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.21.0
63
+ version: 0.23.2
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.21.0
70
+ version: 0.23.2
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-participatory_processes
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.21.0
77
+ version: 0.23.2
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.21.0
84
+ version: 0.23.2
85
+ - !ruby/object:Gem::Dependency
86
+ name: decidim-templates
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - '='
90
+ - !ruby/object:Gem::Version
91
+ version: 0.23.2
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - '='
97
+ - !ruby/object:Gem::Version
98
+ version: 0.23.2
85
99
  description: A surveys component for decidim's participatory spaces.
86
100
  email:
87
101
  - josepjaume@gmail.com
@@ -103,6 +117,7 @@ files:
103
117
  - app/events/decidim/surveys/closed_survey_event.rb
104
118
  - app/events/decidim/surveys/opened_survey_event.rb
105
119
  - app/helpers/decidim/surveys/survey_helper.rb
120
+ - app/jobs/decidim/surveys/clean_survey_answers_job.rb
106
121
  - app/jobs/decidim/surveys/settings_change_job.rb
107
122
  - app/models/decidim/surveys/application_record.rb
108
123
  - app/models/decidim/surveys/survey.rb
@@ -115,38 +130,74 @@ files:
115
130
  - app/types/decidim/surveys/survey_type.rb
116
131
  - app/types/decidim/surveys/surveys_type.rb
117
132
  - app/views/decidim/surveys/surveys/no_permission.html.erb
133
+ - config/locales/am-ET.yml
118
134
  - config/locales/ar-SA.yml
119
135
  - config/locales/ar.yml
136
+ - config/locales/bg-BG.yml
137
+ - config/locales/bg.yml
120
138
  - config/locales/ca.yml
121
139
  - config/locales/cs-CZ.yml
122
140
  - config/locales/cs.yml
141
+ - config/locales/da-DK.yml
142
+ - config/locales/da.yml
123
143
  - config/locales/de.yml
124
144
  - config/locales/el-GR.yml
125
145
  - config/locales/el.yml
126
146
  - config/locales/en.yml
127
147
  - config/locales/eo-UY.yml
148
+ - config/locales/eo.yml
128
149
  - config/locales/es-MX.yml
129
150
  - config/locales/es-PY.yml
130
151
  - config/locales/es.yml
152
+ - config/locales/et-EE.yml
153
+ - config/locales/et.yml
131
154
  - config/locales/eu.yml
132
155
  - config/locales/fi-pl.yml
133
156
  - config/locales/fi-plain.yml
134
157
  - config/locales/fi.yml
158
+ - config/locales/fr-CA.yml
135
159
  - config/locales/fr.yml
160
+ - config/locales/ga-IE.yml
136
161
  - config/locales/gl.yml
162
+ - config/locales/hr-HR.yml
163
+ - config/locales/hr.yml
137
164
  - config/locales/hu.yml
138
165
  - config/locales/id-ID.yml
139
166
  - config/locales/is-IS.yml
167
+ - config/locales/is.yml
140
168
  - config/locales/it.yml
169
+ - config/locales/ja-JP.yml
170
+ - config/locales/ja.yml
171
+ - config/locales/ko-KR.yml
172
+ - config/locales/ko.yml
173
+ - config/locales/lt-LT.yml
174
+ - config/locales/lt.yml
175
+ - config/locales/lv.yml
176
+ - config/locales/mt-MT.yml
177
+ - config/locales/mt.yml
141
178
  - config/locales/nl.yml
142
179
  - config/locales/no.yml
180
+ - config/locales/om-ET.yml
143
181
  - config/locales/pl.yml
144
182
  - config/locales/pt-BR.yml
145
183
  - config/locales/pt.yml
184
+ - config/locales/ro-RO.yml
146
185
  - config/locales/ru.yml
186
+ - config/locales/si-LK.yml
187
+ - config/locales/sk-SK.yml
188
+ - config/locales/sk.yml
189
+ - config/locales/sl.yml
190
+ - config/locales/so-SO.yml
191
+ - config/locales/sr-CS.yml
147
192
  - config/locales/sv.yml
193
+ - config/locales/sw-KE.yml
194
+ - config/locales/ti-ER.yml
148
195
  - config/locales/tr-TR.yml
149
196
  - config/locales/uk.yml
197
+ - config/locales/vi-VN.yml
198
+ - config/locales/vi.yml
199
+ - config/locales/zh-CN.yml
200
+ - config/locales/zh-TW.yml
150
201
  - db/migrate/20170511092231_create_decidim_surveys.rb
151
202
  - db/migrate/20170515090916_create_decidim_survey_questions.rb
152
203
  - db/migrate/20170515144119_create_decidim_survey_answers.rb
@@ -163,6 +214,12 @@ files:
163
214
  - db/migrate/20180405015258_add_free_text_to_survey_answer_options.rb
164
215
  - db/migrate/20180405015314_add_custom_body_to_survey_answer_choices.rb
165
216
  - db/migrate/20180406201818_add_position_to_decidim_survey_answer_choices.rb
217
+ - db/migrate/20200609090533_check_legacy_tables.rb
218
+ - db/migrate/20200610090533_remove_survey_answer_choices.rb
219
+ - db/migrate/20200610090650_remove_survey_answer_options.rb
220
+ - db/migrate/20200610090725_remove_survey_answers.rb
221
+ - db/migrate/20200610090845_remove_survey_questions.rb
222
+ - db/migrate/20200610105927_remove_survey_columns.rb
166
223
  - lib/decidim/surveys.rb
167
224
  - lib/decidim/surveys/admin.rb
168
225
  - lib/decidim/surveys/admin_engine.rb
@@ -175,7 +232,7 @@ homepage: https://github.com/decidim/decidim
175
232
  licenses:
176
233
  - AGPL-3.0
177
234
  metadata: {}
178
- post_install_message:
235
+ post_install_message:
179
236
  rdoc_options: []
180
237
  require_paths:
181
238
  - lib
@@ -183,15 +240,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
240
  requirements:
184
241
  - - ">="
185
242
  - !ruby/object:Gem::Version
186
- version: '2.5'
243
+ version: '2.6'
187
244
  required_rubygems_version: !ruby/object:Gem::Requirement
188
245
  requirements:
189
246
  - - ">="
190
247
  - !ruby/object:Gem::Version
191
248
  version: '0'
192
249
  requirements: []
193
- rubygems_version: 3.1.2
194
- signing_key:
250
+ rubygems_version: 3.0.3
251
+ signing_key:
195
252
  specification_version: 4
196
253
  summary: Decidim surveys module
197
254
  test_files: []