govuk-components 5.0.0b3 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f18cbe4c3443cef4f1d1bb1bf35fd62d4db164602982710dffc1c6d8dc561d18
4
- data.tar.gz: c1f8418c6aa536ffd532ea24dd9718bd949bec77d781cb4a628737f9a0a2618c
3
+ metadata.gz: 48254d17c646e2b01105ded5e6e439027fc60ff451c1e33f01c03f9922f58975
4
+ data.tar.gz: e9502d4077f983dd0f4ca33fec2cf101c34a7f1973943c9b77f5f43eb2af3656
5
5
  SHA512:
6
- metadata.gz: d97593a2c54aa8fd52de7a518fc60b9f76efbae41881cfed7337e0a8da5f460db1a30ea0114bfc24ee5004bea906b5e9ba56545ecec60d5d36bef1c507d3c595
7
- data.tar.gz: ffbaa5ff7ef5eaebe2683cb77a5f35aac5de5f11fd5638742fcb73cb91c76aff6da4d1b982fda1af43ab898811e5d7627f8dc0e751335ae4fefef76c809d9c0d
6
+ metadata.gz: 44e7aa296d43612ca4f31437239ce4445fc6ff4559a024e196b571cc3e4fb27db37ef785a3da3ba578b230caf6b3c4e859d0a654e71dce79fc344b5c95b07341
7
+ data.tar.gz: bdfb0aa85989f7453f71f956a9c27998d40a217cd3180d51263f69bd13d3feb5cdae1d64443779388d34088bc0d54b4da55c0a6c4cca7a14e24c1efd6d864b9a
@@ -26,7 +26,7 @@ module GovukLinkHelper
26
26
  button_text = build_text(name, visually_hidden_prefix: visually_hidden_prefix, visually_hidden_suffix: visually_hidden_suffix)
27
27
 
28
28
  if block_given?
29
- button_to(href, **button_args, &block)
29
+ button_to(name, **button_args, &block)
30
30
  else
31
31
  button_to(button_text, href, **button_args)
32
32
  end
@@ -37,7 +37,7 @@ module GovukLinkHelper
37
37
  button_text = build_text(name, visually_hidden_prefix: visually_hidden_prefix, visually_hidden_suffix: visually_hidden_suffix)
38
38
 
39
39
  if block_given?
40
- link_to(href, **button_args, &block)
40
+ link_to(name, **button_args, &block)
41
41
  else
42
42
  link_to(button_text, href, **button_args)
43
43
  end
@@ -1,6 +1,6 @@
1
1
  require "html_attributes_utils"
2
2
 
3
- module GovukRailsCompatibileLinkHelper
3
+ module GovukRailsCompatibleLinkHelper
4
4
  using HTMLAttributesUtils
5
5
 
6
6
  def govuk_link_classes(*styles, default_class: "#{brand}-link")
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Components
3
- VERSION = '5.0.0b3'.freeze
3
+ VERSION = '5.0.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0b3
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DfE developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2023-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-attributes-utils
@@ -385,7 +385,7 @@ files:
385
385
  - app/helpers/govuk_components_helper.rb
386
386
  - app/helpers/govuk_exit_this_page_link_helper.rb
387
387
  - app/helpers/govuk_link_helper.rb
388
- - app/helpers/govuk_rails_compatibile_link_helper.rb
388
+ - app/helpers/govuk_rails_compatible_link_helper.rb
389
389
  - app/helpers/govuk_skip_link_helper.rb
390
390
  - app/helpers/govuk_visually_hidden_helper.rb
391
391
  - app/helpers/title_with_error_prefix_helper.rb
@@ -410,9 +410,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
410
410
  version: '0'
411
411
  required_rubygems_version: !ruby/object:Gem::Requirement
412
412
  requirements:
413
- - - ">"
413
+ - - ">="
414
414
  - !ruby/object:Gem::Version
415
- version: 1.3.1
415
+ version: '0'
416
416
  requirements: []
417
417
  rubygems_version: 3.2.33
418
418
  signing_key: