content_block_tools 0.2.1 → 0.3.0

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: 72d0cc73cab7bbbf9d8634f8316a8dd14d90cf77192ef85bf8d35f9c66f4e705
4
- data.tar.gz: e46058f351c418d5919b8e0ba6688589797449f5d08defd7247c1adb973fab2a
3
+ metadata.gz: c5a8912c68bece449eed300679bcf0d45af28c4f92924c55122bd899efdbfbd5
4
+ data.tar.gz: 79c6081a7b9c0b65a51c01c60522d92188cc16c4c6dd66120948d1fce1b09f4a
5
5
  SHA512:
6
- metadata.gz: 3594112c9b365a31f6d880569b1ed9ac9b37b9c80afd1292aaf137ab4f153452c9fe0bb2afad9b45ce18cde5720e61eeb21bcd5499e1864bdb029b80144d4eb2
7
- data.tar.gz: 1fd1986efb6f99fff56aca2cc8b25052b31904ab19a468c7f4ba68ca3df8be7e4f7ae1949105785dbc2aa1f2b7e259cece344a220d9030dc1e4b71ee5e608a8c
6
+ metadata.gz: ab9ccde7803fbd1d862c860e220c90cc2db9476dc2fd3bc8091fa821babe0928bd4e6e090093e04908afaaca0f3feeec0bf9ba61cf2849c70976d9cd4bd7616b
7
+ data.tar.gz: b5a1d3a0e79ac3241b39d85d2c4e44798485f844e71ec83cbc8e284e3d7d9b83e84ae98baf709f7f614636fc60cf13dddf7c8d9daf5a5391eea88074a13030a6
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.3.0
11
+
12
+ * Symbolise details hash ([#8](https://github.com/alphagov/content_block_tools/pull/8))
13
+
10
14
  ## 0.2.1
11
15
 
12
16
  * Loosen ActionView dependency ([#7](https://github.com/alphagov/content_block_tools/pull/7))
@@ -48,5 +48,9 @@ module ContentBlockTools
48
48
  .fetch(document_type, Presenters::BasePresenter)
49
49
  .new(self).render
50
50
  end
51
+
52
+ def details
53
+ to_h[:details].symbolize_keys
54
+ end
51
55
  end
52
56
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ContentBlockTools
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.0"
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.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev