opulent 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/opulent/engine.rb +5 -2
- data/lib/opulent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1abeda932886282bd5f9fce009b1fa624a802b12
|
4
|
+
data.tar.gz: 5123994660042759c670b74489dbb9284238ced1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a745a8f4df10a3b22adc5db60f89455a699a92b35d46b7f3da1ab25ae7d92476c9be8e53cf8df0e7fbe561296a8a7bab75b23eb02966442ccb4adb2086308e4b
|
7
|
+
data.tar.gz: 89e1701db7adf3533dbd0b799f1f7fa599ec8ec6d6b340895da44411c8d882338acac06fde9d66033e33c254016ff00303f1534b4240ebd83f4b2f6aa9743f13
|
data/lib/opulent/engine.rb
CHANGED
@@ -39,11 +39,14 @@ module Opulent
|
|
39
39
|
if Settings[:layouts]
|
40
40
|
layout = locals.has_key?(:layout) ? locals.delete(:layout) : Settings[:default_layout]
|
41
41
|
|
42
|
+
# Process with the built in layout system
|
42
43
|
process layout, locals, block do
|
43
|
-
process input, locals, block
|
44
|
+
process input, locals, block, &block
|
44
45
|
end
|
45
46
|
else
|
46
|
-
|
47
|
+
# We pass the same block as content block, in case we're using a
|
48
|
+
# different yielding system from within a web framework using Tilt
|
49
|
+
process input, locals, block, &block
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
data/lib/opulent/version.rb
CHANGED