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 +4 -4
- data/lib/serbea/helpers.rb +2 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1b5a4aac5a9230d11e68a3b58c75363f644fef35b9328ac35c7d9cc4d9995d9
|
4
|
+
data.tar.gz: 49c2eaf825d3547cc13815071dce83b35bb7c7f31db72f3523e5c96bb13eacc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 984de9e83b3daba448203b3a7cc834bbe4bd5d6262311293a6e507b9416be73ea442a33127fef9706dbda07f19a63c6b45625fcdd4532eef9753dd0118885898
|
7
|
+
data.tar.gz: 324f24744d74d315c7e950d230dd5cfd901b70648e236e75b11c60c504695c79ee9c9ba637d56544d3c8c4820ac700259cbd7c57ab2cd0c94641a35086df042f
|
data/lib/serbea/helpers.rb
CHANGED
@@ -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
|
16
|
+
safe(result)
|
16
17
|
end
|
17
18
|
|
18
19
|
def pipeline(context, value)
|
data/lib/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2021-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|