serbea 0.11.3 → 0.11.4

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: c5c25c113b633bbeaaca37974b02ab662c34c803609966124ed390fccfb14440
4
- data.tar.gz: e1126de9ab8506745882c2410d64146ac98e88d7b22fe7fa13bdbdc4afc0a1be
3
+ metadata.gz: 9de1d1227d672565dd3f5c7e1eaccd6b521aef986761905c32a5291f0ec07884
4
+ data.tar.gz: d1d30224f4c014bb7c142ace9c1780318e5a7e15ff299dc3d0d8a5913e419077
5
5
  SHA512:
6
- metadata.gz: a7daa83b85d6674c5e0a5ea657ba7fa8baaae33a5651c09983cd62a56ccd8420752283b04a0f06c26bad4350f48a964126abd1a8e3613a62015b48fe293ffe3c
7
- data.tar.gz: acce221b376b93ce9956bf6928877c9f504ada4b31e8df1b4d5b82cdbb5a9dfd15e6e07aefcc55536a2466fbbc7a5acc5b38434813a05099b01ceb49595f9531
6
+ metadata.gz: ef72a8fd812225972e01f5a658c673266c72a0afa925595178f2f8f39e00a444c566b9f01c24880a2a063aa8dd29dbabd04114c792544f8d78e05e6f3c6fe321
7
+ data.tar.gz: bf6962a1de782dd73e8aad76a20d6c830b62906053c7d33a5f6e0783ecd5ef46f086e365d7c37d24d6437a80b94fcde7f1258dc318a5c7905ebbc4bca2b78859
@@ -9,8 +9,7 @@ module Serbea
9
9
  def capture(*args)
10
10
  previous_buffer_state = @_erbout
11
11
  @_erbout = Serbea::OutputBuffer.new
12
- yield(*args)
13
- result = @_erbout
12
+ result = yield(*args)
14
13
  @_erbout = previous_buffer_state
15
14
 
16
15
  result&.html_safe
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Serbea
2
- VERSION = "0.11.3"
2
+ VERSION = "0.11.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serbea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team