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.
- checksums.yaml +4 -4
- data/app/models/decidim/dev/dummy_resource.rb +4 -2
- data/app/views/decidim/dev/dummy_resources/show.html.erb +1 -1
- data/config/locales/ar.yml +1 -1
- data/config/locales/bg.yml +1 -1
- data/config/locales/ca.yml +3 -1
- data/config/locales/cs.yml +3 -1
- data/config/locales/de.yml +3 -1
- data/config/locales/el.yml +1 -1
- data/config/locales/en.yml +2 -0
- data/config/locales/es-MX.yml +3 -1
- data/config/locales/es-PY.yml +3 -1
- data/config/locales/es.yml +3 -1
- data/config/locales/eu.yml +3 -1
- data/config/locales/fi-plain.yml +3 -1
- data/config/locales/fi.yml +3 -1
- data/config/locales/fr-CA.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/locales/gl.yml +1 -1
- data/config/locales/hu.yml +1 -1
- data/config/locales/id-ID.yml +1 -1
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +3 -1
- data/config/locales/lt.yml +1 -1
- data/config/locales/lv.yml +1 -1
- data/config/locales/nl.yml +1 -1
- data/config/locales/no.yml +1 -1
- data/config/locales/pl.yml +1 -1
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +1 -1
- data/config/locales/ro-RO.yml +2 -2
- data/config/locales/ru.yml +1 -1
- data/config/locales/sk.yml +1 -1
- data/config/locales/sv.yml +3 -1
- data/config/locales/tr-TR.yml +1 -1
- data/config/locales/zh-CN.yml +1 -1
- data/config/locales/zh-TW.yml +1 -1
- data/config/rubocop/disabled.yml +0 -27
- data/config/rubocop/faker.yml +1 -1
- data/config/rubocop/graphql.yml +23 -0
- data/config/rubocop/rspec.yml +1 -0
- data/config/rubocop/ruby.yml +1 -1
- data/decidim-dev.gemspec +12 -6
- data/lib/decidim/dev/auth_engine.rb +2 -0
- data/lib/decidim/dev/component.rb +1 -2
- data/lib/decidim/dev/test/rspec_support/capybara.rb +10 -25
- data/lib/decidim/dev/test/rspec_support/component.rb +2 -0
- data/lib/decidim/dev/test/rspec_support/component_context.rb +13 -7
- data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +4 -4
- data/lib/decidim/dev/test/rspec_support/controller_example_group.rb +8 -0
- data/lib/decidim/dev/test/rspec_support/screenshot_helper.rb +2 -2
- data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +0 -1
- data/lib/decidim/dev/version.rb +1 -1
- data/lib/tasks/generators.rake +2 -1
- data/lib/tasks/lighthouse_report.rake +3 -3
- data/rubocop-decidim.yml +1 -0
- metadata +100 -24
- data/app/presenters/decidim/dev/dummy_resource_presenter.rb +0 -13
- data/config/locales/ca-IT.yml +0 -68
- 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
|