decidim-surveys 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -9
  3. data/app/assets/stylesheets/decidim/surveys/surveys.scss +2 -2
  4. data/app/commands/decidim/surveys/create_survey.rb +1 -1
  5. data/app/controllers/decidim/surveys/admin/surveys_controller.rb +6 -37
  6. data/app/controllers/decidim/surveys/surveys_controller.rb +8 -22
  7. data/app/jobs/decidim/surveys/settings_change_job.rb +6 -3
  8. data/app/models/decidim/surveys/survey.rb +2 -12
  9. data/app/permissions/decidim/surveys/admin/permissions.rb +1 -1
  10. data/app/permissions/decidim/surveys/permissions.rb +1 -1
  11. data/app/queries/decidim/surveys/metrics/answers_metric_manage.rb +70 -0
  12. data/app/queries/decidim/surveys/metrics/survey_participants_metric_measure.rb +30 -0
  13. data/config/locales/ca.yml +5 -66
  14. data/config/locales/de.yml +5 -66
  15. data/config/locales/en.yml +5 -66
  16. data/config/locales/es-PY.yml +5 -66
  17. data/config/locales/es.yml +5 -66
  18. data/config/locales/eu.yml +5 -66
  19. data/config/locales/fi-pl.yml +5 -66
  20. data/config/locales/fi.yml +5 -66
  21. data/config/locales/fr.yml +5 -66
  22. data/config/locales/gl.yml +5 -66
  23. data/config/locales/hu.yml +5 -66
  24. data/config/locales/id-ID.yml +0 -70
  25. data/config/locales/it.yml +5 -66
  26. data/config/locales/nl.yml +5 -66
  27. data/config/locales/pl.yml +5 -66
  28. data/config/locales/pt-BR.yml +5 -66
  29. data/config/locales/pt.yml +5 -66
  30. data/config/locales/ru.yml +0 -66
  31. data/config/locales/sv.yml +5 -66
  32. data/config/locales/tr-TR.yml +0 -70
  33. data/config/locales/uk.yml +0 -66
  34. data/lib/decidim/surveys.rb +0 -2
  35. data/lib/decidim/surveys/admin_engine.rb +1 -5
  36. data/lib/decidim/surveys/component.rb +18 -15
  37. data/lib/decidim/surveys/engine.rb +17 -4
  38. data/lib/decidim/surveys/test/factories.rb +2 -42
  39. data/lib/decidim/surveys/version.rb +1 -1
  40. data/lib/tasks/decidim_surveys_tasks.rake +92 -0
  41. metadata +28 -42
  42. data/app/assets/config/admin/decidim_surveys_manifest.js +0 -1
  43. data/app/assets/config/decidim_surveys_manifest.js +0 -1
  44. data/app/assets/images/decidim/surveys/icon.svg +0 -19
  45. data/app/assets/javascripts/decidim/surveys/admin/auto_buttons_by_min_items.component.js.es6 +0 -25
  46. data/app/assets/javascripts/decidim/surveys/admin/auto_select_options_by_total_items.component.js.es6 +0 -23
  47. data/app/assets/javascripts/decidim/surveys/admin/surveys.js.es6 +0 -188
  48. data/app/assets/javascripts/decidim/surveys/autosortable_checkboxes.component.js.es6 +0 -65
  49. data/app/assets/javascripts/decidim/surveys/option_attached_inputs.component.js.es6 +0 -32
  50. data/app/assets/javascripts/decidim/surveys/surveys.js.es6 +0 -20
  51. data/app/commands/decidim/surveys/admin/update_survey.rb +0 -86
  52. data/app/commands/decidim/surveys/answer_survey.rb +0 -54
  53. data/app/forms/decidim/surveys/admin/survey_answer_option_form.rb +0 -23
  54. data/app/forms/decidim/surveys/admin/survey_form.rb +0 -27
  55. data/app/forms/decidim/surveys/admin/survey_question_form.rb +0 -35
  56. data/app/forms/decidim/surveys/survey_answer_choice_form.rb +0 -15
  57. data/app/forms/decidim/surveys/survey_answer_form.rb +0 -69
  58. data/app/forms/decidim/surveys/survey_form.rb +0 -22
  59. data/app/helpers/decidim/surveys/admin/application_helper.rb +0 -19
  60. data/app/models/decidim/surveys/survey_answer.rb +0 -45
  61. data/app/models/decidim/surveys/survey_answer_choice.rb +0 -15
  62. data/app/models/decidim/surveys/survey_answer_option.rb +0 -11
  63. data/app/models/decidim/surveys/survey_question.rb +0 -36
  64. data/app/queries/decidim/surveys/survey_user_answers.rb +0 -28
  65. data/app/views/decidim/surveys/admin/surveys/_answer_option.html.erb +0 -44
  66. data/app/views/decidim/surveys/admin/surveys/_form.html.erb +0 -51
  67. data/app/views/decidim/surveys/admin/surveys/_question.html.erb +0 -115
  68. data/app/views/decidim/surveys/admin/surveys/edit.html.erb +0 -7
  69. data/app/views/decidim/surveys/surveys/_answer.html.erb +0 -94
  70. data/app/views/decidim/surveys/surveys/show.html.erb +0 -84
  71. data/lib/decidim/surveys/data_portability_survey_user_answers_serializer.rb +0 -37
  72. data/lib/decidim/surveys/survey_user_answers_serializer.rb +0 -29
