opulent 1.3.2 → 1.3.3

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
  SHA1:
3
- metadata.gz: 1f2b79a594729557cb9431fdec2ca16241bf1419
4
- data.tar.gz: 9877613fce8681b810c156f400cb14f3f709fb1d
3
+ metadata.gz: 1abeda932886282bd5f9fce009b1fa624a802b12
4
+ data.tar.gz: 5123994660042759c670b74489dbb9284238ced1
5
5
  SHA512:
6
- metadata.gz: 59ff392ba38f212b238ec855c9baad0e5a226d1faa79b216fe85ddab5217a95bb7b345b0356f62ed15fcb80b290074b0b14ba62354e2fe8065acf7cf52a30c7c
7
- data.tar.gz: 064b6ebc282bbbad26000466dad8604fa014223ba163269e62d48cee8dd12746a631a1285e807c7b76f9d72e2e7bcfe194cfed1d933c2ef701828825bfd78cfd
6
+ metadata.gz: a745a8f4df10a3b22adc5db60f89455a699a92b35d46b7f3da1ab25ae7d92476c9be8e53cf8df0e7fbe561296a8a7bab75b23eb02966442ccb4adb2086308e4b
7
+ data.tar.gz: 89e1701db7adf3533dbd0b799f1f7fa599ec8ec6d6b340895da44411c8d882338acac06fde9d66033e33c254016ff00303f1534b4240ebd83f4b2f6aa9743f13
@@ -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
- process input, locals, block
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
 
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = "1.3.2"
3
+ VERSION = "1.3.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opulent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav