ruby-handlebars 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bb7ada122dcffa528888da4c6a4b1e2822cbecd5626d14e559081a8881670b8
4
- data.tar.gz: aeed1a35e4a57bee75e9fa0f67ddfd0c26a07fd33c613608974492f258eb6c06
3
+ metadata.gz: 2237e25fe7e159de9f12860cf7a832200e1154e5c1bf4b3ae13208d17a6d5a86
4
+ data.tar.gz: b98b8c72ea564f7a35bd71029ad7ff8105c42f2b464e59dde0ef13b89f9aa102
5
5
  SHA512:
6
- metadata.gz: 6505f37bb31fbdd0d344d5404c1bc5b5a6259e97120039037dc9ae2aa45635cfa2f7b2c40be1c4b5faced929dab3404665a451e495465c94e446c66dbb0362bf
7
- data.tar.gz: ca528f8a90911381216fa5af4fe7aba5d36ca83c84dd88f084023860fe3dc6067970f5b5155f9a296ee2baf814024ff32b5fcdc14edc120f75b4257ef6220e0b
6
+ metadata.gz: 377a11ba8a636bb05b030509111fb35ba5a92b3662b0c6bbbebd96c05d47d906236fc5b9788e26d9ee38b4e5b9fd462b386e114e19c6fdb0816c5394294dcaa0
7
+ data.tar.gz: 31d29b8da30b04404a30f21d567fda3506551651092dd3b050fc072a919d7693c238eb4c45fb2f2cc7394a34d458eebe576a8ecc99cdb07176baf11131f3b98d
@@ -27,8 +27,10 @@ module Handlebars
27
27
  saved = args.keys.collect { |key| [key, get(key.to_s)] }.to_h
28
28
 
29
29
  add_items(args)
30
- yield
30
+ block_result = yield
31
31
  locals.merge!(saved)
32
+
33
+ block_result
32
34
  end
33
35
 
34
36
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-handlebars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Pretre