govuk-design-system-rails 0.10.1 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +72 -0
- data/app/views/components/_govuk_accordion.html.erb +1 -1
- data/app/views/components/_govuk_action_link.html.erb +1 -1
- data/app/views/components/_govuk_checkboxes.html.erb +33 -33
- data/app/views/components/_govuk_cookie_banner.html.erb +15 -15
- data/app/views/components/_govuk_date_input.html.erb +19 -18
- data/app/views/components/_govuk_error_summary.html.erb +1 -1
- data/app/views/components/_govuk_fieldset.html.erb +2 -2
- data/app/views/components/_govuk_header.html.erb +2 -2
- data/app/views/components/_govuk_input.html.erb +61 -71
- data/app/views/components/_govuk_inset_text.html.erb +1 -1
- data/app/views/components/_govuk_notification_banner.html.erb +11 -11
- data/app/views/components/_govuk_radios.html.erb +37 -38
- data/app/views/components/_govuk_select.html.erb +18 -14
- data/app/views/components/_govuk_summary_list.html.erb +1 -1
- data/app/views/components/_govuk_tabs.html.erb +3 -3
- data/app/views/components/_govuk_textarea.html.erb +27 -28
- data/app/views/form_components/_govuk_date_input.html.erb +18 -18
- data/app/views/form_components/_govuk_radios.html.erb +2 -2
- data/app/views/form_components/_govuk_select.html.erb +2 -2
- data/govuk-design-system-rails.gemspec +32 -0
- data/spec/helpers/govuk_design_system/checkboxes_helper_spec.rb +71 -0
- data/spec/helpers/govuk_design_system/select_helper_spec.rb +51 -0
- metadata +112 -94
metadata
CHANGED
@@ -1,43 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-design-system-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- govuk-ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compare-xml
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.66'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.66'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: erb_lint
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
40
|
+
version: 0.3.1
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: nokogiri
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - "
|
45
|
+
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 1.14.2
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - "
|
52
|
+
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 1.14.2
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rails
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,106 +76,108 @@ dependencies:
|
|
62
76
|
name: rspec-rails
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
|
-
- - "
|
79
|
+
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
81
|
+
version: 6.0.1
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
|
-
- - "
|
86
|
+
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
88
|
+
version: 6.0.1
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: rubocop
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
78
92
|
requirements:
|
79
|
-
- - "
|
93
|
+
- - "~>"
|
80
94
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
95
|
+
version: 1.44.1
|
82
96
|
type: :development
|
83
97
|
prerelease: false
|
84
98
|
version_requirements: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
|
-
- - "
|
100
|
+
- - "~>"
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
102
|
+
version: 1.44.1
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: rubocop-govuk
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
|
-
- - "
|
107
|
+
- - "~>"
|
94
108
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
109
|
+
version: 4.10.0
|
96
110
|
type: :development
|
97
111
|
prerelease: false
|
98
112
|
version_requirements: !ruby/object:Gem::Requirement
|
99
113
|
requirements:
|
100
|
-
- - "
|
114
|
+
- - "~>"
|
101
115
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
116
|
+
version: 4.10.0
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
118
|
name: rubocop-performance
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
106
120
|
requirements:
|
107
|
-
- - "
|
121
|
+
- - "~>"
|
108
122
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
123
|
+
version: 1.16.0
|
110
124
|
type: :development
|
111
125
|
prerelease: false
|
112
126
|
version_requirements: !ruby/object:Gem::Requirement
|
113
127
|
requirements:
|
114
|
-
- - "
|
128
|
+
- - "~>"
|
115
129
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
130
|
+
version: 1.16.0
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: rubocop-rspec
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
120
134
|
requirements:
|
121
|
-
- - "
|
135
|
+
- - "~>"
|
122
136
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
137
|
+
version: 2.18.1
|
124
138
|
type: :development
|
125
139
|
prerelease: false
|
126
140
|
version_requirements: !ruby/object:Gem::Requirement
|
127
141
|
requirements:
|
128
|
-
- - "
|
142
|
+
- - "~>"
|
129
143
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
144
|
+
version: 2.18.1
|
131
145
|
- !ruby/object:Gem::Dependency
|
132
146
|
name: sqlite3
|
133
147
|
requirement: !ruby/object:Gem::Requirement
|
134
148
|
requirements:
|
135
|
-
- - "
|
149
|
+
- - "~>"
|
136
150
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
151
|
+
version: 1.6.1
|
138
152
|
type: :development
|
139
153
|
prerelease: false
|
140
154
|
version_requirements: !ruby/object:Gem::Requirement
|
141
155
|
requirements:
|
142
|
-
- - "
|
156
|
+
- - "~>"
|
143
157
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
158
|
+
version: 1.6.1
|
145
159
|
- !ruby/object:Gem::Dependency
|
146
160
|
name: super_diff
|
147
161
|
requirement: !ruby/object:Gem::Requirement
|
148
162
|
requirements:
|
149
|
-
- - "
|
163
|
+
- - "~>"
|
150
164
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
165
|
+
version: 0.9.0
|
152
166
|
type: :development
|
153
167
|
prerelease: false
|
154
168
|
version_requirements: !ruby/object:Gem::Requirement
|
155
169
|
requirements:
|
156
|
-
- - "
|
170
|
+
- - "~>"
|
157
171
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
172
|
+
version: 0.9.0
|
159
173
|
description:
|
160
174
|
email:
|
161
175
|
executables: []
|
162
176
|
extensions: []
|
163
177
|
extra_rdoc_files: []
|
164
178
|
files:
|
179
|
+
- LICENSE
|
180
|
+
- README.md
|
165
181
|
- app/helpers/govuk_design_system/accordion_helper.rb
|
166
182
|
- app/helpers/govuk_design_system/back_link_helper.rb
|
167
183
|
- app/helpers/govuk_design_system/breadcrumbs_helper.rb
|
@@ -220,6 +236,7 @@ files:
|
|
220
236
|
- app/views/form_components/_govuk_radios.html.erb
|
221
237
|
- app/views/form_components/_govuk_select.html.erb
|
222
238
|
- app/views/form_components/_govuk_textarea.html.erb
|
239
|
+
- govuk-design-system-rails.gemspec
|
223
240
|
- lib/govuk-design-system-rails.rb
|
224
241
|
- lib/govuk_design_system.rb
|
225
242
|
- lib/govuk_design_system/engine.rb
|
@@ -298,7 +315,8 @@ files:
|
|
298
315
|
- spec/rails_helper.rb
|
299
316
|
- spec/spec_helper.rb
|
300
317
|
homepage: https://github.com/govuk-ruby/govuk-design-system-rails
|
301
|
-
licenses:
|
318
|
+
licenses:
|
319
|
+
- MIT
|
302
320
|
metadata:
|
303
321
|
bug_tracker_uri: https://github.com/govuk-ruby/govuk-design-system-rails/issues
|
304
322
|
changelog_uri: https://github.com/govuk-ruby/govuk-design-system-rails/releases
|
@@ -325,77 +343,77 @@ signing_key:
|
|
325
343
|
specification_version: 4
|
326
344
|
summary: An implementation of the govuk-frontend macros in Ruby on Rails
|
327
345
|
test_files:
|
328
|
-
- spec/
|
346
|
+
- spec/rails_helper.rb
|
347
|
+
- spec/dummy/db/development.sqlite3
|
348
|
+
- spec/dummy/db/test.sqlite3
|
349
|
+
- spec/dummy/config.ru
|
350
|
+
- spec/dummy/app/jobs/application_job.rb
|
351
|
+
- spec/dummy/app/models/application_record.rb
|
352
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
353
|
+
- spec/dummy/app/helpers/application_helper.rb
|
354
|
+
- spec/dummy/app/assets/config/manifest.js
|
355
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
356
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
357
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
358
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
359
|
+
- spec/dummy/app/controllers/application_controller.rb
|
360
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
361
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
362
|
+
- spec/dummy/app/javascript/packs/application.js
|
329
363
|
- spec/dummy/config/puma.rb
|
364
|
+
- spec/dummy/config/application.rb
|
365
|
+
- spec/dummy/config/environment.rb
|
366
|
+
- spec/dummy/config/boot.rb
|
367
|
+
- spec/dummy/config/locales/en.yml
|
330
368
|
- spec/dummy/config/environments/development.rb
|
331
|
-
- spec/dummy/config/environments/production.rb
|
332
369
|
- spec/dummy/config/environments/test.rb
|
333
|
-
- spec/dummy/config/
|
370
|
+
- spec/dummy/config/environments/production.rb
|
371
|
+
- spec/dummy/config/cable.yml
|
372
|
+
- spec/dummy/config/database.yml
|
373
|
+
- spec/dummy/config/routes.rb
|
374
|
+
- spec/dummy/config/initializers/assets.rb
|
375
|
+
- spec/dummy/config/initializers/inflections.rb
|
376
|
+
- spec/dummy/config/initializers/mime_types.rb
|
334
377
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
335
378
|
- spec/dummy/config/initializers/permissions_policy.rb
|
336
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
337
379
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
338
|
-
- spec/dummy/config/initializers/assets.rb
|
339
|
-
- spec/dummy/config/initializers/mime_types.rb
|
340
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
341
|
-
- spec/dummy/config/initializers/inflections.rb
|
342
380
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
343
|
-
- spec/dummy/config/
|
344
|
-
- spec/dummy/config/
|
381
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
382
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
383
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
345
384
|
- spec/dummy/config/storage.yml
|
346
|
-
- spec/dummy/config/database.yml
|
347
|
-
- spec/dummy/config/environment.rb
|
348
|
-
- spec/dummy/config/locales/en.yml
|
349
|
-
- spec/dummy/config/routes.rb
|
350
|
-
- spec/dummy/Rakefile
|
351
|
-
- spec/dummy/config.ru
|
352
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
353
|
-
- spec/dummy/app/jobs/application_job.rb
|
354
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
355
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
356
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
357
|
-
- spec/dummy/app/models/application_record.rb
|
358
|
-
- spec/dummy/app/javascript/packs/application.js
|
359
|
-
- spec/dummy/app/controllers/application_controller.rb
|
360
|
-
- spec/dummy/app/helpers/application_helper.rb
|
361
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
362
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
363
|
-
- spec/dummy/app/assets/config/manifest.js
|
364
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
365
|
-
- spec/dummy/db/test.sqlite3
|
366
|
-
- spec/dummy/db/development.sqlite3
|
367
|
-
- spec/dummy/tmp/development_secret.txt
|
368
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
369
|
-
- spec/dummy/public/422.html
|
370
|
-
- spec/dummy/public/favicon.ico
|
371
|
-
- spec/dummy/public/404.html
|
372
|
-
- spec/dummy/public/apple-touch-icon.png
|
373
|
-
- spec/dummy/public/500.html
|
374
385
|
- spec/dummy/bin/rake
|
375
386
|
- spec/dummy/bin/setup
|
376
387
|
- spec/dummy/bin/rails
|
377
|
-
- spec/
|
388
|
+
- spec/dummy/public/500.html
|
389
|
+
- spec/dummy/public/404.html
|
390
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
391
|
+
- spec/dummy/public/favicon.ico
|
392
|
+
- spec/dummy/public/422.html
|
393
|
+
- spec/dummy/public/apple-touch-icon.png
|
394
|
+
- spec/dummy/tmp/development_secret.txt
|
395
|
+
- spec/dummy/Rakefile
|
396
|
+
- spec/helpers/govuk_design_system/error_message_helper_spec.rb
|
397
|
+
- spec/helpers/govuk_design_system/accordion_helper_spec.rb
|
398
|
+
- spec/helpers/govuk_design_system/notification_banner_helper_spec.rb
|
399
|
+
- spec/helpers/govuk_design_system/label_helper_spec.rb
|
400
|
+
- spec/helpers/govuk_design_system/checkboxes_helper_spec.rb
|
401
|
+
- spec/helpers/govuk_design_system/hmcts_banner_helper_spec.rb
|
402
|
+
- spec/helpers/govuk_design_system/input_helper_spec.rb
|
378
403
|
- spec/helpers/govuk_design_system/summary_list_helper_spec.rb
|
379
|
-
- spec/helpers/govuk_design_system/
|
404
|
+
- spec/helpers/govuk_design_system/textarea_helper_spec.rb
|
405
|
+
- spec/helpers/govuk_design_system/breadcrumbs_helper_spec.rb
|
380
406
|
- spec/helpers/govuk_design_system/select_helper_spec.rb
|
407
|
+
- spec/helpers/govuk_design_system/radios_helper_spec.rb
|
408
|
+
- spec/helpers/govuk_design_system/tag_helper_spec.rb
|
409
|
+
- spec/helpers/govuk_design_system/header_helper_spec.rb
|
410
|
+
- spec/helpers/govuk_design_system/details_helper_spec.rb
|
411
|
+
- spec/helpers/govuk_design_system/button_helper_spec.rb
|
381
412
|
- spec/helpers/govuk_design_system/hint_helper_spec.rb
|
382
|
-
- spec/helpers/govuk_design_system/tabs_helper_spec.rb
|
383
|
-
- spec/helpers/govuk_design_system/notification_banner_helper_spec.rb
|
384
|
-
- spec/helpers/govuk_design_system/textarea_helper_spec.rb
|
385
413
|
- spec/helpers/govuk_design_system/hmcts_badge_helper_spec.rb
|
386
|
-
- spec/helpers/govuk_design_system/error_message_helper_spec.rb
|
387
|
-
- spec/helpers/govuk_design_system/checkboxes_helper_spec.rb
|
388
|
-
- spec/helpers/govuk_design_system/label_helper_spec.rb
|
389
|
-
- spec/helpers/govuk_design_system/accordion_helper_spec.rb
|
390
|
-
- spec/helpers/govuk_design_system/date_input_helper_spec.rb
|
391
|
-
- spec/helpers/govuk_design_system/input_helper_spec.rb
|
392
414
|
- spec/helpers/govuk_design_system/inset_text_helper_spec.rb
|
393
415
|
- spec/helpers/govuk_design_system/cookie_banner_helper_spec.rb
|
394
|
-
- spec/helpers/govuk_design_system/
|
395
|
-
- spec/helpers/govuk_design_system/
|
396
|
-
- spec/helpers/govuk_design_system/header_helper_spec.rb
|
416
|
+
- spec/helpers/govuk_design_system/tabs_helper_spec.rb
|
417
|
+
- spec/helpers/govuk_design_system/date_input_helper_spec.rb
|
397
418
|
- spec/helpers/govuk_design_system/error_summary_helper_spec.rb
|
398
|
-
- spec/helpers/govuk_design_system/button_helper_spec.rb
|
399
|
-
- spec/helpers/govuk_design_system/breadcrumbs_helper_spec.rb
|
400
|
-
- spec/rails_helper.rb
|
401
419
|
- spec/spec_helper.rb
|