decidim-dev 0.29.3 → 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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/decidim/dev/dummy_resource.rb +4 -2
  3. data/app/views/decidim/dev/dummy_resources/show.html.erb +1 -1
  4. data/config/locales/ar.yml +1 -1
  5. data/config/locales/bg.yml +1 -1
  6. data/config/locales/ca.yml +3 -1
  7. data/config/locales/cs.yml +3 -1
  8. data/config/locales/de.yml +3 -1
  9. data/config/locales/el.yml +1 -1
  10. data/config/locales/en.yml +2 -0
  11. data/config/locales/es-MX.yml +3 -1
  12. data/config/locales/es-PY.yml +3 -1
  13. data/config/locales/es.yml +3 -1
  14. data/config/locales/eu.yml +3 -1
  15. data/config/locales/fi-plain.yml +3 -1
  16. data/config/locales/fi.yml +3 -1
  17. data/config/locales/fr-CA.yml +1 -1
  18. data/config/locales/fr.yml +1 -1
  19. data/config/locales/gl.yml +1 -1
  20. data/config/locales/hu.yml +1 -1
  21. data/config/locales/id-ID.yml +1 -1
  22. data/config/locales/it.yml +1 -1
  23. data/config/locales/ja.yml +3 -1
  24. data/config/locales/lt.yml +1 -1
  25. data/config/locales/lv.yml +1 -1
  26. data/config/locales/nl.yml +1 -1
  27. data/config/locales/no.yml +1 -1
  28. data/config/locales/pl.yml +1 -1
  29. data/config/locales/pt-BR.yml +1 -1
  30. data/config/locales/pt.yml +1 -1
  31. data/config/locales/ro-RO.yml +2 -2
  32. data/config/locales/ru.yml +1 -1
  33. data/config/locales/sk.yml +1 -1
  34. data/config/locales/sv.yml +3 -1
  35. data/config/locales/tr-TR.yml +1 -1
  36. data/config/locales/zh-CN.yml +1 -1
  37. data/config/locales/zh-TW.yml +1 -1
  38. data/config/rubocop/disabled.yml +0 -27
  39. data/config/rubocop/faker.yml +1 -1
  40. data/config/rubocop/graphql.yml +23 -0
  41. data/config/rubocop/rspec.yml +1 -0
  42. data/config/rubocop/ruby.yml +1 -1
  43. data/decidim-dev.gemspec +12 -6
  44. data/lib/decidim/dev/auth_engine.rb +2 -0
  45. data/lib/decidim/dev/component.rb +1 -2
  46. data/lib/decidim/dev/test/rspec_support/capybara.rb +10 -25
  47. data/lib/decidim/dev/test/rspec_support/component.rb +2 -0
  48. data/lib/decidim/dev/test/rspec_support/component_context.rb +13 -7
  49. data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +4 -4
  50. data/lib/decidim/dev/test/rspec_support/controller_example_group.rb +8 -0
  51. data/lib/decidim/dev/test/rspec_support/screenshot_helper.rb +2 -2
  52. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +0 -1
  53. data/lib/decidim/dev/version.rb +1 -1
  54. data/lib/tasks/generators.rake +2 -1
  55. data/lib/tasks/lighthouse_report.rake +3 -3
  56. data/rubocop-decidim.yml +1 -0
  57. metadata +100 -24
  58. data/app/presenters/decidim/dev/dummy_resource_presenter.rb +0 -13
  59. data/config/locales/ca-IT.yml +0 -68
  60. data/lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb +0 -21
@@ -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