govuk-components 3.1.5 → 3.2.0b1

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: 632ec1fef8b22693d71008152c6adb25bde2cd400895618b41d14056466cd055
4
- data.tar.gz: 4ccf73c83e598e6419c8e82e700870861c338a19e1d083bc2820f6433d19f549
3
+ metadata.gz: baf575169df70b76806ee48f46c1043b2923df01f0f03c60fe80b6a2ed7b2e47
4
+ data.tar.gz: 9cfdb4dc1d0fbd2e1bed77df6efc633f2f1a33ee068664e1562e523e4088f761
5
5
  SHA512:
6
- metadata.gz: cba06bc11666a450af21e78aa2e0516ee3d270172200e2ea0fa5256a53468535081bcf42a72827e456bbdf948bed9a629734b36534a27dcef8728ed652d6de1e
7
- data.tar.gz: f967118acba6ea0c32304ac8af943bcf8a7a63dfa62ae28b004413f1dedf4ad70bd994cb8b3df144c294250929951deb927f008208144aaa7aed33fadca43022
6
+ metadata.gz: e27fccc13b9c2d7d590f75f0617037ad9be59598d38a7422d7b93e61ec5c1ca021b31f8bf4ad075ebe9e3869038cff7696e19c119398c7aa58890a585e1e976c
7
+ data.tar.gz: 55d4ac92ddab808a1c33d360172f318bf56eb801c0b44532920c1b91f57efe7d625cf0ab31828443c96e1568d59eb8909f44cc290093f823a3e6c4b6be69d7bd
@@ -56,11 +56,7 @@ module GovukLinkHelper
56
56
  html_options = build_html_options(extra_options, style: :button)
57
57
 
58
58
  if block_given?
59
- if Rails.version >= "7.0.0" && name.is_a?(Hash)
60
- button_to(name.merge(html_options), &block)
61
- else
62
- button_to(name, html_options, &block)
63
- end
59
+ button_to(options, html_options, &block)
64
60
  else
65
61
  button_to(name, options, html_options)
66
62
  end
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Components
3
- VERSION = '3.1.5'.freeze
3
+ VERSION = '3.2.0b1'.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: 3.1.5
4
+ version: 3.2.0b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DfE developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -438,9 +438,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
438
438
  version: '0'
439
439
  required_rubygems_version: !ruby/object:Gem::Requirement
440
440
  requirements:
441
- - - ">="
441
+ - - ">"
442
442
  - !ruby/object:Gem::Version
443
- version: '0'
443
+ version: 1.3.1
444
444
  requirements: []
445
445
  rubygems_version: 3.1.6
446
446
  signing_key: