decidim-consultations 0.14.4 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/decidim/consultations/icon.svg +2 -69
  3. data/app/cells/decidim/consultation_activity_cell.rb +10 -0
  4. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations/show.erb +32 -0
  5. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations_cell.rb +41 -0
  6. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations_settings_form/show.erb +3 -0
  7. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations_settings_form_cell.rb +19 -0
  8. data/app/cells/decidim/consultations/question_activity_cell.rb +15 -0
  9. data/app/commands/decidim/consultations/admin/publish_consultation.rb +8 -3
  10. data/app/commands/decidim/consultations/admin/publish_question.rb +7 -2
  11. data/app/controllers/decidim/consultations/admin/consultation_publications_controller.rb +1 -1
  12. data/app/controllers/decidim/consultations/admin/question_publications_controller.rb +1 -1
  13. data/app/forms/decidim/consultations/admin/consultation_form.rb +2 -2
  14. data/app/models/decidim/consultation.rb +3 -0
  15. data/app/models/decidim/consultations/question.rb +5 -0
  16. data/app/models/decidim/consultations/vote.rb +10 -1
  17. data/app/views/layouts/decidim/admin/consultation.html.erb +1 -0
  18. data/app/views/layouts/decidim/admin/question.html.erb +1 -0
  19. data/config/locales/ca.yml +19 -0
  20. data/config/locales/de.yml +19 -0
  21. data/config/locales/en.yml +19 -0
  22. data/config/locales/es-PY.yml +19 -0
  23. data/config/locales/es.yml +19 -0
  24. data/config/locales/eu.yml +19 -0
  25. data/config/locales/fi.yml +19 -0
  26. data/config/locales/fr.yml +19 -0
  27. data/config/locales/gl.yml +19 -0
  28. data/config/locales/hu.yml +19 -0
  29. data/config/locales/it.yml +19 -0
  30. data/config/locales/nl.yml +19 -0
  31. data/config/locales/pl.yml +21 -0
  32. data/config/locales/pt-BR.yml +19 -0
  33. data/config/locales/pt.yml +19 -0
  34. data/config/locales/ru.yml +4 -0
  35. data/config/locales/sv.yml +19 -0
  36. data/config/locales/uk.yml +4 -0
  37. data/db/migrate/20181003082318_fix_user_groups_ids_on_consultations.rb +16 -0
  38. data/db/seeds/city.jpeg +0 -0
  39. data/db/seeds/city2.jpeg +0 -0
  40. data/lib/decidim/consultations/engine.rb +12 -0
  41. data/lib/decidim/consultations/participatory_space.rb +46 -10
  42. data/lib/decidim/consultations/test/factories.rb +10 -10
  43. data/lib/decidim/consultations/version.rb +1 -1
  44. metadata +18 -11
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-consultations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.4
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.4
19
+ version: 0.15.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.14.4
26
+ version: 0.15.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.14.4
33
+ version: 0.15.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.14.4
40
+ version: 0.15.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.14.4
47
+ version: 0.15.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.14.4
54
+ version: 0.15.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-dev
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.14.4
61
+ version: 0.15.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.14.4
68
+ version: 0.15.0
69
69
  description: Extends Decidim adding a first level public consultation component
70
70
  email:
71
71
  - jsperezg@gmail.com
@@ -99,10 +99,16 @@ files:
99
99
  - app/assets/stylesheets/decidim/consultations/consultations/introductory_image.scss
100
100
  - app/assets/stylesheets/decidim/consultations/highlighted-content-banner.css.scss
101
101
  - app/assets/stylesheets/decidim/consultations/social_share.css.scss
102
+ - app/cells/decidim/consultation_activity_cell.rb
102
103
  - app/cells/decidim/consultations/consultation_cell.rb
103
104
  - app/cells/decidim/consultations/consultation_m/data.erb
104
105
  - app/cells/decidim/consultations/consultation_m/footer.erb
105
106
  - app/cells/decidim/consultations/consultation_m_cell.rb
107
+ - app/cells/decidim/consultations/content_blocks/highlighted_consultations/show.erb
108
+ - app/cells/decidim/consultations/content_blocks/highlighted_consultations_cell.rb
109
+ - app/cells/decidim/consultations/content_blocks/highlighted_consultations_settings_form/show.erb
110
+ - app/cells/decidim/consultations/content_blocks/highlighted_consultations_settings_form_cell.rb
111
+ - app/cells/decidim/consultations/question_activity_cell.rb
106
112
  - app/commands/decidim/consultations/admin/create_consultation.rb
107
113
  - app/commands/decidim/consultations/admin/create_question.rb
108
114
  - app/commands/decidim/consultations/admin/create_response.rb
@@ -254,6 +260,7 @@ files:
254
260
  - db/migrate/20180219092120_add_order_to_decidim_consultations_questions.rb
255
261
  - db/migrate/20180320100658_add_introductory_image_to_decidim_consultations.rb
256
262
  - db/migrate/20180712111146_remove_unused_search_indexs.rb
263
+ - db/migrate/20181003082318_fix_user_groups_ids_on_consultations.rb
257
264
  - db/seeds/Exampledocument.pdf
258
265
  - db/seeds/city.jpeg
259
266
  - db/seeds/city2.jpeg
@@ -285,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
292
  version: '0'
286
293
  requirements: []
287
294
  rubyforge_project:
288
- rubygems_version: 2.7.7
295
+ rubygems_version: 2.7.6
289
296
  signing_key:
290
297
  specification_version: 4
291
298
  summary: Decidim consultations module