decidim-surveys 0.27.5 → 0.27.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/bg.yml +7 -0
- data/config/locales/ca.yml +2 -2
- data/config/locales/de.yml +1 -1
- data/config/locales/es.yml +2 -2
- data/config/locales/he-IL.yml +1 -0
- data/config/locales/pl.yml +5 -1
- data/config/locales/pt-BR.yml +3 -0
- data/decidim-surveys.gemspec +35 -0
- data/lib/decidim/surveys/engine.rb +0 -1
- data/lib/decidim/surveys/test/factories.rb +10 -4
- data/lib/decidim/surveys/version.rb +1 -1
- metadata +27 -26
- data/config/environment.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab7b02b7db8979bf5856f6e0db4108a6c8ef4e49592e4fd038f8d2fffee82093
|
4
|
+
data.tar.gz: 1a37be114cb8f8c9b89a85d360fb0917ed6f653f82ea4a1fca5de34492b418c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b78c76413e6511cc51923ef4980eba15f8b7423daa1f5b6df2ed01c483ab7f7910f55b7011db82e70e9387641f1509444e7942182fa0a000a51ed889ff8b7c
|
7
|
+
data.tar.gz: f918613d7c89ed9ff7f773baaf8ea2dceaacc8f71fb985c15daf405e72b4df137ab870c77c26d5fbd59bd6dd8c06c242c0bf1b8b2993412d6d971fffabde0efe
|
data/config/locales/bg.yml
CHANGED
@@ -9,3 +9,10 @@ bg:
|
|
9
9
|
decidim/surveys/survey:
|
10
10
|
one: Анкета
|
11
11
|
other: Анкети
|
12
|
+
decidim:
|
13
|
+
surveys:
|
14
|
+
last_activity:
|
15
|
+
new_survey_at_html: "<span>Ново допитване на %{link}</span>"
|
16
|
+
surveys:
|
17
|
+
answer:
|
18
|
+
spam_detected: Възникна проблем при попълването на отговорите във формуляра. Навярно сте били твърде бързи, бихте ли опитали отново?
|
data/config/locales/ca.yml
CHANGED
@@ -37,12 +37,12 @@ ca:
|
|
37
37
|
surveys:
|
38
38
|
survey_closed:
|
39
39
|
email_intro: L'enquesta %{resource_title} a %{participatory_space_title} ha estat tancada.
|
40
|
-
email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
40
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
41
41
|
email_subject: S'ha acabat una enquesta a %{participatory_space_title}
|
42
42
|
notification_title: L'enquesta <a href="%{resource_path}">%{resource_title}</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a> ha acabat.
|
43
43
|
survey_opened:
|
44
44
|
email_intro: 'L''enquesta %{resource_title} a %{participatory_space_title} ja està oberta. Pots participar-hi des d''aquesta pàgina:'
|
45
|
-
email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
45
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
|
46
46
|
email_subject: Una nova enquesta a %{participatory_space_title}
|
47
47
|
notification_title: L'enquesta <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a> ja està oberta.
|
48
48
|
metrics:
|
data/config/locales/de.yml
CHANGED
@@ -64,7 +64,7 @@ de:
|
|
64
64
|
invalid: Beim Speichern der Umfrage sind Fehler aufgetreten.
|
65
65
|
success: Umfrage wurde erfolgreich gespeichert.
|
66
66
|
last_activity:
|
67
|
-
new_survey_at_html: "<span>Neue Umfrage
|
67
|
+
new_survey_at_html: "<span>Neue Umfrage auf %{link}</span>"
|
68
68
|
surveys:
|
69
69
|
answer:
|
70
70
|
invalid: Bei der Beantwortung der Umfrage sind Fehler aufgetreten.
|
data/config/locales/es.yml
CHANGED
@@ -37,12 +37,12 @@ es:
|
|
37
37
|
surveys:
|
38
38
|
survey_closed:
|
39
39
|
email_intro: La encuesta %{resource_title} en %{participatory_space_title} se ha cerrado.
|
40
|
-
email_outro: Has recibido esta notificación porqué estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
40
|
+
email_outro: Has recibido esta notificación porqué estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
41
41
|
email_subject: Ha terminado una encuesta en %{participatory_space_title}
|
42
42
|
notification_title: La encuesta <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a> ha terminado.
|
43
43
|
survey_opened:
|
44
44
|
email_intro: 'Ya está abierta la encuesta %{resource_title} en %{participatory_space_title}. Puedes participar desde esta página:'
|
45
|
-
email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
45
|
+
email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
46
46
|
email_subject: Nueva encuesta en %{participatory_space_title}
|
47
47
|
notification_title: Ya está abierta la encuesta <a href="%{resource_path}">%{resource_title}</a> en <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
48
48
|
metrics:
|
@@ -0,0 +1 @@
|
|
1
|
+
he:
|
data/config/locales/pl.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
pl:
|
3
3
|
activemodel:
|
4
4
|
models:
|
5
|
-
decidim/surveys/closed_survey_event: Ankieta
|
5
|
+
decidim/surveys/closed_survey_event: Ankieta zakończona
|
6
6
|
decidim/surveys/opened_survey_event: Rozpoczęto ankietę
|
7
7
|
activerecord:
|
8
8
|
models:
|
@@ -35,6 +35,7 @@ pl:
|
|
35
35
|
step:
|
36
36
|
allow_answers: Pozwól na wypełnianie
|
37
37
|
allow_unregistered: Pozwól niezarejestrowanym użytkownikom wypełnić ankietę
|
38
|
+
allow_unregistered_help: Jeśli to ustawienie jest w użyciu, logowanie nie jest wymagane aby odpowiedzieć na ankietę. Może to prowadzić do słabych lub nierzetelnych danych i będzie bardziej podatne na zautomatyzowane ataki. Należy zachować ostrożność! Pamiętaj, że uczestnik może odpowiedzieć na to samo badanie wielokrotnie, korzystając z różnych przeglądarek lub funkcji "prywatne przeglądanie" swojej przeglądarki internetowej.
|
38
39
|
announcement: Ogłoszenie
|
39
40
|
events:
|
40
41
|
surveys:
|
@@ -57,6 +58,9 @@ pl:
|
|
57
58
|
answers_count: Odpowiedzi
|
58
59
|
surveys:
|
59
60
|
admin:
|
61
|
+
component:
|
62
|
+
actions:
|
63
|
+
answers_alert: Po opublikowaniu komponentu wszystkie wyniki zostaną usunięte.
|
60
64
|
exports:
|
61
65
|
survey_user_answers: Odpowiedzi użytkowników na pytania z ankiety
|
62
66
|
surveys:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path("lib", __dir__)
|
4
|
+
|
5
|
+
# Maintain your gem's version:
|
6
|
+
require "decidim/surveys/version"
|
7
|
+
|
8
|
+
# Describe your gem and declare its dependencies:
|
9
|
+
Gem::Specification.new do |s|
|
10
|
+
s.version = Decidim::Surveys.version
|
11
|
+
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
12
|
+
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
13
|
+
s.license = "AGPL-3.0"
|
14
|
+
s.homepage = "https://github.com/decidim/decidim"
|
15
|
+
s.required_ruby_version = "~> 3.0.0"
|
16
|
+
|
17
|
+
s.name = "decidim-surveys"
|
18
|
+
s.summary = "Decidim surveys module"
|
19
|
+
s.description = "A surveys component for decidim's participatory spaces."
|
20
|
+
|
21
|
+
s.files = Dir.chdir(__dir__) do
|
22
|
+
`git ls-files -z`.split("\x0").select do |f|
|
23
|
+
(File.expand_path(f) == __FILE__) ||
|
24
|
+
f.start_with?(*%w(app/ config/ db/ lib/ Rakefile README.md))
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
s.add_dependency "decidim-core", Decidim::Surveys.version
|
29
|
+
s.add_dependency "decidim-forms", Decidim::Surveys.version
|
30
|
+
|
31
|
+
s.add_development_dependency "decidim-admin", Decidim::Surveys.version
|
32
|
+
s.add_development_dependency "decidim-dev", Decidim::Surveys.version
|
33
|
+
s.add_development_dependency "decidim-participatory_processes", Decidim::Surveys.version
|
34
|
+
s.add_development_dependency "decidim-templates", Decidim::Surveys.version
|
35
|
+
end
|
@@ -6,13 +6,19 @@ require "decidim/participatory_processes/test/factories"
|
|
6
6
|
|
7
7
|
FactoryBot.define do
|
8
8
|
factory :surveys_component, parent: :component do
|
9
|
-
|
9
|
+
transient do
|
10
|
+
skip_injection { false }
|
11
|
+
end
|
12
|
+
name { generate_component_name(participatory_space.organization.available_locales, :surveys, skip_injection: skip_injection) }
|
10
13
|
manifest_name { :surveys }
|
11
|
-
participatory_space { create(:participatory_process, :with_steps) }
|
14
|
+
participatory_space { create(:participatory_process, :with_steps, skip_injection: skip_injection) }
|
12
15
|
end
|
13
16
|
|
14
17
|
factory :survey, class: "Decidim::Surveys::Survey" do
|
15
|
-
|
16
|
-
|
18
|
+
transient do
|
19
|
+
skip_injection { false }
|
20
|
+
end
|
21
|
+
questionnaire { build(:questionnaire, :with_questions, skip_injection: skip_injection) }
|
22
|
+
component { build(:surveys_component, skip_injection: skip_injection) }
|
17
23
|
end
|
18
24
|
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.27.
|
4
|
+
version: 0.27.6
|
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:
|
13
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,84 +18,84 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.27.
|
21
|
+
version: 0.27.6
|
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.27.
|
28
|
+
version: 0.27.6
|
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.27.
|
35
|
+
version: 0.27.6
|
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.27.
|
42
|
+
version: 0.27.6
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
|
-
name: decidim-
|
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.27.
|
50
|
-
type: :
|
49
|
+
version: 0.27.6
|
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.27.
|
56
|
+
version: 0.27.6
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
|
-
name: decidim-
|
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.27.
|
63
|
+
version: 0.27.6
|
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.27.
|
70
|
+
version: 0.27.6
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
name: decidim-
|
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.27.
|
77
|
+
version: 0.27.6
|
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.27.
|
84
|
+
version: 0.27.6
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
|
-
name: decidim-
|
86
|
+
name: decidim-templates
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.27.
|
91
|
+
version: 0.27.6
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.27.
|
98
|
+
version: 0.27.6
|
99
99
|
description: A surveys component for decidim's participatory spaces.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -130,7 +130,6 @@ files:
|
|
130
130
|
- app/views/decidim/surveys/admin/component/_actions.html.erb
|
131
131
|
- app/views/decidim/surveys/surveys/no_permission.html.erb
|
132
132
|
- config/assets.rb
|
133
|
-
- config/environment.rb
|
134
133
|
- config/locales/am-ET.yml
|
135
134
|
- config/locales/ar-SA.yml
|
136
135
|
- config/locales/ar.yml
|
@@ -163,6 +162,7 @@ files:
|
|
163
162
|
- config/locales/ga-IE.yml
|
164
163
|
- config/locales/gl.yml
|
165
164
|
- config/locales/gn-PY.yml
|
165
|
+
- config/locales/he-IL.yml
|
166
166
|
- config/locales/hr-HR.yml
|
167
167
|
- config/locales/hr.yml
|
168
168
|
- config/locales/hu.yml
|
@@ -232,6 +232,7 @@ files:
|
|
232
232
|
- db/migrate/20200610090725_remove_survey_answers.rb
|
233
233
|
- db/migrate/20200610090845_remove_survey_questions.rb
|
234
234
|
- db/migrate/20200610105927_remove_survey_columns.rb
|
235
|
+
- decidim-surveys.gemspec
|
235
236
|
- lib/decidim/api/survey_type.rb
|
236
237
|
- lib/decidim/api/surveys_type.rb
|
237
238
|
- lib/decidim/surveys.rb
|
@@ -247,23 +248,23 @@ homepage: https://github.com/decidim/decidim
|
|
247
248
|
licenses:
|
248
249
|
- AGPL-3.0
|
249
250
|
metadata: {}
|
250
|
-
post_install_message:
|
251
|
+
post_install_message:
|
251
252
|
rdoc_options: []
|
252
253
|
require_paths:
|
253
254
|
- lib
|
254
255
|
required_ruby_version: !ruby/object:Gem::Requirement
|
255
256
|
requirements:
|
256
|
-
- - "
|
257
|
+
- - "~>"
|
257
258
|
- !ruby/object:Gem::Version
|
258
|
-
version:
|
259
|
+
version: 3.0.0
|
259
260
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
261
|
requirements:
|
261
262
|
- - ">="
|
262
263
|
- !ruby/object:Gem::Version
|
263
264
|
version: '0'
|
264
265
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
266
|
-
signing_key:
|
266
|
+
rubygems_version: 3.2.22
|
267
|
+
signing_key:
|
267
268
|
specification_version: 4
|
268
269
|
summary: Decidim surveys module
|
269
270
|
test_files: []
|
data/config/environment.rb
DELETED