hanami-view 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/hanami/view/rendering/layout_scope.rb +1 -1
- data/lib/hanami/view/rendering/options.rb +1 -3
- data/lib/hanami/view/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c37ef9f8c41c52de97e3d5be683bac02f3e1c836063a5f49d951bd59f5f710a1
|
4
|
+
data.tar.gz: 01baf2e8737cb07af0e350ea3972c622705f3682dfdb313baf37668e12f9d2f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f7efce91d6ec0d426e5a46ce698e4d8ceb3dbc50e403834663f2eeaccbb8197c51edded561962c38358d97ed67b61e2c0a9d81a3561e34d9e55f9ca696d9cfc
|
7
|
+
data.tar.gz: b71ed07c0993a02f1aed3c41cd24ae0ee6d978faf491fab4a5fa73de6b2ec30a3a0e352977a12b762f22b907176abc25217fb9bfe3925f592b856b1ac371d3b1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Hanami::View
|
2
2
|
View layer for Hanami
|
3
3
|
|
4
|
+
## v1.1.2 - 2018-04-10
|
5
|
+
### Fixed
|
6
|
+
- [Luca Guidi] Ensure to be able to use `exposures` even when they aren't duplicable objects
|
7
|
+
|
4
8
|
## v1.1.1 - 2018-02-27
|
5
9
|
### Added
|
6
10
|
- [Luca Guidi] Official support for Ruby: MRI 2.5
|
@@ -1,7 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "hanami/utils/hash"
|
4
|
-
|
5
3
|
module Hanami
|
6
4
|
module View
|
7
5
|
module Rendering
|
@@ -13,7 +11,7 @@ module Hanami
|
|
13
11
|
# @since 1.1.1
|
14
12
|
# @api private
|
15
13
|
def self.build(options, locals, format)
|
16
|
-
|
14
|
+
options.dup.tap do |opts|
|
17
15
|
opts[:format] = format
|
18
16
|
opts[:locals] = locals
|
19
17
|
opts[:locals].merge!(options.fetch(:locals) { ::Hash.new }).merge!(format: format)
|
data/lib/hanami/view/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tilt
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.7.
|
151
|
+
rubygems_version: 2.7.6
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: View layer for Hanami, with a separation between views and templates
|