ccs-frontend_helpers 1.2.0 → 2.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38560818156ac958cffb99cba75120dafce3be490c1536fdf83c92c532d66328
4
- data.tar.gz: 2be3dc70f1282f56ce36ce5bb5092abf9a399bd29c8a582a24611caab9a6cbef
3
+ metadata.gz: e09c05f35265d0a0818888f98fc01eac5c19d7d8383e328d6ebec40616a58fe7
4
+ data.tar.gz: a4439bb27706ccb279e5c1fc4ff4336d0a2bef57b09f5dd4f2adad2e045430e3
5
5
  SHA512:
6
- metadata.gz: bcedbbe479c7981653a8aad6fe8944cb1f51b5e6aed4f1bee1f9ca5d9a54b42bdc897aaa3016096235d6e3a0ff9a63d810bf6a0de91433e7a743142ee8ab67e8
7
- data.tar.gz: dbbf68e53152b494b4e252b09c3ab019349d6c840199f5253bc84db021aee2fe8fcde8c747014eb61db332cef5a4d87f5d951d9f1c88da998eed2e1939d6bacf
6
+ metadata.gz: 79c572690bae3d82a2c72642ef22f576ab54155a03e2ef1b4c54acfb6d7eddf5da6175080c8aa05fc134ef32b2bb83dc2f9ce50cdefe19c6b530666bc18b02be
7
+ data.tar.gz: 6cbe9e413665a50a585e2728c0dd3aefa7a5f36722f2dff1e1eab0e2c5123f0f28594f0095e98b89523761bfcd1e767bbb0f8081609925e74793dbef1a355751
data/.rubocop.yml CHANGED
@@ -7,7 +7,7 @@ require:
7
7
 
8
8
  AllCops:
9
9
  NewCops: enable
10
- TargetRubyVersion: 3.0
10
+ TargetRubyVersion: 3.1
11
11
  Exclude:
12
12
  - "bin/**/*"
13
13
  - "tmp/**/*"
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 3.3.5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.0] - 2024-11-05
11
+
12
+ ### Changed
13
+
14
+ - Update minimum required Rails version to v7.0
15
+ - Updated minimum Ruby version to 3.1
16
+
17
+ ### Added
18
+
19
+ - Updated GOV.UK Frontend to v5.7.1
20
+ - Updated CCS Frontend to v1.2.0
21
+
10
22
  ## [1.2.0] - 2024-09-02
11
23
 
12
24
  ### Added
data/Gemfile CHANGED
@@ -16,11 +16,11 @@ gem 'simplecov', '~> 0.21'
16
16
  gem 'nokogiri-diff', '~> 0.3.0'
17
17
 
18
18
  # Gems for linting/formatting the package
19
- gem 'rubocop', '~> 1.66'
19
+ gem 'rubocop', '~> 1.68'
20
20
  gem 'rubocop-capybara', '~> 2.20'
21
- gem 'rubocop-rails', '~> 2.26'
21
+ gem 'rubocop-rails', '~> 2.27'
22
22
  gem 'rubocop-rake', '~> 0.6'
23
- gem 'rubocop-rspec', '~> 3.0'
23
+ gem 'rubocop-rspec', '~> 3.2'
24
24
 
25
25
  # Gems for documenting the package
26
26
  gem 'yard', '~> 0.9'
