Skip to content

Commit 9437de0

Browse files
dependabot[bot]thomasleese
authored andcommitted
Bump govuk-components from 5.11.1 to 5.11.2
Bumps [govuk-components](https://github.com/x-govuk/govuk-components) from 5.11.1 to 5.11.2. - [Release notes](https://github.com/x-govuk/govuk-components/releases) - [Commits](x-govuk/govuk-components@v5.11.1...v5.11.2) --- updated-dependencies: - dependency-name: govuk-components dependency-version: 5.11.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent f32cd3b commit 9437de0

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Gemfile.lock

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ GEM
277277
fugit (>= 1.11.0)
278278
railties (>= 6.1.0)
279279
thor (>= 1.0.0)
280-
govuk-components (5.11.1)
280+
govuk-components (5.11.2)
281281
html-attributes-utils (~> 1.0.0, >= 1.0.0)
282282
pagy (>= 6, < 10)
283-
view_component (>= 3.18, < 3.24)
283+
view_component (>= 4.0, < 4.1)
284284
govuk_design_system_formbuilder (5.11.0)
285285
actionview (>= 6.1)
286286
activemodel (>= 6.1)
@@ -706,10 +706,9 @@ GEM
706706
validate_url (1.0.15)
707707
activemodel (>= 3.0.0)
708708
public_suffix
709-
view_component (3.23.2)
710-
activesupport (>= 5.2.0, < 8.1)
709+
view_component (4.0.2)
710+
activesupport (>= 7.1.0, < 8.1)
711711
concurrent-ruby (~> 1)
712-
method_source (~> 1.0)
713712
warden (1.2.9)
714713
rack (>= 2.0.9)
715714
web-console (4.2.1)

config/application.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ class Application < Rails::Application
7979
config.good_job.execution_mode = :external
8080

8181
config.view_component.default_preview_layout = "component_preview"
82-
config.view_component.preview_controller = "ComponentPreviewsController"
83-
config.view_component.preview_paths << Rails.root.join(
82+
config.view_component.previews.controller = "ComponentPreviewsController"
83+
config.view_component.previews.paths << Rails.root.join(
8484
"spec/components/previews"
8585
)
8686
end

0 commit comments

Comments
 (0)