@@ -21,12 +21,11 @@ Decidim.register_component(:surveys) do |component|
21
21
  end
22
22
  end
23
23
 
24
- component.data_portable_entities = ["Decidim::Surveys::SurveyAnswer"]
24
+ component.data_portable_entities = ["Decidim::Forms::Answer"]
25
25
 
26
26
  component.on(:before_destroy) do |instance|
27
- survey_answers_for_component = Decidim::Surveys::SurveyAnswer
28
- .includes(:survey)
29
- .where(decidim_surveys_surveys: { decidim_component_id: instance.id })
27
+ survey = Decidim::Surveys::Survey.find_by(decidim_component_id: instance.id)
28
+ survey_answers_for_component = Decidim::Forms::Answer.where(questionnaire: survey.questionnaire)
30
29
 
31
30
  raise "Can't destroy this component when there are survey answers" if survey_answers_for_component.any?
32
31
  end
@@ -39,8 +38,8 @@ Decidim.register_component(:surveys) do |component|
39
38
  end
40
39
 
41
40
  component.register_stat :answers_count, priority: Decidim::StatsRegistry::MEDIUM_PRIORITY do |components, start_at, end_at|
42
- surveys = Decidim::Surveys::Survey.where(component: components)
43
- answers = Decidim::Surveys::SurveyAnswer.where(survey: surveys)
41
+ surveys = Decidim::Surveys::Survey.includes(:questionnaire).where(component: components)
42
+ answers = Decidim::Forms::Answer.where(questionnaire: surveys.map(&:questionnaire))
44
43
  answers = answers.where("created_at >= ?", start_at) if start_at.present?
45
44
  answers = answers.where("created_at <= ?", end_at) if end_at.present?
46
45
  answers.group(:decidim_user_id).count.size
@@ -61,10 +60,10 @@ Decidim.register_component(:surveys) do |component|
61
60
  component.exports :survey_user_answers do |exports|
62
61
  exports.collection do |f|
63
62
  survey = Decidim::Surveys::Survey.find_by(component: f)
64
- Decidim::Surveys::SurveyUserAnswers.for(survey)
63
+ Decidim::Forms::QuestionnaireUserAnswers.for(survey.questionnaire)
65
64
  end
66
65
 
67
- exports.serializer Decidim::Surveys::SurveyUserAnswersSerializer
66
+ exports.serializer Decidim::Forms::UserAnswersSerializer
68
67
  end
