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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/clutterbuck/erb.rb +2 -2
  3. metadata +3 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b20c25a1bf8be64d5dd7484415930552ccd2f8dd
4
- data.tar.gz: 0798a72beac26d61091fb32504afab652d5bafd1
2
+ SHA256:
3
+ metadata.gz: 2cbb4223a5fd3ce5d67c12017bc12e9093f3f9ec7db88645aa8dbd0b4783d48e
4
+ data.tar.gz: a5ff06e2e363b4d164a53555eb8551c5907d86d003dac5edccbadb252f790ddf
5
5
  SHA512:
6
- metadata.gz: 26ba437d264ca40a2ac4063d4ca8daac0c7f2a20e9d78134fb882c73058db061abb07b843a4f5a815c608d33347413c9c1fb090debd6e18b25db54061833482f
7
- data.tar.gz: ff15a21ab0e841003b0c34cef8611e9d3d802dd5d25884add61c85ba9c6eca213531f377cfe323187372720eb81e5024e80513fd7fd7a48e93aef0a78769bc40
6
+ metadata.gz: ae617b64c965851b6d65fa35a52cbb7b3c6919ba070b648a09d84d04a6d7541ccc7baf453130aa324fb0d5e3e10e84f104db317b8261ca11aec4e9a654b3472e
7
+ data.tar.gz: 93e25cec53bbddb54d26850b6f913301289817d25b54fb57d460d2a68d1cebd92881a632f5084ea5b05ae8220a073a698d44402f05303ec05846e0a41d536e95
@@ -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.0
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: 2015-07-08 00:00:00.000000000 Z
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
- rubyforge_project:
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: