govuk_design_system_formbuilder 5.0.0 → 5.1.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: 8f2848edaf133e49c126c228e0b552edd9399000cfb2a9612bc740830d642d4b
4
- data.tar.gz: f718bf6f976aed2ad04a2d689f4ac33f4dc491984afe8beeba4be259e9c2c57c
3
+ metadata.gz: b4cd2393b506bf88b37f2d31da6924ece0cf827517c748d880cbf31d5054a86e
4
+ data.tar.gz: 406494b8836e716708bd27104221ae326b9c9485efc8cb1649a57cc130c553a0
5
5
  SHA512:
6
- metadata.gz: ab016ebaa81ab6bf2fcd1fe536e880c1f3b919bfaf78849b335ba93a619efd4e7556170a7b840b6cfe27342262b1bbebee888e0b5539a937746c23b28b52766d
7
- data.tar.gz: aed2b87567e77185bb01cc40f810381369dbc74701ce295355135c887d296f88c7091b1008c5d75845a5adc6ab84a288f6e3e1fb2f4fec22efe4c0acd4dbebd8
6
+ metadata.gz: 665793ab5247e328ff1a8ea94bede4e3ad408883d91d17477819043bbc1a375f834b0a783b26fb2cb08bd5904d3409a469d265f1b610a99524aa8ac49948f0a9
7
+ data.tar.gz: bd386180fbefbce807c5602cc27744392338cd948633a4ffc504ab8f484f6fddc2f03507dbc5a4ac7975142ad9b07d727686bebc308cab4e6344d6992e39565a
data/README.md CHANGED
@@ -6,9 +6,9 @@
6
6
  [![Gem](https://img.shields.io/gem/dt/govuk_design_system_formbuilder?logo=rubygems)](https://rubygems.org/gems/govuk_design_system_formbuilder)
7
7
  [![Test Coverage](https://api.codeclimate.com/v1/badges/110136fb22341d3ba646/test_coverage)](https://codeclimate.com/github/x-govuk/govuk-form-builder/test_coverage)
8
8
  [![GitHub license](https://img.shields.io/github/license/x-govuk/govuk-form-builder)](https://github.com/x-govuk/govuk-form-builder/blob/main/LICENSE)
9
- [![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-5.0.0-brightgreen)](https://design-system.service.gov.uk)
10
- [![Rails](https://img.shields.io/badge/Rails-6.1.7%20%E2%95%B1%207.0.6-E16D6D)](https://weblog.rubyonrails.org/releases/)
11
- [![Ruby](https://img.shields.io/badge/Ruby-3.0.6%20%20%E2%95%B1%203.1.4%20%20%E2%95%B1%203.2.2-E16D6D)](https://www.ruby-lang.org/en/downloads/)
9
+ [![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-5.1.0-brightgreen)](https://design-system.service.gov.uk)
10
+ [![Rails](https://img.shields.io/badge/Rails-6.1.7%20%E2%95%B1%207.1.3-E16D6D)](https://weblog.rubyonrails.org/releases/)
11
+ [![Ruby](https://img.shields.io/badge/Ruby-3.1.4%20%20%E2%95%B1%203.2.3%20%20%E2%95%B1%203.3.0-E16D6D)](https://www.ruby-lang.org/en/downloads/)
12
12
 
13
13
  This library provides an easy-to-use form builder for the [GOV.UK Design System](https://design-system.service.gov.uk/).
14
14
 
@@ -120,7 +120,7 @@ here are a few from the <abbr title="Department for Education">DfE</abbr>, <abbr
120
120
 
121
121
  * [Apply for teacher training](https://www.github.com/x-govuk/apply-for-teacher-training)
122
122
  * [Teaching Vacancies](https://www.github.com/x-govuk/teaching-vacancies)
123
- * [Get a teacher training adviser](https://www.github.com/x-govuk/get-teacher-training-adviser-service/)
123
+ * [Manage children's vaccinations](https://github.com/nhsuk/manage-childrens-vaccinations)
124
124
  * [Claim for crown court defence](https://www.github.com/ministryofjustice/Claim-for-Crown-Court-Defence)
125
125
  * [Appeal to the tax tribunal](https://www.github.com/ministryofjustice/tax-tribunals-datacapture)
126
126
  * [Apply to court about child arrangements](https://www.github.com/ministryofjustice/c100-application)
@@ -53,7 +53,7 @@ module GOVUKDesignSystemFormBuilder
53
53
  # label: -> { tag.h3('Call-sign') }
54
54
  #
55
55
  def govuk_text_field(attribute_name, hint: {}, label: {}, caption: {}, width: nil, extra_letter_spacing: false, form_group: {}, prefix_text: nil, suffix_text: nil, **kwargs, &block)
56
- Elements::Inputs::Text.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, width: width, extra_letter_spacing: extra_letter_spacing, form_group: form_group, prefix_text: prefix_text, suffix_text: suffix_text, **kwargs, &block).html
56
+ Elements::Inputs::Text.new(self, object_name, attribute_name, hint:, label:, caption:, width:, extra_letter_spacing:, form_group:, prefix_text:, suffix_text:, **kwargs, &block).html
57
57
  end
58
58
 
59
59
  # Generates a input of type +tel+
@@ -107,7 +107,7 @@ module GOVUKDesignSystemFormBuilder
107
107
  # label: -> { tag.h3('Work number') }
108
108
  #
109
109
  def govuk_phone_field(attribute_name, hint: {}, label: {}, caption: {}, width: nil, extra_letter_spacing: false, form_group: {}, prefix_text: nil, suffix_text: nil, **kwargs, &block)
110
- Elements::Inputs::Phone.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, width: width, extra_letter_spacing: extra_letter_spacing, form_group: form_group, prefix_text: prefix_text, suffix_text: suffix_text, **kwargs, &block).html
110
+ Elements::Inputs::Phone.new(self, object_name, attribute_name, hint:, label:, caption:, width:, extra_letter_spacing:, form_group:, prefix_text:, suffix_text:, **kwargs, &block).html
111
111
  end
112
112
 
113
113
  # Generates a input of type +email+
@@ -159,7 +159,7 @@ module GOVUKDesignSystemFormBuilder
159
159
  # label: -> { tag.h3('Personal email address') }
160
160
  #
161
161
  def govuk_email_field(attribute_name, hint: {}, label: {}, caption: {}, width: nil, extra_letter_spacing: false, form_group: {}, prefix_text: nil, suffix_text: nil, **kwargs, &block)
162
- Elements::Inputs::Email.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, width: width, extra_letter_spacing: extra_letter_spacing, form_group: form_group, prefix_text: prefix_text, suffix_text: suffix_text, **kwargs, &block).html
162
+ Elements::Inputs::Email.new(self, object_name, attribute_name, hint:, label:, caption:, width:, extra_letter_spacing:, form_group:, prefix_text:, suffix_text:, **kwargs, &block).html
163
163
  end
164
164
 
165
165
  # Generates a input of type +password+
@@ -210,7 +210,7 @@ module GOVUKDesignSystemFormBuilder
210
210
  # label: -> { tag.h3('What is your secret pass code?') }
211
211
  #
212
212
  def govuk_password_field(attribute_name, hint: {}, label: {}, width: nil, extra_letter_spacing: false, form_group: {}, caption: {}, prefix_text: nil, suffix_text: nil, **kwargs, &block)
213
- Elements::Inputs::Password.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, width: width, extra_letter_spacing: extra_letter_spacing, form_group: form_group, prefix_text: prefix_text, suffix_text: suffix_text, **kwargs, &block).html
213
+ Elements::Inputs::Password.new(self, object_name, attribute_name, hint:, label:, caption:, width:, extra_letter_spacing:, form_group:, prefix_text:, suffix_text:, **kwargs, &block).html
214
214
  end
215
215
 
216
216
  # Generates a input of type +url+
@@ -262,7 +262,7 @@ module GOVUKDesignSystemFormBuilder
262
262
  # label: -> { tag.h3("Enter your company's website") }
263
263
  #
264
264
  def govuk_url_field(attribute_name, hint: {}, label: {}, caption: {}, width: nil, extra_letter_spacing: false, form_group: {}, prefix_text: nil, suffix_text: nil, **kwargs, &block)
265
- Elements::Inputs::URL.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, width: width, extra_letter_spacing: extra_letter_spacing, form_group: form_group, prefix_text: prefix_text, suffix_text: suffix_text, **kwargs, &block).html
265
+ Elements::Inputs::URL.new(self, object_name, attribute_name, hint:, label:, caption:, width:, extra_letter_spacing:, form_group:, prefix_text:, suffix_text:, **kwargs, &block).html
266
266
  end
267
267
 
268
268
  # Generates a input of type +number+
@@ -317,7 +317,7 @@ module GOVUKDesignSystemFormBuilder
317
317
  # label: -> { tag.h3("How many seconds does it take you to run 100m?") }
318
318
  #
319
319
  def govuk_number_field(attribute_name, hint: {}, label: {}, caption: {}, width: nil, extra_letter_spacing: false, form_group: {}, prefix_text: nil, suffix_text: nil, **kwargs, &block)
320
- Elements::Inputs::Number.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, width: width, extra_letter_spacing: extra_letter_spacing, form_group: form_group, prefix_text: prefix_text, suffix_text: suffix_text, **kwargs, &block).html
320
+ Elements::Inputs::Number.new(self, object_name, attribute_name, hint:, label:, caption:, width:, extra_letter_spacing:, form_group:, prefix_text:, suffix_text:, **kwargs, &block).html
321
321
  end
322
322
 
323
323
  # Generates a +textarea+ element with a label, optional hint. Also offers
@@ -373,7 +373,7 @@ module GOVUKDesignSystemFormBuilder
373
373
  # label: -> { tag.h3("How do you set it up?") }
374
374
  #
375
375
  def govuk_text_area(attribute_name, hint: {}, label: {}, caption: {}, max_words: nil, max_chars: nil, rows: 5, threshold: nil, form_group: {}, **kwargs, &block)
376
- Elements::TextArea.new(self, object_name, attribute_name, hint: hint, label: label, caption: caption, max_words: max_words, max_chars: max_chars, rows: rows, threshold: threshold, form_group: form_group, **kwargs, &block).html
376
+ Elements::TextArea.new(self, object_name, attribute_name, hint:, label:, caption:, max_words:, max_chars:, rows:, threshold:, form_group:, **kwargs, &block).html
377
377
  end
378
378
 
379
379
  # Generates a +select+ element containing +option+ for each member in the provided collection
@@ -422,13 +422,13 @@ module GOVUKDesignSystemFormBuilder
422
422
  object_name,
423
423
  attribute_name,
424
424
  collection,
425
- value_method: value_method,
426
- text_method: text_method,
427
- hint: hint,
428
- label: label,
429
- caption: caption,
430
- options: options,
431
- form_group: form_group,
425
+ value_method:,
426
+ text_method:,
427
+ hint:,
428
+ label:,
429
+ caption:,
430
+ options:,
431
+ form_group:,
432
432
  **kwargs,
433
433
  &block
434
434
  ).html
@@ -466,7 +466,7 @@ module GOVUKDesignSystemFormBuilder
466
466
  # = f.govuk_select :hat_colour, options_for_select(@colours)
467
467
  #
468
468
  def govuk_select(attribute_name, choices = nil, options: {}, label: {}, hint: {}, form_group: {}, caption: {}, **kwargs, &block)
469
- Elements::Select.new(self, object_name, attribute_name, choices, options: options, label: label, hint: hint, form_group: form_group, caption: caption, **kwargs, &block).html
469
+ Elements::Select.new(self, object_name, attribute_name, choices, options:, label:, hint:, form_group:, caption:, **kwargs, &block).html
470
470
  end
471
471
 
472
472
  # Generates a radio button for each item in the supplied collection
@@ -546,17 +546,17 @@ module GOVUKDesignSystemFormBuilder
546
546
  object_name,
547
547
  attribute_name,
548
548
  collection,
549
- value_method: value_method,
550
- text_method: text_method,
551
- hint_method: hint_method,
552
- hint: hint,
553
- legend: legend,
554
- caption: caption,
555
- inline: inline,
556
- small: small,
557
- bold_labels: bold_labels,
558
- form_group: form_group,
559
- include_hidden: include_hidden,
549
+ value_method:,
550
+ text_method:,
551
+ hint_method:,
552
+ hint:,
553
+ legend:,
554
+ caption:,
555
+ inline:,
556
+ small:,
557
+ bold_labels:,
558
+ form_group:,
559
+ include_hidden:,
560
560
  **kwargs,
561
561
  &block
562
562
  ).html
@@ -611,7 +611,7 @@ module GOVUKDesignSystemFormBuilder
611
611
  # = f.govuk_radio_button :burger_id, :cheese, label: { text: 'Cheeseburger' }
612
612
  #
613
613
  def govuk_radio_buttons_fieldset(attribute_name, hint: {}, legend: {}, caption: {}, inline: false, small: false, form_group: {}, **kwargs, &block)
614
- Containers::RadioButtonsFieldset.new(self, object_name, attribute_name, hint: hint, legend: legend, caption: caption, inline: inline, small: small, form_group: form_group, **kwargs, &block).html
614
+ Containers::RadioButtonsFieldset.new(self, object_name, attribute_name, hint:, legend:, caption:, inline:, small:, form_group:, **kwargs, &block).html
615
615
  end
616
616
 
617
617
  # Generates a radio button
@@ -643,7 +643,7 @@ module GOVUKDesignSystemFormBuilder
643
643
  # = f.govuk_radio_button :favourite_colour, :red, label: { text: 'Red' }
644
644
  #
645
645
  def govuk_radio_button(attribute_name, value, hint: {}, label: {}, link_errors: false, **kwargs, &block)
646
- Elements::Radios::FieldsetRadioButton.new(self, object_name, attribute_name, value, hint: hint, label: label, link_errors: link_errors, **kwargs, &block).html
646
+ Elements::Radios::FieldsetRadioButton.new(self, object_name, attribute_name, value, hint:, label:, link_errors:, **kwargs, &block).html
647
647
  end
648
648
 
649
649
  # Inserts a text divider into a list of radio buttons
@@ -725,15 +725,15 @@ module GOVUKDesignSystemFormBuilder
725
725
  object_name,
726
726
  attribute_name,
727
727
  collection,
728
- value_method: value_method,
729
- text_method: text_method,
730
- hint_method: hint_method,
731
- hint: hint,
732
- legend: legend,
733
- caption: caption,
734
- small: small,
735
- form_group: form_group,
736
- include_hidden: include_hidden,
728
+ value_method:,
729
+ text_method:,
730
+ hint_method:,
731
+ hint:,
732
+ legend:,
733
+ caption:,
734
+ small:,
735
+ form_group:,
736
+ include_hidden:,
737
737
  **kwargs,
738
738
  &block
739
739
  ).html
@@ -782,12 +782,12 @@ module GOVUKDesignSystemFormBuilder
782
782
  self,
783
783
  object_name,
784
784
  attribute_name,
785
- hint: hint,
786
- legend: legend,
787
- caption: caption,
788
- small: small,
789
- form_group: form_group,
790
- multiple: multiple,
785
+ hint:,
786
+ legend:,
787
+ caption:,
788
+ small:,
789
+ form_group:,
790
+ multiple:,
791
791
  **kwargs,
792
792
  &block
793
793
  ).html
@@ -830,11 +830,11 @@ module GOVUKDesignSystemFormBuilder
830
830
  attribute_name,
831
831
  value,
832
832
  unchecked_value,
833
- hint: hint,
834
- label: label,
835
- link_errors: link_errors,
836
- multiple: multiple,
837
- exclusive: exclusive,
833
+ hint:,
834
+ label:,
835
+ link_errors:,
836
+ multiple:,
837
+ exclusive:,
838
838
  **kwargs,
839
839
  &block
840
840
  ).html
@@ -883,7 +883,7 @@ module GOVUKDesignSystemFormBuilder
883
883
  # = link_to 'Cancel', some_other_path, class: 'govuk-button__secondary'
884
884
  #
885
885
  def govuk_submit(text = config.default_submit_button_text, warning: false, secondary: false, inverse: false, prevent_double_click: true, validate: config.default_submit_validate, disabled: false, **kwargs, &block)
886
- Elements::Submit.new(self, text, warning: warning, secondary: secondary, inverse: inverse, prevent_double_click: prevent_double_click, validate: validate, disabled: disabled, **kwargs, &block).html
886
+ Elements::Submit.new(self, text, warning:, secondary:, inverse:, prevent_double_click:, validate:, disabled:, **kwargs, &block).html
887
887
  end
888
888
 
889
889
  # Generates three inputs for the +day+, +month+ and +year+ components of a date
@@ -932,7 +932,7 @@ module GOVUKDesignSystemFormBuilder
932
932
  # = f.govuk_date_field :finishes_on,
933
933
  # legend: -> { tag.h3('Which category do you belong to?') }
934
934
  def govuk_date_field(attribute_name, hint: {}, legend: {}, caption: {}, date_of_birth: false, omit_day: false, maxlength_enabled: false, form_group: {}, **kwargs, &block)
935
- Elements::Date.new(self, object_name, attribute_name, hint: hint, legend: legend, caption: caption, date_of_birth: date_of_birth, omit_day: omit_day, maxlength_enabled: maxlength_enabled, form_group: form_group, **kwargs, &block).html
935
+ Elements::Date.new(self, object_name, attribute_name, hint:, legend:, caption:, date_of_birth:, omit_day:, maxlength_enabled:, form_group:, **kwargs, &block).html
936
936
  end
937
937
 
938
938
  # Generates a summary of errors in the form, each linking to the corresponding
@@ -962,7 +962,7 @@ module GOVUKDesignSystemFormBuilder
962
962
  #
963
963
  # @see https://design-system.service.gov.uk/components/error-summary/ GOV.UK error summary
964
964
  def govuk_error_summary(title = config.default_error_summary_title, presenter: config.default_error_summary_presenter, link_base_errors_to: nil, order: nil, **kwargs, &block)
965
- Elements::ErrorSummary.new(self, object_name, title, link_base_errors_to: link_base_errors_to, order: order, presenter: presenter, **kwargs, &block).html
965
+ Elements::ErrorSummary.new(self, object_name, title, link_base_errors_to:, order:, presenter:, **kwargs, &block).html
966
966
  end
967
967
 
968
968
  # Generates a fieldset containing the contents of the block
@@ -995,7 +995,7 @@ module GOVUKDesignSystemFormBuilder
995
995
  # @see https://design-system.service.gov.uk/styles/typography/#headings-with-captions Headings with captions
996
996
  # @return [ActiveSupport::SafeBuffer] HTML output
997
997
  def govuk_fieldset(legend: { text: 'Fieldset heading' }, caption: {}, described_by: nil, **kwargs, &block)
998
- Containers::Fieldset.new(self, legend: legend, caption: caption, described_by: described_by, **kwargs, &block).html
998
+ Containers::Fieldset.new(self, legend:, caption:, described_by:, **kwargs, &block).html
999
999
  end
1000
1000
 
1001
1001
  # Generates an input of type +file+
@@ -1036,7 +1036,7 @@ module GOVUKDesignSystemFormBuilder
1036
1036
  # uploads, {https://guides.rubyonrails.org/form_helpers.html#uploading-files see
1037
1037
  # the Rails documentation} for more information
1038
1038
  def govuk_file_field(attribute_name, label: {}, caption: {}, hint: {}, form_group: {}, **kwargs, &block)
1039
- Elements::File.new(self, object_name, attribute_name, label: label, caption: caption, hint: hint, form_group: form_group, **kwargs, &block).html
1039
+ Elements::File.new(self, object_name, attribute_name, label:, caption:, hint:, form_group:, **kwargs, &block).html
1040
1040
  end
1041
1041
  end
1042
1042
  end
@@ -26,7 +26,7 @@ module GOVUKDesignSystemFormBuilder
26
26
  def govuk_field_id(object, attribute_name, object_name = nil, value: nil, link_errors: true)
27
27
  (object_name = retrieve_object_name(object)) if object_name.nil?
28
28
 
29
- proxy_base(object, object_name, attribute_name, value: value).field_id(link_errors: link_errors)
29
+ proxy_base(object, object_name, attribute_name, value:).field_id(link_errors:)
30
30
  end
31
31
 
32
32
  # Renders an error summary
@@ -51,7 +51,7 @@ module GOVUKDesignSystemFormBuilder
51
51
  private
52
52
 
53
53
  def proxy_base(object, object_name, attribute_name, value: nil)
54
- GOVUKDesignSystemFormBuilder::Proxy.new(object, object_name, attribute_name, value: value)
54
+ GOVUKDesignSystemFormBuilder::Proxy.new(object, object_name, attribute_name, value:)
55
55
  end
56
56
 
57
57
  def proxy_builder(object, object_name, template, options)
@@ -10,6 +10,8 @@ module GOVUKDesignSystemFormBuilder
10
10
  def html
11
11
  return if @content.blank?
12
12
 
13
+ warn("Supplemental content is deprecated and support will soon be removed. See https://github.com/x-govuk/govuk-form-builder/issues/445")
14
+
13
15
  tag.div(id: supplemental_id) { @content }
14
16
  end
15
17
 
@@ -64,7 +64,7 @@ module GOVUKDesignSystemFormBuilder
64
64
  @attribute_name,
65
65
  check_box,
66
66
  @hint_method,
67
- link_errors: link_errors
67
+ link_errors:
68
68
  ).html.tap { link_errors = false }
69
69
  end
70
70
  end
@@ -114,7 +114,7 @@ module GOVUKDesignSystemFormBuilder
114
114
  name: name(segment),
115
115
  type: 'text',
116
116
  inputmode: 'numeric',
117
- value: value,
117
+ value:,
118
118
  autocomplete: date_of_birth_autocomplete_value(segment),
119
119
  maxlength: (width if maxlength_enabled?),
120
120
  )
@@ -134,7 +134,7 @@ module GOVUKDesignSystemFormBuilder
134
134
  # in the normal fashion
135
135
  def id(segment, link_errors)
136
136
  if has_errors? && link_errors
137
- field_id(link_errors: link_errors)
137
+ field_id(link_errors:)
138
138
  else
139
139
  [@object_name, @attribute_name, SEGMENTS.fetch(segment)].join("_")
140
140
  end
@@ -3,7 +3,7 @@ module GOVUKDesignSystemFormBuilder
3
3
  module Localisation
4
4
  # starts with an letter that is followed by other word characters or
5
5
  # spaces, zero or more times
6
- BASE_NAME_REGEXP = %r{[[:alpha:]](?:[\w\s]*)}.freeze
6
+ BASE_NAME_REGEXP = %r{[[:alpha:]](?:[\w\s]*)}
7
7
 
8
8
  private
9
9
 
@@ -1,3 +1,3 @@
1
1
  module GOVUKDesignSystemFormBuilder
2
- VERSION = '5.0.0'.freeze
2
+ VERSION = '5.1.0b1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_design_system_formbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Yates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-08 00:00:00.000000000 Z
11
+ date: 2024-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-attributes-utils
@@ -134,14 +134,14 @@ dependencies:
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: 4.12.0
137
+ version: 4.14.0
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: 4.12.0
144
+ version: 4.14.0
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: simplecov
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -260,14 +260,14 @@ dependencies:
260
260
  requirements:
261
261
  - - "~>"
262
262
  - !ruby/object:Gem::Version
263
- version: 0.24.0
263
+ version: 0.26.0
264
264
  type: :development
265
265
  prerelease: false
266
266
  version_requirements: !ruby/object:Gem::Requirement
267
267
  requirements:
268
268
  - - "~>"
269
269
  - !ruby/object:Gem::Version
270
- version: 0.24.0
270
+ version: 0.26.0
271
271
  - !ruby/object:Gem::Dependency
272
272
  name: webrick
273
273
  requirement: !ruby/object:Gem::Requirement
@@ -282,6 +282,20 @@ dependencies:
282
282
  - - "~>"
283
283
  - !ruby/object:Gem::Version
284
284
  version: 1.8.1
285
+ - !ruby/object:Gem::Dependency
286
+ name: redcarpet
287
+ requirement: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - "~>"
290
+ - !ruby/object:Gem::Version
291
+ version: 3.6.0
292
+ type: :development
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - "~>"
297
+ - !ruby/object:Gem::Version
298
+ version: 3.6.0
285
299
  description: This library provides view components for the GOV.UK Design System. It
286
300
  makes creating services more familiar for Ruby on Rails developers.
287
301
  email:
@@ -367,9 +381,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
367
381
  version: '0'
368
382
  required_rubygems_version: !ruby/object:Gem::Requirement
369
383
  requirements:
370
- - - ">="
384
+ - - ">"
371
385
  - !ruby/object:Gem::Version
372
- version: '0'
386
+ version: 1.3.1
373
387
  requirements: []
374
388
  rubygems_version: 3.2.33
375
389
  signing_key: