hanami-view 2.1.0.rc2 → 2.1.0.rc3

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: 11a5c7cdcd4849cf3381dd18324eec8e0dffc31696cc88cd9e90e2783c1dfa6a
4
+ data.tar.gz: 6bdfa9391d70f56e12ea69629e2c55d63ce8d1d6bc28593262d872626d147ba8
5
5
  SHA512:
6
- metadata.gz: 632c35a2934a68d891a6adafa04bf77692242c118c97ef67f67729047915ea2322e6d3d95a31fb56f207367d66f4dae844278caf3d3d98184ee8339d3762eb73
7
- data.tar.gz: 7657dac57505121f31eea7f7c3a6dfaac22e157094353bcd5ad9baa62d52e32a687b7d697512fe99aef4baa500e37ea7fb6f053b872b9d3f08c28a17b3e49b60
6
+ metadata.gz: 2d2d6ef206e60187f346052063ed344c0fa491cac0c574729b8b0816d1572f94cad31a8474acd66ce6e2c855914e79c3c0bd02f2cd9c1ac6fad871b77aaf7f2d
7
+ data.tar.gz: bd6551359c1936d808102a17d810fac312094f8a53e784edd56ac9494adb22de630b5f7ae773645bda85840174375104f2590c6e627ff5a11efd966df80930cb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  View layer for Hanami
4
4
 
5
+ ## v2.1.0.rc3 - 2024-02-16
6
+
7
+ ### Changed
8
+ - [Tim Riley] Remove unneeded concurrent-ruby gem dependency.
9
+
5
10
  ## v2.1.0.rc2 - 2023-11-08
6
11
 
7
12
  ### 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.rc3"
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.rc3
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-16 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