hanami-view 1.1.2 → 1.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -3
- data/hanami-view.gemspec +1 -1
- data/lib/hanami/view/rendering/layout_scope.rb +1 -1
- data/lib/hanami/view/rendering/options.rb +3 -1
- data/lib/hanami/view/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 489db0aa110f231dba641d78cd48cb0b6cce7bbc6767c029929294744ef7b128
|
4
|
+
data.tar.gz: 5ae2bf501448b8955d942dd524bfe70429be427e8d5b635c1cd2b9509c67d34b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e88ea89267eabda4143afa4dccc694346211edd33266bade1e5d08fe4d60ce64f0c075174409c344483eae4d762166985bfecc0893e83bdd9eda195a043674
|
7
|
+
data.tar.gz: f7e0198c8e6691d667598c65a1bfa7b48f11def521c2d9bf2f93a58149532aff333b31b23c6fd0354209b49c09d710d4949fb6b757771cce30ae6c8c98d4c9d1
|
data/CHANGELOG.md
CHANGED
data/hanami-view.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.required_ruby_version = '>= 2.3.0'
|
21
21
|
|
22
22
|
spec.add_runtime_dependency 'tilt', '~> 2.0', '>= 2.0.1'
|
23
|
-
spec.add_runtime_dependency 'hanami-utils', '
|
23
|
+
spec.add_runtime_dependency 'hanami-utils', '1.2.0.beta1'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
26
26
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "hanami/utils/hash"
|
4
|
+
|
3
5
|
module Hanami
|
4
6
|
module View
|
5
7
|
module Rendering
|
@@ -11,7 +13,7 @@ module Hanami
|
|
11
13
|
# @since 1.1.1
|
12
14
|
# @api private
|
13
15
|
def self.build(options, locals, format)
|
14
|
-
options.
|
16
|
+
Utils::Hash.deep_dup(options).tap do |opts|
|
15
17
|
opts[:format] = format
|
16
18
|
opts[:locals] = locals
|
17
19
|
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.
|
4
|
+
version: 1.2.0.beta1
|
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-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tilt
|
@@ -34,16 +34,16 @@ dependencies:
|
|
34
34
|
name: hanami-utils
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 1.2.0.beta1
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 1.2.0.beta1
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,12 +143,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: 2.3.0
|
144
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- - "
|
146
|
+
- - ">"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
148
|
+
version: 1.3.1
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.7.
|
151
|
+
rubygems_version: 2.7.5
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: View layer for Hanami, with a separation between views and templates
|