69
68
 
70
69
  component.seeds do |participatory_space|
@@ -89,8 +88,7 @@ Decidim.register_component(:surveys) do |component|
89
88
  Decidim::Component.create!(params)
90
89
  end
91
90
 
92
- params = {
93
- component: component,
91
+ questionnaire = Decidim::Forms::Questionnaire.new(
94
92
  title: Decidim::Faker::Localized.paragraph,
95
93
  description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
96
94
  Decidim::Faker::Localized.paragraph(3)
@@ -98,9 +96,14 @@ Decidim.register_component(:surveys) do |component|
98
96
  tos: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
99
97
  Decidim::Faker::Localized.paragraph(2)
100
98
  end
99
+ )
100
+
101
+ params = {
102
+ component: component,
103
+ questionnaire: questionnaire
101
104
  }
102
105
 
103
- survey = Decidim.traceability.create!(
106
+ Decidim.traceability.create!(
104
107
  Decidim::Surveys::Survey,
105
108
  admin_user,
106
109
  params,
@@ -108,16 +111,16 @@ Decidim.register_component(:surveys) do |component|
108
111
  )
109
112
 
110
113
  %w(short_answer long_answer).each do |text_question_type|
111
- Decidim::Surveys::SurveyQuestion.create!(
112
- survey: survey,
114
+ Decidim::Forms::Question.create!(
115
+ questionnaire: questionnaire,
113
116
  body: Decidim::Faker::Localized.paragraph,
114
117
  question_type: text_question_type
115
118
  )
116
119
  end
117
120
 
118
121
  %w(single_option multiple_option).each do |multiple_choice_question_type|
119
- question = Decidim::Surveys::SurveyQuestion.create!(
120
- survey: survey,
122
+ question = Decidim::Forms::Question.create!(
123
+ questionnaire: questionnaire,
121
124
  body: Decidim::Faker::Localized.paragraph,
122
125
  question_type: multiple_choice_question_type
123
126
  )
@@ -15,10 +15,6 @@ module Decidim
15
15
  root to: "surveys#show"
16
16
  end
17
17
 
18
- initializer "decidim_surveys.assets" do |app|
19
- app.config.assets.precompile += %w(decidim_surveys_manifest.js)
20
- end
21
-
22
18
  initializer "decidim_changes" do
23
19
  Decidim::SettingsChange.subscribe "surveys" do |changes|
24
20
  Decidim::Surveys::SettingsChangeJob.perform_later(
@@ -28,6 +24,23 @@ module Decidim
28
24
  )
29
25
  end
30
26
  end
27
+
28
+ initializer "decidim_surveys.register_metrics" do
29
+ Decidim.metrics_registry.register(:survey_answers) do |metric_registry|
30
+ metric_registry.manager_class = "Decidim::Surveys::Metrics::AnswersMetricManage"
31
+
32
+ metric_registry.settings do |settings|
33
+ settings.attribute :highlighted, type: :boolean, default: false
34
+ settings.attribute :scopes, type: :array, default: %w(participatory_process)
35
+ settings.attribute :weight, type: :integer, default: 5
36
+ settings.attribute :stat_block, type: :string, default: "small"
37
+ end
38
+ end
39
+
40
+ Decidim.metrics_operation.register(:participants, :surveys) do |metric_operation|
41
+ metric_operation.manager_class = "Decidim::Surveys::Metrics::SurveyParticipantsMetricMeasure"
42
+ end
43
+ end
31
44
  end
32
45
  end
33
46
  end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "decidim/core/test/factories"
4
+ require "decidim/forms/test/factories"
4
5
  require "decidim/participatory_processes/test/factories"
5
6
 
6
7
  FactoryBot.define do
@@ -11,48 +12,7 @@ FactoryBot.define do
11
12
  end
12
13
 
13
14
  factory :survey, class: Decidim::Surveys::Survey do
14
- title { generate_localized_title }
15
- description do
16
- Decidim::Faker::Localized.wrapped("<p>", "</p>") do
17
- generate_localized_title
18
- end
19
- end
20
- tos { generate_localized_title }
15
+ questionnaire { build(:questionnaire) }
21
16
  component { build(:surveys_component) }
22
17
  end
23
-
24
- factory :survey_question, class: Decidim::Surveys::SurveyQuestion do
25
- transient do
26
- answer_options { [] }
27
- end
28
-
29
- body { generate_localized_title }
30
- mandatory { false }
31
- position { 0 }
32
- question_type { Decidim::Surveys::SurveyQuestion::TYPES.first }
33
- survey
34
-
35
- before(:create) do |question, evaluator|
36
- evaluator.answer_options.each do |answer_option|
37
- question.answer_options.build(
38
- body: answer_option["body"],
39
- free_text: answer_option["free_text"]
40
- )
41
- end
42
- end
43
- end
44
-
45
- factory :survey_answer, class: Decidim::Surveys::SurveyAnswer do
46
- body { "hola" }
47
- survey
48
- question { create(:survey_question, survey: survey) }
49
- user { create(:user, organization: survey.organization) }
50
- end
51
-
52
- factory :survey_answer_option, class: Decidim::Surveys::SurveyAnswerOption do
53
- body { generate_localized_title }
54
- end
55
-
56
- factory :survey_answer_choice, class: Decidim::Surveys::SurveyAnswerChoice do
57
- end
58
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.15.2"
7
+ "0.16.0"
8
8
  end
9
9
  end
10
10
  end
@@ -0,0 +1,92 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :decidim_surveys do
4
+ desc "Migrate data from decidim_surveys tables to decidim_forms tables"
5
+ task migrate_data_to_decidim_forms: :environment do
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
+ unless [Answer, AnswerChoice, AnswerOption, Question].all? { |model| ActiveRecord::Base.connection.table_exists? model.table_name }
23
+ puts "ERROR: There are not all the necessary surveys tables. Have you already migrated the data?"
24
+ next
25
+ end
26
+
27
+ ActiveRecord::Base.transaction do
28
+ Decidim::Surveys::Survey.find_each do |survey|
29
+ puts "Migrating survey #{survey.id}..."
30
+
31
+ questionnaire = Decidim::Forms::Questionnaire.create!(
32
+ questionnaire_for: survey,
33
+ title: survey.title,
34
+ description: survey.description,
35
+ tos: survey.tos,
36
+ published_at: survey.published_at,
37
+ created_at: survey.created_at,
38
+ updated_at: survey.updated_at
39
+ )
40
+
41
+ Question.where(decidim_survey_id: survey.id).find_each do |survey_question|
42
+ puts "Migrating question #{survey_question.id}..."
43
+
44
+ question = Decidim::Forms::Question.create!(
45
+ questionnaire: questionnaire,
46
+ position: survey_question.position,
47
+ question_type: survey_question.question_type,
48
+ mandatory: survey_question.mandatory,
49
+ body: survey_question.body,
50
+ description: survey_question.description,
51
+ max_choices: survey_question.max_choices,
52
+ created_at: survey_question.created_at,
53
+ updated_at: survey_question.updated_at
54
+ )
55
+
56
+ # A hash with the old answer_option id as key, and the new form answer option as value
57
+ answer_option_mapping = {}
58
+
59
+ AnswerOption.where(decidim_survey_question_id: survey_question.id).find_each do |survey_answer_option|
60
+ answer_option_mapping[survey_answer_option.id] = Decidim::Forms::AnswerOption.create!(
61
+ question: question,
62
+ body: survey_answer_option.body,
63
+ free_text: survey_answer_option.free_text
64
+ )
65
+ end
66
+
67
+ Answer.where(decidim_survey_id: survey.id, decidim_survey_question_id: survey_question.id).find_each do |survey_answer|
68
+ answer = Decidim::Forms::Answer.new(
69
+ questionnaire: questionnaire,
70
+ question: question,
71
+ decidim_user_id: survey_answer.decidim_user_id,
72
+ body: survey_answer.body,
73
+ created_at: survey_answer.created_at,
74
+ updated_at: survey_answer.updated_at
75
+ )
76
+
77
+ AnswerChoice.where(decidim_survey_answer_id: survey_answer.id).find_each do |survey_answer_choice|
78
+ answer.choices.build(
79
+ answer_option: answer_option_mapping[survey_answer_choice.decidim_survey_answer_option_id],
80
+ body: survey_answer_choice.body,
81
+ custom_body: survey_answer_choice.custom_body,
82
+ position: survey_answer_choice.position
83
+ )
84
+ end
85
+
86
+ answer.save!
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-surveys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-01-08 00:00:00.000000000 Z
13
+ date: 2019-01-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,56 +18,70 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.15.2
21
+ version: 0.16.0
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.15.2
28
+ version: 0.16.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: decidim-forms
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.16.0
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.16.0
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: decidim-admin
31
45
  requirement: !ruby/object:Gem::Requirement
32
46
  requirements:
33
47
  - - '='
34
48
  - !ruby/object:Gem::Version
35
- version: 0.15.2
49
+ version: 0.16.0
36
50
  type: :development
37
51
  prerelease: false
38
52
  version_requirements: !ruby/object:Gem::Requirement
39
53
  requirements:
40
54
  - - '='
41
55
  - !ruby/object:Gem::Version
42
- version: 0.15.2
56
+ version: 0.16.0
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: decidim-dev
45
59
  requirement: !ruby/object:Gem::Requirement
46
60
  requirements:
47
61
  - - '='
48
62
  - !ruby/object:Gem::Version
49
- version: 0.15.2
63
+ version: 0.16.0
50
64
  type: :development
51
65
  prerelease: false
52
66
  version_requirements: !ruby/object:Gem::Requirement
53
67
  requirements:
54
68
  - - '='
55
69
  - !ruby/object:Gem::Version
56
- version: 0.15.2
70
+ version: 0.16.0
57
71
  - !ruby/object:Gem::Dependency
58
72
  name: decidim-participatory_processes
59
73
  requirement: !ruby/object:Gem::Requirement
60
74
  requirements:
61
75
  - - '='
62
76
  - !ruby/object:Gem::Version
63
- version: 0.15.2
77
+ version: 0.16.0
64
78
  type: :development
65
79
  prerelease: false
66
80
  version_requirements: !ruby/object:Gem::Requirement
67
81
  requirements:
68
82
  - - '='
69
83
  - !ruby/object:Gem::Version
70
- version: 0.15.2
84
+ version: 0.16.0
71
85
  description: A surveys component for decidim's participatory spaces.
72
86
  email:
73
87
  - josepjaume@gmail.com
@@ -79,19 +93,8 @@ extra_rdoc_files: []
79
93
  files:
80
94
  - README.md
81
95
  - Rakefile
82
- - app/assets/config/admin/decidim_surveys_manifest.js
83
- - app/assets/config/decidim_surveys_manifest.js
84
- - app/assets/images/decidim/surveys/icon.svg
85
- - app/assets/javascripts/decidim/surveys/admin/auto_buttons_by_min_items.component.js.es6
86
- - app/assets/javascripts/decidim/surveys/admin/auto_select_options_by_total_items.component.js.es6
87
- - app/assets/javascripts/decidim/surveys/admin/surveys.js.es6
88
- - app/assets/javascripts/decidim/surveys/autosortable_checkboxes.component.js.es6
89
- - app/assets/javascripts/decidim/surveys/option_attached_inputs.component.js.es6
90
- - app/assets/javascripts/decidim/surveys/surveys.js.es6
91
96
  - app/assets/stylesheets/decidim/surveys/surveys.scss
92
97
  - app/cells/decidim/surveys/survey_activity_cell.rb
93
- - app/commands/decidim/surveys/admin/update_survey.rb
94
- - app/commands/decidim/surveys/answer_survey.rb
95
98
  - app/commands/decidim/surveys/create_survey.rb
96
99
  - app/controllers/decidim/surveys/admin/application_controller.rb
97
100
  - app/controllers/decidim/surveys/admin/surveys_controller.rb
@@ -99,29 +102,13 @@ files:
99
102
  - app/controllers/decidim/surveys/surveys_controller.rb
100
103
  - app/events/decidim/surveys/closed_survey_event.rb
101
104
  - app/events/decidim/surveys/opened_survey_event.rb
102
- - app/forms/decidim/surveys/admin/survey_answer_option_form.rb
103
- - app/forms/decidim/surveys/admin/survey_form.rb
104
- - app/forms/decidim/surveys/admin/survey_question_form.rb
105
- - app/forms/decidim/surveys/survey_answer_choice_form.rb
106
- - app/forms/decidim/surveys/survey_answer_form.rb
107
- - app/forms/decidim/surveys/survey_form.rb
108
- - app/helpers/decidim/surveys/admin/application_helper.rb
109
105
  - app/jobs/decidim/surveys/settings_change_job.rb
110
106
  - app/models/decidim/surveys/application_record.rb
111
107
  - app/models/decidim/surveys/survey.rb
112
- - app/models/decidim/surveys/survey_answer.rb
113
- - app/models/decidim/surveys/survey_answer_choice.rb
114
- - app/models/decidim/surveys/survey_answer_option.rb
115
- - app/models/decidim/surveys/survey_question.rb
116
108
  - app/permissions/decidim/surveys/admin/permissions.rb
117
109
  - app/permissions/decidim/surveys/permissions.rb
118
- - app/queries/decidim/surveys/survey_user_answers.rb
119
- - app/views/decidim/surveys/admin/surveys/_answer_option.html.erb
120
- - app/views/decidim/surveys/admin/surveys/_form.html.erb
121
- - app/views/decidim/surveys/admin/surveys/_question.html.erb
122
- - app/views/decidim/surveys/admin/surveys/edit.html.erb
123
- - app/views/decidim/surveys/surveys/_answer.html.erb
124
- - app/views/decidim/surveys/surveys/show.html.erb
110
+ - app/queries/decidim/surveys/metrics/answers_metric_manage.rb
111
+ - app/queries/decidim/surveys/metrics/survey_participants_metric_measure.rb
125
112
  - config/locales/ca.yml
126
113
  - config/locales/de.yml
127
114
  - config/locales/en.yml
@@ -163,11 +150,10 @@ files:
163
150
  - lib/decidim/surveys/admin.rb
164
151
  - lib/decidim/surveys/admin_engine.rb
165
152
  - lib/decidim/surveys/component.rb
166
- - lib/decidim/surveys/data_portability_survey_user_answers_serializer.rb
167
153
  - lib/decidim/surveys/engine.rb
168
- - lib/decidim/surveys/survey_user_answers_serializer.rb
169
154
  - lib/decidim/surveys/test/factories.rb
170
155
  - lib/decidim/surveys/version.rb
156
+ - lib/tasks/decidim_surveys_tasks.rake
171
157
  homepage: https://github.com/decidim/decidim
172
158
  licenses:
173
159
  - AGPL-3.0
@@ -188,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
174
  version: '0'
189
175
  requirements: []
190
176
  rubyforge_project:
191
- rubygems_version: 2.7.7
177
+ rubygems_version: 2.7.6
192
178
  signing_key:
193
179
  specification_version: 4
194
180
  summary: Decidim surveys module
@@ -1 +0,0 @@
1
- //= link decidim/surveys/admin/surveys.js