lotus-view 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/lotus/view/rendering/layout_scope.rb +3 -1
- data/lib/lotus/view/version.rb +1 -1
- data/lotus-view.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dda1cba5c497595dbff0db4c47d5c0728579af21
|
|
4
|
+
data.tar.gz: c69552c1116c135f86715a31b084612528e86f49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f8e135e3739e623393fb7df975c1680c7299dd91300414277d16a3143b7089a8fe3c8c0d42eda3b02c355cb61652b9234cb16b77f4211d1f747968dfa930bf0
|
|
7
|
+
data.tar.gz: 45e78d2c9910b4f3e9bfff52162cb08478fd6f663b094c16aae59ec1148d33389db6a9d9237dc837fd48a0bb9956ecd0267abcbc35b4de7875d0b3ff3b3367be
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'lotus/utils/escape'
|
|
2
|
+
|
|
1
3
|
module Lotus
|
|
2
4
|
module View
|
|
3
5
|
module Rendering
|
|
@@ -206,7 +208,7 @@ module Lotus
|
|
|
206
208
|
elsif layout.respond_to?(m)
|
|
207
209
|
layout.__send__(m, *args, &blk)
|
|
208
210
|
else
|
|
209
|
-
super
|
|
211
|
+
::Lotus::View::Escape.html(super)
|
|
210
212
|
end
|
|
211
213
|
rescue ::NameError
|
|
212
214
|
::Kernel.raise ::NoMethodError.new("undefined method `#{ m }' for #{ self.inspect }", m)
|
data/lib/lotus/view/version.rb
CHANGED
data/lotus-view.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ require 'lotus/view/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'lotus-view'
|
|
8
8
|
spec.version = Lotus::View::VERSION
|
|
9
|
-
spec.authors = ['Luca Guidi', 'Trung Lê', 'Alfonso Uceda
|
|
9
|
+
spec.authors = ['Luca Guidi', 'Trung Lê', 'Alfonso Uceda']
|
|
10
10
|
spec.email = ['me@lucaguidi.com', 'trung.le@ruby-journal.com', 'uceda73@gmail.com']
|
|
11
11
|
spec.description = %q{View layer for Lotus}
|
|
12
12
|
spec.summary = %q{View layer for Lotus, with a separation between views and templates}
|
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lotus-view
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luca Guidi
|
|
8
8
|
- Trung Lê
|
|
9
|
-
- Alfonso Uceda
|
|
9
|
+
- Alfonso Uceda
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-
|
|
13
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: tilt
|
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
148
|
rubyforge_project:
|
|
149
|
-
rubygems_version: 2.4.
|
|
149
|
+
rubygems_version: 2.4.5.1
|
|
150
150
|
signing_key:
|
|
151
151
|
specification_version: 4
|
|
152
152
|
summary: View layer for Lotus, with a separation between views and templates
|