content_block_tools 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c3860de2e12b78fe21a796a9151350c6389737fd2083b444f9633f831e76c8c
4
- data.tar.gz: 60d3c9f141cef31750317b1e47955b9a98a42036b82216d1a862f2ce5a815e92
3
+ metadata.gz: c5a8912c68bece449eed300679bcf0d45af28c4f92924c55122bd899efdbfbd5
4
+ data.tar.gz: 79c6081a7b9c0b65a51c01c60522d92188cc16c4c6dd66120948d1fce1b09f4a
5
5
  SHA512:
6
- metadata.gz: 86ed8cab284f79cc095cf142a55e2272196a3216794b26119a008f19d39e8922cb92a20e13305281623e2d8943a7460e3e25360d92d9211ef3871587d9d0651f
7
- data.tar.gz: 4ca094c77d96446f1fda790478fc2637ba7ae064e67459357d6aedc2441aa80076c1dbc49816550869b475519de19ffc61dd118f13b61219fdcc0274be5bfdd6
6
+ metadata.gz: ab9ccde7803fbd1d862c860e220c90cc2db9476dc2fd3bc8091fa821babe0928bd4e6e090093e04908afaaca0f3feeec0bf9ba61cf2849c70976d9cd4bd7616b
7
+ data.tar.gz: b5a1d3a0e79ac3241b39d85d2c4e44798485f844e71ec83cbc8e284e3d7d9b83e84ae98baf709f7f614636fc60cf13dddf7c8d9daf5a5391eea88074a13030a6
data/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@
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
+
14
+ ## 0.2.1
15
+
16
+ * Loosen ActionView dependency ([#7](https://github.com/alphagov/content_block_tools/pull/7))
17
+
10
18
  ## 0.2.0
11
19
 
12
20
  * Don't `uniq` content references ([#6](https://github.com/alphagov/content_block_tools/pull/6))
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "rspec", "3.13.0"
30
30
  spec.add_development_dependency "rubocop-govuk", "5.0.2"
31
31
 
32
- spec.add_dependency "actionview", "7.2.2"
32
+ spec.add_dependency "actionview", ">= 6", "< 7.2.2"
33
33
  end
@@ -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.0"
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.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
@@ -56,14 +56,20 @@ dependencies:
56
56
  name: actionview
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '6'
62
+ - - "<"
60
63
  - !ruby/object:Gem::Version
61
64
  version: 7.2.2
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - '='
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '6'
72
+ - - "<"
67
73
  - !ruby/object:Gem::Version
68
74
  version: 7.2.2
69
75
  description: