ccs-frontend_helpers 1.1.1 → 1.1.2
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +14 -14
- data/README.md +1 -0
- data/lib/ccs/components/govuk/task_list.rb +2 -2
- data/lib/ccs/frontend_helpers/version.rb +1 -1
- data/package.json +2 -2
- data/yarn.lock +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c767bc0c111873e344ea2e1847d087ee44691b585a3df644631e441564e70a44
|
4
|
+
data.tar.gz: 4664e304d2abf2c9250db41cc6e91d2e5cfdadd9108b357bd96ae29af5ebea78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd36ec46a2dd57c7d630de462d7456f148e554f3a8c8657453799a6ac6a2f0d36d7b5178834acb2af606d576b98c1d0c430d9357c4f8d8f7a30352bf0d7eab61
|
7
|
+
data.tar.gz: 976be2070da2c8d59e97cdf4a831651c1cd0060c00448d7981f96eb6d0a76ded75a934b1cb75864c0b21bb1437570c743ab89180170847f8693a33460ff082a1
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [1.1.1] - 2024-08-12
|
11
|
+
|
12
|
+
### Added
|
13
|
+
|
14
|
+
- Update to CCS Frontend v1.1.2
|
15
|
+
- Update to GOV.UK Frontend v5.5.0
|
16
|
+
|
10
17
|
## [1.1.1] - 2024-06-28
|
11
18
|
|
12
19
|
### Added
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ccs-frontend_helpers (1.1.
|
4
|
+
ccs-frontend_helpers (1.1.2)
|
5
5
|
rails (>= 6.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -103,13 +103,13 @@ GEM
|
|
103
103
|
diff-lcs (1.5.1)
|
104
104
|
docile (1.4.0)
|
105
105
|
drb (2.2.1)
|
106
|
-
erubi (1.
|
106
|
+
erubi (1.13.0)
|
107
107
|
globalid (1.2.1)
|
108
108
|
activesupport (>= 6.1)
|
109
109
|
i18n (1.14.5)
|
110
110
|
concurrent-ruby (~> 1.0)
|
111
111
|
io-console (0.7.2)
|
112
|
-
irb (1.
|
112
|
+
irb (1.14.0)
|
113
113
|
rdoc (>= 4.0.0)
|
114
114
|
reline (>= 0.4.2)
|
115
115
|
json (2.7.2)
|
@@ -127,7 +127,7 @@ GEM
|
|
127
127
|
mini_mime (1.1.5)
|
128
128
|
minitest (5.24.1)
|
129
129
|
mutex_m (0.2.0)
|
130
|
-
net-imap (0.4.
|
130
|
+
net-imap (0.4.14)
|
131
131
|
date
|
132
132
|
net-protocol
|
133
133
|
net-pop (0.1.2)
|
@@ -144,14 +144,14 @@ GEM
|
|
144
144
|
nokogiri-diff (0.3.0)
|
145
145
|
nokogiri (~> 1.5)
|
146
146
|
tdiff (~> 0.4)
|
147
|
-
parallel (1.
|
148
|
-
parser (3.3.4.
|
147
|
+
parallel (1.26.2)
|
148
|
+
parser (3.3.4.2)
|
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
|
-
racc (1.8.
|
154
|
+
racc (1.8.1)
|
155
155
|
rack (3.1.4)
|
156
156
|
rack-session (2.0.0)
|
157
157
|
rack (>= 3.0.0)
|
@@ -194,9 +194,9 @@ GEM
|
|
194
194
|
rdoc (6.7.0)
|
195
195
|
psych (>= 4.0.0)
|
196
196
|
regexp_parser (2.9.2)
|
197
|
-
reline (0.5.
|
197
|
+
reline (0.5.9)
|
198
198
|
io-console (~> 0.5)
|
199
|
-
rexml (3.3.
|
199
|
+
rexml (3.3.4)
|
200
200
|
strscan
|
201
201
|
rspec (3.13.0)
|
202
202
|
rspec-core (~> 3.13.0)
|
@@ -211,7 +211,7 @@ GEM
|
|
211
211
|
diff-lcs (>= 1.2.0, < 2.0)
|
212
212
|
rspec-support (~> 3.13.0)
|
213
213
|
rspec-support (3.13.1)
|
214
|
-
rubocop (1.65.
|
214
|
+
rubocop (1.65.1)
|
215
215
|
json (~> 2.3)
|
216
216
|
language_server-protocol (>= 3.17.0)
|
217
217
|
parallel (~> 1.10)
|
@@ -222,7 +222,7 @@ GEM
|
|
222
222
|
rubocop-ast (>= 1.31.1, < 2.0)
|
223
223
|
ruby-progressbar (~> 1.7)
|
224
224
|
unicode-display_width (>= 2.4.0, < 3.0)
|
225
|
-
rubocop-ast (1.
|
225
|
+
rubocop-ast (1.32.0)
|
226
226
|
parser (>= 3.3.1.0)
|
227
227
|
rubocop-capybara (2.21.0)
|
228
228
|
rubocop (~> 1.41)
|
@@ -233,7 +233,7 @@ GEM
|
|
233
233
|
rubocop-ast (>= 1.31.1, < 2.0)
|
234
234
|
rubocop-rake (0.6.0)
|
235
235
|
rubocop (~> 1.0)
|
236
|
-
rubocop-rspec (3.0.
|
236
|
+
rubocop-rspec (3.0.4)
|
237
237
|
rubocop (~> 1.61)
|
238
238
|
ruby-progressbar (1.13.0)
|
239
239
|
simplecov (0.22.0)
|
@@ -242,7 +242,7 @@ GEM
|
|
242
242
|
simplecov_json_formatter (~> 0.1)
|
243
243
|
simplecov-html (0.12.3)
|
244
244
|
simplecov_json_formatter (0.1.4)
|
245
|
-
stringio (3.1.
|
245
|
+
stringio (3.1.1)
|
246
246
|
strscan (3.1.0)
|
247
247
|
tdiff (0.4.0)
|
248
248
|
thor (1.3.1)
|
@@ -257,7 +257,7 @@ GEM
|
|
257
257
|
xpath (3.2.0)
|
258
258
|
nokogiri (~> 1.8)
|
259
259
|
yard (0.9.36)
|
260
|
-
zeitwerk (2.6.
|
260
|
+
zeitwerk (2.6.17)
|
261
261
|
|
262
262
|
PLATFORMS
|
263
263
|
x86_64-darwin-19
|
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
|
+
| [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) |
|
17
18
|
| [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) |
|
18
19
|
| [1.1.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v1.1.0) | [5.4.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.4.0) | [1.1.0](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v1.1.0) |
|
19
20
|
| [1.0.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v1.0.0) | [5.4.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.4.0) | [1.0.0](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v1.0.0) |
|
@@ -30,7 +30,7 @@ module CCS
|
|
30
30
|
def initialize(task_list_items:, id_prefix: nil, **options)
|
31
31
|
super(**options)
|
32
32
|
|
33
|
-
@task_list_items = task_list_items.map.with_index(1) { |task_list_item, index| Item.new(context: @context, index: index, id_prefix: id_prefix || 'task-list', **task_list_item) }
|
33
|
+
@task_list_items = task_list_items.map.with_index(1) { |task_list_item, index| Item.new(context: @context, index: index, id_prefix: id_prefix || 'task-list', **task_list_item) if task_list_item.present? }
|
34
34
|
end
|
35
35
|
|
36
36
|
# Generates the HTML for the GOV.UK task list component
|
@@ -39,7 +39,7 @@ module CCS
|
|
39
39
|
|
40
40
|
def render
|
41
41
|
tag.ul(**options[:attributes]) do
|
42
|
-
task_list_items.each { |task_list_item| concat(task_list_item.render) }
|
42
|
+
task_list_items.each { |task_list_item| concat(task_list_item.render) if task_list_item }
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
data/package.json
CHANGED
data/yarn.lock
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
# yarn lockfile v1
|
3
3
|
|
4
4
|
|
5
|
-
ccs-frontend@^1.1.
|
6
|
-
version "1.1.
|
7
|
-
resolved "https://registry.yarnpkg.com/ccs-frontend/-/ccs-frontend-1.1.
|
8
|
-
integrity sha512-
|
5
|
+
ccs-frontend@^1.1.2:
|
6
|
+
version "1.1.2"
|
7
|
+
resolved "https://registry.yarnpkg.com/ccs-frontend/-/ccs-frontend-1.1.2.tgz#f8333896e7859366c417d43ada819bf0909a38f1"
|
8
|
+
integrity sha512-KoBoY3VByQOT6TrJi9MIDd9j7d2FdGVNTMtm0+aBhKwL0Ee5InUG0IVArKs+9YGfaUaCrhQWdbscGHt4v1O2DA==
|
9
9
|
|
10
|
-
govuk-frontend@^5.
|
11
|
-
version "5.
|
12
|
-
resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-5.
|
13
|
-
integrity sha512-
|
10
|
+
govuk-frontend@^5.5.0:
|
11
|
+
version "5.5.0"
|
12
|
+
resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-5.5.0.tgz#dfb2426788dbf570ef7d2742983bc54e68f17f34"
|
13
|
+
integrity sha512-lNSHCOzgk6LfgelcdtJxTLK1BX/cpjCUyEB3LnzliD9o9YQckNMsbj5+jSOs2RFy6XBJ/DJqxj2TKfjBCuzpyA==
|
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.1.
|
4
|
+
version: 1.1.2
|
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-
|
11
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|