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 +4 -4
- data/README.md +4 -4
- data/lib/govuk_design_system_formbuilder/builder.rb +53 -53
- data/lib/govuk_design_system_formbuilder/builder_helper.rb +2 -2
- data/lib/govuk_design_system_formbuilder/containers/supplemental.rb +2 -0
- data/lib/govuk_design_system_formbuilder/elements/check_boxes/collection.rb +1 -1
- data/lib/govuk_design_system_formbuilder/elements/date.rb +2 -2
- data/lib/govuk_design_system_formbuilder/traits/localisation.rb +1 -1
- data/lib/govuk_design_system_formbuilder/version.rb +1 -1
- metadata +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4cd2393b506bf88b37f2d31da6924ece0cf827517c748d880cbf31d5054a86e
|
4
|
+
data.tar.gz: 406494b8836e716708bd27104221ae326b9c9485efc8cb1649a57cc130c553a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
10
|
-
[![Rails](https://img.shields.io/badge/Rails-6.1.7%20%E2%95%B1%207.
|
11
|
-
[![Ruby](https://img.shields.io/badge/Ruby-3.
|
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
|
-
* [
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
426
|
-
text_method
|
427
|
-
hint
|
428
|
-
label
|
429
|
-
caption
|
430
|
-
options
|
431
|
-
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
|
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
|
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
|
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
|
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
|
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
|
729
|
-
text_method
|
730
|
-
hint_method
|
731
|
-
hint
|
732
|
-
legend
|
733
|
-
caption
|
734
|
-
small
|
735
|
-
form_group
|
736
|
-
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
|
786
|
-
legend
|
787
|
-
caption
|
788
|
-
small
|
789
|
-
form_group
|
790
|
-
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
|
834
|
-
label
|
835
|
-
link_errors
|
836
|
-
multiple
|
837
|
-
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
|
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
|
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
|
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
|
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
|
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:
|
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:
|
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
|
|
@@ -114,7 +114,7 @@ module GOVUKDesignSystemFormBuilder
|
|
114
114
|
name: name(segment),
|
115
115
|
type: 'text',
|
116
116
|
inputmode: 'numeric',
|
117
|
-
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:
|
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]*)}
|
6
|
+
BASE_NAME_REGEXP = %r{[[:alpha:]](?:[\w\s]*)}
|
7
7
|
|
8
8
|
private
|
9
9
|
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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:
|
386
|
+
version: 1.3.1
|
373
387
|
requirements: []
|
374
388
|
rubygems_version: 3.2.33
|
375
389
|
signing_key:
|