hanami-view 2.1.0.rc2 → 2.1.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: 1f2fe4be0c1444d008d0a1f263b665469931fc7446ef53a581e40b9903b3d59b
4
- data.tar.gz: 530f9ef13f2c7f30e31c6f47276dfb5b63280167b237af607616138216d5d47a
3
+ metadata.gz: f6af4657bef0600d48bfea5710ec7e80560d587e143fa9789074d00cafa6bcb5
4
+ data.tar.gz: 42eb43b7e50f496f9ddda0e70bd9d030acc80bbefbf2b5e7771f542ca7b59657
5
5
  SHA512:
6
- metadata.gz: 632c35a2934a68d891a6adafa04bf77692242c118c97ef67f67729047915ea2322e6d3d95a31fb56f207367d66f4dae844278caf3d3d98184ee8339d3762eb73
7
- data.tar.gz: 7657dac57505121f31eea7f7c3a6dfaac22e157094353bcd5ad9baa62d52e32a687b7d697512fe99aef4baa500e37ea7fb6f053b872b9d3f08c28a17b3e49b60
6
+ metadata.gz: 14d4864da922dbbf7f87a01b8bdc450ee4fda9436d4ee16f3baea27c7491523a7cf0d6a5894956c48aa670e5568f7d12b3a27f9e531071d373aad8d441ef791d
7
+ data.tar.gz: 2aa67c6ca5fa7f63fd6585c98b619a522ce9bdaa48d3ea2c6537fcac63c889dcda4f45556ff67a2c6a07c228fdf2db72f2c976ab06e218f5264b91700756bdec
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  View layer for Hanami
4
4
 
5
+ ## v2.1.0 - 2024-02-27
6
+
7
+ ## v2.1.0.rc3 - 2024-02-16
8
+
9
+ ### Changed
10
+ - [Tim Riley] Remove unneeded concurrent-ruby gem dependency.
11
+
5
12
  ## v2.1.0.rc2 - 2023-11-08
6
13
 
7
14
  ### Changed
@@ -3,7 +3,7 @@
3
3
  module Hanami
4
4
  class View
5
5
  # @api public
6
- # @since 2.1.0
7
- VERSION = "2.1.0.rc2"
6
+ # @since 0.1.0
7
+ VERSION = "2.1.0"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-view
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.rc2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Riley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-08 00:00:00.000000000 Z
12
+ date: 2024-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-configurable
@@ -165,7 +165,6 @@ files:
165
165
  - lib/hanami/view.rb
166
166
  - lib/hanami/view/cache.rb
167
167
  - lib/hanami/view/context.rb
168
- - lib/hanami/view/context_helpers/content_helpers.rb
169
168
  - lib/hanami/view/decorated_attributes.rb
170
169
  - lib/hanami/view/erb/engine.rb
171
170
  - lib/hanami/view/erb/filters/block.rb
@@ -214,11 +213,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
213
  version: '3.0'
215
214
  required_rubygems_version: !ruby/object:Gem::Requirement
216
215
  requirements:
217
- - - ">"
216
+ - - ">="
218
217
  - !ruby/object:Gem::Version
219
- version: 1.3.1
218
+ version: '0'
220
219
  requirements: []
221
- rubygems_version: 3.4.21
220
+ rubygems_version: 3.5.6
222
221
  signing_key:
223
222
  specification_version: 4
224
223
  summary: A complete, standalone view rendering system that gives you everything you
@@ -1,26 +0,0 @@
1
- module Hanami
2
- class View
3
- module ContextHelpers
4
- module ContentHelpers
5
- def initialize(**)
6
- @content_for = {}
7
- super
8
- end
9
-
10
- def content_for(key, value = nil, &block)
11
- output = nil
12
-
13
- if block
14
- @content_for[key] = yield
15
- elsif value
16
- @content_for[key] = value
17
- else
18
- output = @content_for[key]
19
- end
20
-
21
- output
22
- end
23
- end
24
- end
25
- end
26
- end