content_block_tools 0.4.1 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18b58df1f935b54e55beaaa53766a00ba74ba07b9233459a00b82e155d13d25b
4
- data.tar.gz: 49971e740aae00d280477c88329a73653e38ea223e412c18749fe1f493b6213f
3
+ metadata.gz: efd943f4be9e4e03e81aa3303b2bb61e503bfa104ff026ac8b8cea07235b4b46
4
+ data.tar.gz: 322186e3603ee524727b94f2a8da3d42fc9f961fd2d072266d82cdd2240d6d78
5
5
  SHA512:
6
- metadata.gz: a67d4af7d37f6c95571691356da0e3e8c463e5e01c3ea3c35b9626542eedddc5bb0bd3baa304f713095ac188380e653e567adce4473baec09d3340cacbf56197
7
- data.tar.gz: 43ccfa780acdf748532762a00523febd21c02cecf48bef34ae1add7af8d368774f7f5c2a83aa02f98a9365a62d341953758310d65f79aee466f963813ceadcae
6
+ metadata.gz: 216e1a3f218bec821d23cb7ba310b9e1d96162f2e0e24bade0edc00fe030e4990aa6167774ad9ac103d9cf435ebcacdc85e427d6e3b803c9e3ddc4486e639a98
7
+ data.tar.gz: 23a471d39e89bd2f92b67871acd0140e37170f76d803e8b240fb225891ed28d7f944c132b0c83a5ce1b07e299df3dea193b4f80e104b84ab4353b85c97c279c5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@
7
7
  useful summary for people upgrading their application, not a replication
8
8
  of the commit log.
9
9
 
10
+ ## 0.4.2
11
+
12
+ * Pass embed code to HTML span ([19](https://github.com/alphagov/govuk_content_block_tools/pull/19))
13
+
10
14
  ## 0.4.1
11
15
 
12
16
  * Fix field regular expression ([18](https://github.com/alphagov/govuk_content_block_tools/pull/18))
@@ -29,7 +29,7 @@ module ContentBlockTools
29
29
  content_block: "",
30
30
  document_type: content_block.document_type,
31
31
  content_id: content_block.content_id,
32
- field_names: field_names&.join(","),
32
+ embed_code: content_block.embed_code,
33
33
  },
34
34
  )
35
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ContentBlockTools
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: content_block_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev