clutterbuck-erb 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/clutterbuck/erb.rb +2 -2
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2cbb4223a5fd3ce5d67c12017bc12e9093f3f9ec7db88645aa8dbd0b4783d48e
|
4
|
+
data.tar.gz: a5ff06e2e363b4d164a53555eb8551c5907d86d003dac5edccbadb252f790ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae617b64c965851b6d65fa35a52cbb7b3c6919ba070b648a09d84d04a6d7541ccc7baf453130aa324fb0d5e3e10e84f104db317b8261ca11aec4e9a654b3472e
|
7
|
+
data.tar.gz: 93e25cec53bbddb54d26850b6f913301289817d25b54fb57d460d2a68d1cebd92881a632f5084ea5b05ae8220a073a698d44402f05303ec05846e0a41d536e95
|
data/lib/clutterbuck/erb.rb
CHANGED
@@ -113,7 +113,7 @@ module Clutterbuck::ERB
|
|
113
113
|
|
114
114
|
until render_chain.empty?
|
115
115
|
view = render_chain.pop
|
116
|
-
|
116
|
+
|
117
117
|
cur_binding = get_binding(vars) { content.chomp }
|
118
118
|
content = erbterpreter(view).result(cur_binding)
|
119
119
|
end
|
@@ -121,7 +121,7 @@ module Clutterbuck::ERB
|
|
121
121
|
[
|
122
122
|
200,
|
123
123
|
[
|
124
|
-
["Content-Length", content.bytesize],
|
124
|
+
["Content-Length", content.bytesize.to_s],
|
125
125
|
["Content-Type", "text/html; charset=utf-8"]
|
126
126
|
],
|
127
127
|
[content]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clutterbuck-erb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -189,10 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
|
-
|
193
|
-
rubygems_version: 2.2.2
|
192
|
+
rubygems_version: 3.0.1
|
194
193
|
signing_key:
|
195
194
|
specification_version: 4
|
196
195
|
summary: ERb template rendering for Clutterbuck
|
197
196
|
test_files: []
|
198
|
-
has_rdoc:
|