decidim-dev 0.29.4 → 0.30.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/decidim/dev/dummy_resource.rb +4 -2
  3. data/app/presenters/decidim/dev/official_author_presenter.rb +1 -1
  4. data/app/views/decidim/dev/dummy_resources/show.html.erb +1 -1
  5. data/config/locales/ar.yml +1 -1
  6. data/config/locales/bg.yml +1 -1
  7. data/config/locales/ca.yml +3 -1
  8. data/config/locales/cs.yml +3 -1
  9. data/config/locales/de.yml +3 -1
  10. data/config/locales/el.yml +1 -1
  11. data/config/locales/en.yml +2 -0
  12. data/config/locales/es-MX.yml +3 -1
  13. data/config/locales/es-PY.yml +3 -1
  14. data/config/locales/es.yml +3 -1
  15. data/config/locales/eu.yml +3 -1
  16. data/config/locales/fi-plain.yml +3 -1
  17. data/config/locales/fi.yml +3 -1
  18. data/config/locales/fr-CA.yml +1 -1
  19. data/config/locales/fr.yml +1 -1
  20. data/config/locales/gl.yml +1 -1
  21. data/config/locales/hu.yml +1 -1
  22. data/config/locales/id-ID.yml +1 -1
  23. data/config/locales/it.yml +1 -1
  24. data/config/locales/ja.yml +3 -1
  25. data/config/locales/lt.yml +1 -1
  26. data/config/locales/lv.yml +1 -1
  27. data/config/locales/nl.yml +1 -1
  28. data/config/locales/no.yml +1 -1
  29. data/config/locales/pl.yml +1 -1
  30. data/config/locales/pt-BR.yml +1 -1
  31. data/config/locales/pt.yml +1 -1
  32. data/config/locales/ro-RO.yml +2 -2
  33. data/config/locales/ru.yml +1 -1
  34. data/config/locales/sk.yml +1 -1
  35. data/config/locales/sv.yml +3 -1
  36. data/config/locales/tr-TR.yml +1 -1
  37. data/config/locales/zh-CN.yml +1 -1
  38. data/config/locales/zh-TW.yml +1 -1
  39. data/config/rubocop/disabled.yml +0 -27
  40. data/config/rubocop/faker.yml +1 -1
  41. data/config/rubocop/graphql.yml +23 -0
  42. data/config/rubocop/rspec.yml +1 -0
  43. data/config/rubocop/ruby.yml +1 -1
  44. data/decidim-dev.gemspec +12 -6
  45. data/lib/decidim/dev/auth_engine.rb +2 -0
  46. data/lib/decidim/dev/component.rb +1 -2
  47. data/lib/decidim/dev/test/rspec_support/capybara.rb +10 -25
  48. data/lib/decidim/dev/test/rspec_support/component.rb +2 -0
  49. data/lib/decidim/dev/test/rspec_support/component_context.rb +13 -7
  50. data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +4 -4
  51. data/lib/decidim/dev/test/rspec_support/controller_example_group.rb +8 -0
  52. data/lib/decidim/dev/test/rspec_support/screenshot_helper.rb +2 -2
  53. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +0 -1
  54. data/lib/decidim/dev/version.rb +1 -1
  55. data/lib/tasks/generators.rake +2 -1
  56. data/lib/tasks/lighthouse_report.rake +3 -3
  57. data/rubocop-decidim.yml +1 -0
  58. metadata +100 -25
  59. data/app/events/decidim/dev/dummy_notification_only_resource_event.rb +0 -9
  60. data/app/presenters/decidim/dev/dummy_resource_presenter.rb +0 -13
  61. data/config/locales/ca-IT.yml +0 -68
  62. data/lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb +0 -21
@@ -1,68 +0,0 @@
1
- ---
2
- ca-IT:
3
- activemodel:
4
- attributes:
5
- dummy:
6
- image: Imatge
7
- dummy_attribute: Atribut de prova
8
- dummy_resource:
9
- created_at: Creat el
10
- decidim_scope_id: Àmbit
11
- field: El meu camp
12
- start_date: Data d'inici
13
- title: Títol
14
- translatable_text: Text traduïble
15
- updated_at: Actualitzat el
16
- decidim:
17
- components:
18
- dummy:
19
- settings:
20
- global:
21
- guided: Entrada guiada
22
- guided_help: Text d'ajuda
23
- guided_readonly: Entrada deshabilitada
24
- guided_rich: Entrada guiada enriquida
25
- guided_rich_help_html: HTML <strong>ajuda</strong> text
26
- guided_rich_readonly_html: HTML <strong>ajuda</strong> text per l'entrada deshabilitada
27
- readonly_attribute: Atribut de només lectura
28
- test: Una prova
29
- test_choices:
30
- a: Opció A
31
- b: Opció B
32
- c: Opció C
33
- test_options:
34
- bar: Barra
35
- baz: Baz
36
- foo: Foo
37
- step:
38
- endorsements_blocked: Adhesions bloquejades
39
- endorsements_enabled: Adhesions habilitades
40
- readonly_step_attribute: Atribut de només lectura
41
- test_options:
42
- bar: Barra
43
- baz: Baz
44
- foo: Foo
45
- dummy:
46
- admin:
47
- exports:
48
- dummies: Proves
49
- gamification:
50
- badges:
51
- test:
52
- conditions:
53
- - Utilitza un entorn de prova per decidim.
54
- description: Les participants obtenen aquesta insígnia creant proves.
55
- description_another: Aquesta participant ha creat %{score} proves.
56
- description_own: Has creat %{score} proves.
57
- name: Proves
58
- next_level_in: Crea %{score} més proves per arribar al següent nivell!
59
- unearned_another: Aquesta participant encara no ha creat cap prova.
60
- unearned_own: Encara no has creat cap prova.
61
- resource_links:
62
- test_link:
63
- dummy_resource_dummy: Prova relacionada
64
- statistics:
65
- bar: Barra
66
- dummies_count_high: Fals alt
67
- dummies_count_medium: Fals mitjà
68
- foo: Foo
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class WickedPdf
4
- module WickedPdfHelper
5
- module Assets
6
- # Force wicked_pdf styles to have a relative path, to prevent fetching
7
- # them from a host
8
- def wicked_pdf_stylesheet_pack_tag(*)
9
- stylesheet_pack_tag(*)
10
- end
11
-
12
- # Disables the images in the PDFs as those requests would be jamming under
13
- # the test environment
14
- def wicked_pdf_image_tag(img, options = {}); end
15
- end
16
- end
17
- end
18
-
19
- RSpec.configure do |config|
20
- config.include WickedPdf::WickedPdfHelper::Assets
21
- end