hanami-view 1.2.0.rc2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/hanami-view.gemspec +1 -1
- 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 +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4c5c33349b33efe1572d221dfd54d860ae04ce1b873a47e5fdfe9612af46387
|
4
|
+
data.tar.gz: d60517a35dca1f695b63de1a046f0e15b2af822111cf2b5d33c07ac5c0370781
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2cfcf0fe4ea4c177f5b6ecb9e2d4915af6643d6604e4365894e36e70f829105b87cdc09a3eb1bc0730f7b3af6e3fde38fdb94ae196a80cb9f41563acf4e5ce8
|
7
|
+
data.tar.gz: c2e700dba8c01b4529d2993ebfa9a3587190f7d2f600400de0ba5209e9dc7490d12cfbea2cd03892d28af8448489f4064c18e4a4bc093b3c6411ba5b9a5a3ed9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Hanami::View
|
2
2
|
View layer for Hanami
|
3
3
|
|
4
|
+
## v1.2.0 - 2018-04-06
|
5
|
+
|
4
6
|
## v1.2.0.rc2 - 2018-04-06
|
5
7
|
|
6
8
|
## v1.2.0.rc1 - 2018-03-30
|
@@ -9,6 +11,10 @@ View layer for Hanami
|
|
9
11
|
|
10
12
|
## v1.2.0.beta1 - 2018-02-28
|
11
13
|
|
14
|
+
## v1.1.2 - 2018-04-10
|
15
|
+
### Fixed
|
16
|
+
- [Luca Guidi] Ensure to be able to use `exposures` even when they aren't duplicable objects
|
17
|
+
|
12
18
|
## v1.1.1 - 2018-02-27
|
13
19
|
### Added
|
14
20
|
- [Luca Guidi] Official support for Ruby: MRI 2.5
|
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', '1.2
|
23
|
+
spec.add_runtime_dependency 'hanami-utils', '~> 1.2'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
26
26
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
@@ -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.2.0
|
4
|
+
version: 1.2.0
|
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-04-
|
11
|
+
date: 2018-04-11 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: 1.2
|
39
|
+
version: '1.2'
|
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: 1.2
|
46
|
+
version: '1.2'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,9 +143,9 @@ 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: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
151
|
rubygems_version: 2.7.6
|