data/Gemfile.lock CHANGED
@@ -1,41 +1,41 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ccs-frontend_helpers (1.2.0)
5
- rails (>= 6.0)
4
+ ccs-frontend_helpers (2.0.0)
5
+ rails (>= 7.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (7.1.4)
11
- actionpack (= 7.1.4)
12
- activesupport (= 7.1.4)
10
+ actioncable (7.1.4.2)
11
+ actionpack (= 7.1.4.2)
12
+ activesupport (= 7.1.4.2)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
15
  zeitwerk (~> 2.6)
16
- actionmailbox (7.1.4)
17
- actionpack (= 7.1.4)
18
- activejob (= 7.1.4)
19
- activerecord (= 7.1.4)
20
- activestorage (= 7.1.4)
21
- activesupport (= 7.1.4)
16
+ actionmailbox (7.1.4.2)
17
+ actionpack (= 7.1.4.2)
18
+ activejob (= 7.1.4.2)
19
+ activerecord (= 7.1.4.2)
20
+ activestorage (= 7.1.4.2)
21
+ activesupport (= 7.1.4.2)
22
22
  mail (>= 2.7.1)
23
23
  net-imap
24
24
  net-pop
25
25
  net-smtp
26
- actionmailer (7.1.4)
27
- actionpack (= 7.1.4)
28
- actionview (= 7.1.4)
29
- activejob (= 7.1.4)
30
- activesupport (= 7.1.4)
26
+ actionmailer (7.1.4.2)
27
+ actionpack (= 7.1.4.2)
28
+ actionview (= 7.1.4.2)
29
+ activejob (= 7.1.4.2)
30
+ activesupport (= 7.1.4.2)
31
31
  mail (~> 2.5, >= 2.5.4)
32
32
  net-imap
33
33
  net-pop
34
34
  net-smtp
35
35
  rails-dom-testing (~> 2.2)
36
- actionpack (7.1.4)
37
- actionview (= 7.1.4)
38
- activesupport (= 7.1.4)
36
+ actionpack (7.1.4.2)
37
+ actionview (= 7.1.4.2)
38
+ activesupport (= 7.1.4.2)
39
39
  nokogiri (>= 1.8.5)
40
40
  racc
41
41
  rack (>= 2.2.4)
@@ -43,35 +43,35 @@ GEM
43
43
  rack-test (>= 0.6.3)
44
44
  rails-dom-testing (~> 2.2)
45
45
  rails-html-sanitizer (~> 1.6)
46
- actiontext (7.1.4)
47
- actionpack (= 7.1.4)
48
- activerecord (= 7.1.4)
49
- activestorage (= 7.1.4)
50
- activesupport (= 7.1.4)
46
+ actiontext (7.1.4.2)
47
+ actionpack (= 7.1.4.2)
48
+ activerecord (= 7.1.4.2)
49
+ activestorage (= 7.1.4.2)
50
+ activesupport (= 7.1.4.2)
51
51
  globalid (>= 0.6.0)
52
52
  nokogiri (>= 1.8.5)
53
- actionview (7.1.4)
54
- activesupport (= 7.1.4)
53
+ actionview (7.1.4.2)
54
+ activesupport (= 7.1.4.2)
55
55
  builder (~> 3.1)
56
56
  erubi (~> 1.11)
57
57
  rails-dom-testing (~> 2.2)
58
58
  rails-html-sanitizer (~> 1.6)
59
- activejob (7.1.4)
60
- activesupport (= 7.1.4)
59
+ activejob (7.1.4.2)
60
+ activesupport (= 7.1.4.2)
61
61
  globalid (>= 0.3.6)
62
- activemodel (7.1.4)
63
- activesupport (= 7.1.4)
64
- activerecord (7.1.4)
65
- activemodel (= 7.1.4)
66
- activesupport (= 7.1.4)
62
+ activemodel (7.1.4.2)
63
+ activesupport (= 7.1.4.2)
64
+ activerecord (7.1.4.2)
65
+ activemodel (= 7.1.4.2)
66
+ activesupport (= 7.1.4.2)
67
67
  timeout (>= 0.4.0)
68
- activestorage (7.1.4)
69
- actionpack (= 7.1.4)
70
- activejob (= 7.1.4)
71
- activerecord (= 7.1.4)
72
- activesupport (= 7.1.4)
68
+ activestorage (7.1.4.2)
69
+ actionpack (= 7.1.4.2)
70
+ activejob (= 7.1.4.2)
71
+ activerecord (= 7.1.4.2)
72
+ activesupport (= 7.1.4.2)
73
73
  marcel (~> 1.0)
74
- activesupport (7.1.4)
74
+ activesupport (7.1.4.2)
75
75
  base64
76
76
  bigdecimal
77
77
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -106,13 +106,13 @@ GEM
106
106
  erubi (1.13.0)
107
107
  globalid (1.2.1)
108
108
  activesupport (>= 6.1)
109
- i18n (1.14.5)
109
+ i18n (1.14.6)
110
110
  concurrent-ruby (~> 1.0)
111
111
  io-console (0.7.2)
112
112
  irb (1.14.0)
113
113
  rdoc (>= 4.0.0)
114
114
  reline (>= 0.4.2)
115
- json (2.7.2)
115
+ json (2.7.5)
116
116
  language_server-protocol (3.17.0.3)
117
117
  loofah (2.22.0)
118
118
  crass (~> 1.0.2)
@@ -145,14 +145,14 @@ GEM
145
145
  nokogiri (~> 1.5)
146
146
  tdiff (~> 0.4)
147
147
  parallel (1.26.3)
148
- parser (3.3.4.2)
148
+ parser (3.3.5.1)
149
149
  ast (~> 2.4.1)
150
150
  racc
151
151
  psych (5.1.2)
152
152
  stringio
153
153
  public_suffix (5.0.4)
154
154
  racc (1.8.1)
155
- rack (3.1.7)
155
+ rack (3.1.8)
156
156
  rack-session (2.0.0)
157
157
  rack (>= 3.0.0)
158
158
  rack-test (2.1.0)
@@ -160,20 +160,20 @@ GEM
160
160
  rackup (2.1.0)
161
161
  rack (>= 3)
162
162
  webrick (~> 1.8)
163
- rails (7.1.4)
164
- actioncable (= 7.1.4)
165
- actionmailbox (= 7.1.4)
166
- actionmailer (= 7.1.4)
167
- actionpack (= 7.1.4)
168
- actiontext (= 7.1.4)
169
- actionview (= 7.1.4)
170
- activejob (= 7.1.4)
171
- activemodel (= 7.1.4)
172
- activerecord (= 7.1.4)
173
- activestorage (= 7.1.4)
174
- activesupport (= 7.1.4)
163
+ rails (7.1.4.2)
164
+ actioncable (= 7.1.4.2)
165
+ actionmailbox (= 7.1.4.2)
166
+ actionmailer (= 7.1.4.2)
167
+ actionpack (= 7.1.4.2)
168
+ actiontext (= 7.1.4.2)
169
+ actionview (= 7.1.4.2)
170
+ activejob (= 7.1.4.2)
171
+ activemodel (= 7.1.4.2)
172
+ activerecord (= 7.1.4.2)
173
+ activestorage (= 7.1.4.2)
174
+ activesupport (= 7.1.4.2)
175
175
  bundler (>= 1.15.0)
176
- railties (= 7.1.4)
176
+ railties (= 7.1.4.2)
177
177
  rails-dom-testing (2.2.0)
178
178
  activesupport (>= 5.0.0)
179
179
  minitest
@@ -181,9 +181,9 @@ GEM
181
181
  rails-html-sanitizer (1.6.0)
182
182
  loofah (~> 2.21)
183
183
  nokogiri (~> 1.14)
184
- railties (7.1.4)
185
- actionpack (= 7.1.4)
186
- activesupport (= 7.1.4)
184
+ railties (7.1.4.2)
185
+ actionpack (= 7.1.4.2)
186
+ activesupport (= 7.1.4.2)
187
187
  irb
188
188
  rackup (>= 1.0.0)
189
189
  rake (>= 12.2)
@@ -209,28 +209,28 @@ GEM
209
209
  diff-lcs (>= 1.2.0, < 2.0)
210
210
  rspec-support (~> 3.13.0)
211
211
  rspec-support (3.13.1)
212
- rubocop (1.66.0)
212
+ rubocop (1.68.0)
213
213
  json (~> 2.3)
214
214
  language_server-protocol (>= 3.17.0)
215
215
  parallel (~> 1.10)
216
216
  parser (>= 3.3.0.2)
217
217
  rainbow (>= 2.2.2, < 4.0)
218
218
  regexp_parser (>= 2.4, < 3.0)
219
- rubocop-ast (>= 1.32.1, < 2.0)
219
+ rubocop-ast (>= 1.32.2, < 2.0)
220
220
  ruby-progressbar (~> 1.7)
221
221
  unicode-display_width (>= 2.4.0, < 3.0)
222
- rubocop-ast (1.32.1)
222
+ rubocop-ast (1.33.1)
223
223
  parser (>= 3.3.1.0)
224
224
  rubocop-capybara (2.21.0)
225
225
  rubocop (~> 1.41)
226
- rubocop-rails (2.26.0)
226
+ rubocop-rails (2.27.0)
227
227
  activesupport (>= 4.2.0)
228
228
  rack (>= 1.1)
229
229
  rubocop (>= 1.52.0, < 2.0)
230
230
  rubocop-ast (>= 1.31.1, < 2.0)
231
231
  rubocop-rake (0.6.0)
232
232
  rubocop (~> 1.0)
233
- rubocop-rspec (3.0.4)
233
+ rubocop-rspec (3.2.0)
234
234
  rubocop (~> 1.61)
235
235
  ruby-progressbar (1.13.0)
236
236
  simplecov (0.22.0)
@@ -245,14 +245,14 @@ GEM
245
245
  timeout (0.4.1)
246
246
  tzinfo (2.0.6)
247
247
  concurrent-ruby (~> 1.0)
248
- unicode-display_width (2.5.0)
248
+ unicode-display_width (2.6.0)
249
249
  webrick (1.8.1)
250
250
  websocket-driver (0.7.6)
251
251
  websocket-extensions (>= 0.1.0)
252
252
  websocket-extensions (0.1.5)
253
253
  xpath (3.2.0)
254
254
  nokogiri (~> 1.8)
255
- yard (0.9.36)
255
+ yard (0.9.37)
256
256
  zeitwerk (2.6.18)
257
257
 
258
258
  PLATFORMS
@@ -268,13 +268,13 @@ DEPENDENCIES
268
268
  nokogiri-diff (~> 0.3.0)
269
269
  rake (~> 13.2)
270
270
  rspec (~> 3.13)
271
- rubocop (~> 1.66)
271
+ rubocop (~> 1.68)
272
272
  rubocop-capybara (~> 2.20)
273
- rubocop-rails (~> 2.26)
273
+ rubocop-rails (~> 2.27)
274
274
  rubocop-rake (~> 0.6)
275
- rubocop-rspec (~> 3.0)
275
+ rubocop-rspec (~> 3.2)
276
276
  simplecov (~> 0.21)
277
277
  yard (~> 0.9)
278
278
 
279
279
  BUNDLED WITH
280
- 2.3.24
280
+ 2.5.20
data/README.md CHANGED
@@ -14,6 +14,7 @@ The following table shows the version of CCS Frontend Helpers that you should us
14
14
 
15
15
  | CCS Frontend Helpers Version | Target GOV.UK Frontend Version | Target CCS Frontend Version |
16
16
  | ----------------------------- | ------------------------------ | --------------------------- |
17
+ | [2.0.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v2.0.0) | [5.7.1](https://github.com/alphagov/govuk-frontend/releases/tag/v5.7.1) | [1.2.0](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v1.2.0) |
17
18
  | [1.2.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v1.2.0) | [5.6.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.6.0) | [1.1.3](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v1.1.3) |
18
19
  | [1.1.2](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v1.1.2) | [5.5.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.5.0) | [1.1.2](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v1.1.2) |
19
20
  | [1.1.1](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v1.1.1) | [5.4.1](https://github.com/alphagov/govuk-frontend/releases/tag/v5.4.1) | [1.1.1](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v1.1.1) |
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.description = 'Gem containing view helpers for CCS Ruby on Rails projects'
12
12
  spec.homepage = 'https://github.com/Crown-Commercial-Service/ccs-frontend_helpers'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = '>= 3.0.0'
14
+ spec.required_ruby_version = '>= 3.1.0'
15
15
 
16
16
  # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
17
17
 
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
31
  spec.require_paths = ['lib']
32
32
 
33
- spec.add_dependency 'rails', '>= 6.0'
33
+ spec.add_dependency 'rails', '>= 7.0'
34
34
 
35
35
  spec.metadata['rubygems_mfa_required'] = 'true'
36
36
  end
@@ -69,8 +69,8 @@ module CCS
69
69
  #
70
70
  # @return [ActiveSupport::SafeBuffer]
71
71
 
72
- def render(&block)
73
- form_group.render(&block)
72
+ def render(&)
73
+ form_group.render(&)
74
74
  end
75
75
 
76
76
  private
@@ -61,11 +61,11 @@ module CCS
61
61
  #
62
62
  # @return [ActiveSupport::SafeBuffer]
63
63
 
64
- def render(&block)
64
+ def render(&)
65
65
  if options[:form]
66
- options[:form].button(**options[:attributes], &block)
66
+ options[:form].button(**options[:attributes], &)
67
67
  else
68
- link_to(options[:href], **options[:attributes], &block)
68
+ link_to(options[:href], **options[:attributes], &)
69
69
  end
70
70
  end
71
71
 
@@ -50,8 +50,8 @@ module CCS
50
50
  #
51
51
  # @return [ActiveSupport::SafeBuffer]
52
52
 
53
- def render(&block)
54
- tag.li(class: li_classes, &block)
53
+ def render(&)
54
+ tag.li(class: li_classes, &)
55
55
  end
56
56
 
57
57
  # The default attributes for the pagination link
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::Details#render)
23
23
 
24
- def govuk_details(summary_text, **options, &block)
25
- Components::GovUK::Details.new(context: self, summary_text: summary_text, **options).render(&block)
24
+ def govuk_details(summary_text, **options, &)
25
+ Components::GovUK::Details.new(context: self, summary_text: summary_text, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::Fieldset#render)
23
23
 
24
- def govuk_fieldset(**options, &block)
25
- Components::GovUK::Fieldset.new(context: self, **options).render(&block)
24
+ def govuk_fieldset(**options, &)
25
+ Components::GovUK::Fieldset.new(context: self, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -24,14 +24,14 @@ module CCS
24
24
  #
25
25
  # @return (see CCS::Components::GovUK::FormGroup#render)
26
26
 
27
- def govuk_form_group(attribute, **options, &block)
27
+ def govuk_form_group(attribute, **options, &)
28
28
  error_message = if options[:model]
29
29
  options[:model].errors[attribute].first
30
30
  else
31
31
  options[:error_message]
32
32
  end
33
33
 
34
- Components::GovUK::FormGroup.new(context: self, attribute: attribute, error_message: error_message, **options).render(&block)
34
+ Components::GovUK::FormGroup.new(context: self, attribute: attribute, error_message: error_message, **options).render(&)
35
35
  end
36
36
  end
37
37
  end
@@ -20,8 +20,8 @@ module CCS
20
20
  #
21
21
  # @return (see CCS::Components::GovUK::Hint#render)
22
22
 
23
- def govuk_hint(text = nil, **options, &block)
24
- Components::GovUK::Hint.new(context: self, text: text, **options).render(&block)
23
+ def govuk_hint(text = nil, **options, &)
24
+ Components::GovUK::Hint.new(context: self, text: text, **options).render(&)
25
25
  end
26
26
  end
27
27
  end
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::InsetText#render)
23
23
 
24
- def govuk_inset_text(text = nil, **options, &block)
25
- Components::GovUK::InsetText.new(context: self, text: text, **options).render(&block)
24
+ def govuk_inset_text(text = nil, **options, &)
25
+ Components::GovUK::InsetText.new(context: self, text: text, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -20,8 +20,8 @@ module CCS
20
20
  #
21
21
  # @return (see CCS::Components::GovUK::Label#render)
22
22
 
23
- def govuk_label(attribute, text = nil, **options, &block)
24
- Components::GovUK::Label.new(context: self, attribute: attribute, text: text, **options).render(&block)
23
+ def govuk_label(attribute, text = nil, **options, &)
24
+ Components::GovUK::Label.new(context: self, attribute: attribute, text: text, **options).render(&)
25
25
  end
26
26
  end
27
27
  end
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::NotificationBanner#render)
23
23
 
24
- def govuk_notification_banner(text = nil, success_banner = nil, **options, &block)
25
- Components::GovUK::NotificationBanner.new(context: self, text: text, success_banner: success_banner, **options).render(&block)
24
+ def govuk_notification_banner(text = nil, success_banner = nil, **options, &)
25
+ Components::GovUK::NotificationBanner.new(context: self, text: text, success_banner: success_banner, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::Panel#render)
23
23
 
24
- def govuk_panel(title_text, panel_text = nil, **options, &block)
25
- Components::GovUK::Panel.new(context: self, title_text: title_text, panel_text: panel_text, **options).render(&block)
24
+ def govuk_panel(title_text, panel_text = nil, **options, &)
25
+ Components::GovUK::Panel.new(context: self, title_text: title_text, panel_text: panel_text, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::PhaseBanner#render)
23
23
 
24
- def govuk_phase_banner(tag_options, text = nil, **options, &block)
25
- Components::GovUK::PhaseBanner.new(context: self, tag_options: tag_options, text: text, **options).render(&block)
24
+ def govuk_phase_banner(tag_options, text = nil, **options, &)
25
+ Components::GovUK::PhaseBanner.new(context: self, tag_options: tag_options, text: text, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -21,8 +21,8 @@ module CCS
21
21
  #
22
22
  # @return (see CCS::Components::GovUK::WarningText#render)
23
23
 
24
- def govuk_warning_text(text = nil, **options, &block)
25
- Components::GovUK::WarningText.new(context: self, text: text, **options).render(&block)
24
+ def govuk_warning_text(text = nil, **options, &)
25
+ Components::GovUK::WarningText.new(context: self, text: text, **options).render(&)
26
26
  end
27
27
  end
28
28
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CCS
4
4
  module FrontendHelpers
5
- VERSION = '1.2.0'
5
+ VERSION = '2.0.0'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "CCS",
6
6
  "license": "MIT",
7
7
  "devDependencies": {
8
- "govuk-frontend": "^5.6.0",
9
- "ccs-frontend": "^1.1.3"
8
+ "govuk-frontend": "^5.7.1",
9
+ "ccs-frontend": "^1.2.0"
10
10
  }
11
11
  }
data/yarn.lock CHANGED
@@ -2,12 +2,12 @@
2
2
  # yarn lockfile v1
3
3
 
4
4
 
5
- ccs-frontend@^1.1.3:
6
- version "1.1.3"
7
- resolved "https://registry.yarnpkg.com/ccs-frontend/-/ccs-frontend-1.1.3.tgz#d42befcf40517a32161716e963c298add2f01141"
8
- integrity sha512-jZKKnZVI1JEpHY/3F8Hgry0zlXwlMSBtBc/JBBenXy/T67lmVAf5IadcVCnrZkQ5gLxbY8rfq3nUWZsoF90p5w==
5
+ ccs-frontend@^1.2.0:
6
+ version "1.2.0"
7
+ resolved "https://registry.yarnpkg.com/ccs-frontend/-/ccs-frontend-1.2.0.tgz#71027647d619c169189a592de35a76858f4f50fa"
8
+ integrity sha512-7pGM3KxrHYb/MS7k1DWhJsQyNKi3WVYHNJfQbkBI2tzeRQFor04mhsjgGjv0dL9/cXn1pEvM+kcOOxVVyPxUeQ==
9
9
 
10
- govuk-frontend@^5.6.0:
11
- version "5.6.0"
12
- resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-5.6.0.tgz#8c0975f0d825ec7192bcfe64e3e97ef3dfa7dea1"
13
- integrity sha512-yNA4bL7i7mNrg36wPNZ3RctHo9mjl82Phs8MWs1lwovxJuQ4ogEo/XWn2uB1HxkXNqgMlW4wnd0iiKgRMfxYfw==
10
+ govuk-frontend@^5.7.1:
11
+ version "5.7.1"
12
+ resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-5.7.1.tgz#d4c561ebf8c0b76130f31df8c2e4d70d340cd63f"
13
+ integrity sha512-jF1cq5rn57kxZmJRprUZhTQ31zaBBK4b5AyeJaPX3Yhg22lk90Mx/dQLvOk/ycV3wM7e0y+s4IPvb2fFaPlCGg==
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ccs-frontend_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Crown Commercial Service
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-02 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '6.0'
26
+ version: '7.0'
27
27
  description: Gem containing view helpers for CCS Ruby on Rails projects
28
28
  email:
29
29
  executables: []
@@ -219,14 +219,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: 3.0.0
222
+ version: 3.1.0
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
225
  - - ">="
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
228
  requirements: []
229
- rubygems_version: 3.5.11
229
+ rubygems_version: 3.5.16
230
230
  signing_key:
231
231
  specification_version: 4
232
232
  summary: Gem containing view helpers for CCS Ruby on Rails projects