content_block_tools 0.12.1 → 0.12.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: d0c58a0d3ef7154dbb64562eb49e195b35d092aa8253ae4a78281ac82969a0d2
4
- data.tar.gz: b30e824dc93f731ce4f76feb81d4893405214c735c1c54988ddf45f3f6c7a20d
3
+ metadata.gz: 2a3d284308ecfac92b7c39739db61d4897edd0c185087aa5a307be162e663cc0
4
+ data.tar.gz: 276d0984c5e5c15b2cebcd1a8cf1beb8ad1a92571ab5b087917ad1fb65e90851
5
5
  SHA512:
6
- metadata.gz: d7cb23a7de08bd50f54066cccd6e2d3869030745e896d62e8f4d6b8aa48886971a1c313d7328de45d42457250752af7fd018049feda48f4c315d943867423b69
7
- data.tar.gz: 63ac67b402438f97f09655c96be96a561e5e59c566a19ead87e8c42e55365fec94b5e8ddbefb368d3e10e68d63c271104acaf50a55de98cb96992a73ca959ff8
6
+ metadata.gz: 866336c803901cad6a3328343db12db865ba2e256802702f85364fa66f589747a62dee09af69dd34af8969ee381c44cb5b933c0774bba29f2c84a55eb1f01161
7
+ data.tar.gz: d2db11eebab075a70f9b688954cb1b341317284100470fefaf9a7e746ae0c80d69342c307208a089903e3c588974a6bae5630e469458cc7ea2c92a16e9e5b6ae
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.12.2
11
+
12
+ - Add escape character to silence warnings ([65](https://github.com/alphagov/govuk_content_block_tools/pull/65))
13
+
10
14
  ## 0.12.1
11
15
 
12
16
  - Fix when content block codes include special dashes ([64](https://github.com/alphagov/govuk_content_block_tools/pull/64))
@@ -32,7 +32,7 @@ module ContentBlockTools
32
32
  # The regex used to find UUIDs
33
33
  UUID_REGEX = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/
34
34
  # The regex used to find content ID aliases
35
- CONTENT_ID_ALIAS_REGEX = /[a-z0-9-–—]+/
35
+ CONTENT_ID_ALIAS_REGEX = /[a-z0-9\-–—]+/
36
36
  # The regex to find optional field names after the UUID, begins with '/'
37
37
  FIELD_REGEX = /(\/[a-z0-9_\-–—\/]*)?/
38
38
  # The regex used when scanning a document using {ContentBlockTools::ContentBlockReference.find_all_in_document}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ContentBlockTools
4
- VERSION = "0.12.1"
4
+ VERSION = "0.12.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.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.7.0
153
+ rubygems_version: 3.7.1
154
154
  specification_version: 4
155
155
  summary: A suite of tools for working with GOV.UK Content Blocks
156
156
  test_files: []