serbea 0.11.4 → 0.11.5

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: 9de1d1227d672565dd3f5c7e1eaccd6b521aef986761905c32a5291f0ec07884
4
- data.tar.gz: d1d30224f4c014bb7c142ace9c1780318e5a7e15ff299dc3d0d8a5913e419077
3
+ metadata.gz: a1b5a4aac5a9230d11e68a3b58c75363f644fef35b9328ac35c7d9cc4d9995d9
4
+ data.tar.gz: 49c2eaf825d3547cc13815071dce83b35bb7c7f31db72f3523e5c96bb13eacc9
5
5
  SHA512:
6
- metadata.gz: ef72a8fd812225972e01f5a658c673266c72a0afa925595178f2f8f39e00a444c566b9f01c24880a2a063aa8dd29dbabd04114c792544f8d78e05e6f3c6fe321
7
- data.tar.gz: bf6962a1de782dd73e8aad76a20d6c830b62906053c7d33a5f6e0783ecd5ef46f086e365d7c37d24d6437a80b94fcde7f1258dc318a5c7905ebbc4bca2b78859
6
+ metadata.gz: 984de9e83b3daba448203b3a7cc834bbe4bd5d6262311293a6e507b9416be73ea442a33127fef9706dbda07f19a63c6b45625fcdd4532eef9753dd0118885898
7
+ data.tar.gz: 324f24744d74d315c7e950d230dd5cfd901b70648e236e75b11c60c504695c79ee9c9ba637d56544d3c8c4820ac700259cbd7c57ab2cd0c94641a35086df042f
@@ -10,9 +10,10 @@ module Serbea
10
10
  previous_buffer_state = @_erbout
11
11
  @_erbout = Serbea::OutputBuffer.new
12
12
  result = yield(*args)
13
+ result = @_erbout.presence || result
13
14
  @_erbout = previous_buffer_state
14
15
 
15
- result&.html_safe
16
+ safe(result)
16
17
  end
17
18
 
18
19
  def pipeline(context, value)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Serbea
2
- VERSION = "0.11.4"
2
+ VERSION = "0.11.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serbea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-03 00:00:00.000000000 Z
11
+ date: 2021-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport