content_block_tools 0.4.3 → 0.4.4
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/.github/workflows/ci.yml +9 -0
- data/CHANGELOG.md +13 -9
- data/lib/content_block_tools/presenters/base_presenter.rb +1 -1
- data/lib/content_block_tools/version.rb +1 -1
- 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: 590deefd4541eee270592e6490d44140ede0fc10ed6333d348052afebd949a68
|
4
|
+
data.tar.gz: 94e1064ffaef327f90a48c1f06d45e6bb95718325ba9cbdaf0d535bb82d8e1e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 890262fb9673b49caec318e0fe55ea30a723a0433ba5fb94166a97bf0ef3692c0cc483d5a3749fe3b250b42234ae7e0fe65bb472b203c3ca109aeae7655321f1
|
7
|
+
data.tar.gz: 0e6c72ecf5c5a7adfb587388f3c065e6b35bdcf7226807a79c99eb339cc06f231396610be3fe5ac1fd6957127fcd1a2e2f2145a3c53444d6e1c55bee0c46fcf2
|
data/.github/workflows/ci.yml
CHANGED
@@ -34,6 +34,15 @@ jobs:
|
|
34
34
|
bundler-cache: true
|
35
35
|
- run: bundle exec rake
|
36
36
|
|
37
|
+
# Branch protection rules cannot directly depend on status checks from matrix jobs.
|
38
|
+
# So instead we define `test` as a dummy job which only runs after the preceding `test_matrix` checks have passed.
|
39
|
+
# Solution inspired by: https://github.community/t/status-check-for-a-matrix-jobs/127354/3
|
40
|
+
test:
|
41
|
+
needs: test_matrix
|
42
|
+
runs-on: ubuntu-latest
|
43
|
+
steps:
|
44
|
+
- run: echo "All matrix tests have passed 🚀"
|
45
|
+
|
37
46
|
publish:
|
38
47
|
needs: test_matrix
|
39
48
|
if: ${{ github.ref == 'refs/heads/main' }}
|
data/CHANGELOG.md
CHANGED
@@ -7,40 +7,44 @@
|
|
7
7
|
useful summary for people upgrading their application, not a replication
|
8
8
|
of the commit log.
|
9
9
|
|
10
|
+
## 0.4.4
|
11
|
+
|
12
|
+
- symbolize keys in block details blob, in order to find embedded nested fields ([22](https://github.com/alphagov/govuk_content_block_tools/pull/22))
|
13
|
+
|
10
14
|
## 0.4.3
|
11
15
|
|
12
|
-
|
16
|
+
- Add presenter for a pension block ([20](https://github.com/alphagov/govuk_content_block_tools/pull/20))
|
13
17
|
|
14
18
|
## 0.4.2
|
15
19
|
|
16
|
-
|
20
|
+
- Pass embed code to HTML span ([19](https://github.com/alphagov/govuk_content_block_tools/pull/19))
|
17
21
|
|
18
22
|
## 0.4.1
|
19
23
|
|
20
|
-
|
24
|
+
- Fix field regular expression ([18](https://github.com/alphagov/govuk_content_block_tools/pull/18))
|
21
25
|
|
22
26
|
## 0.4.0
|
23
27
|
|
24
|
-
|
28
|
+
- BREAKING: allow support for field names in block's embed code. new ContentBlocks now require an embed code argument. (
|
25
29
|
[17]
|
26
30
|
(https://github.com/alphagov/govuk_content_block_tools/pull/17))
|
27
31
|
|
28
32
|
## 0.3.1
|
29
33
|
|
30
|
-
|
34
|
+
- Support any Rails version `>= 6` ([#10](https://github.com/alphagov/govuk_content_block_tools/pull/10))
|
31
35
|
|
32
36
|
## 0.3.0
|
33
37
|
|
34
|
-
|
38
|
+
- Symbolise details hash ([#8](https://github.com/alphagov/content_block_tools/pull/8))
|
35
39
|
|
36
40
|
## 0.2.1
|
37
41
|
|
38
|
-
|
42
|
+
- Loosen ActionView dependency ([#7](https://github.com/alphagov/content_block_tools/pull/7))
|
39
43
|
|
40
44
|
## 0.2.0
|
41
45
|
|
42
|
-
|
46
|
+
- Don't `uniq` content references ([#6](https://github.com/alphagov/content_block_tools/pull/6))
|
43
47
|
|
44
48
|
## 0.1.0
|
45
49
|
|
46
|
-
|
50
|
+
- Initial release
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: content_block_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-02-
|
10
|
+
date: 2025-02-17 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|