opulent 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/benchmarks/run-benchmarks.rb +1 -1
- data/lib/opulent/template.rb +1 -4
- 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: e67f0135d7df3b6b6495593004a7e0716cfebdf1
|
4
|
+
data.tar.gz: d0da9369cd9e71803aa870808a5998a324ffd736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c86344fa0750534547e83dbac06310a53f2c02a820399d434df0a568f931f41aadac93ed650bd680f970af9bb2b427df908f0ad4f4032eb8d566b85b519a2cf4
|
7
|
+
data.tar.gz: 4f2e9ab56ad15241da2270c8aef9f9e1497462194356573a7ea47f3f5ead1ce7fb00ab4a5ba1a813675662c528fa09aa2abdccf3ad863915e51e522354ec5eb1
|
@@ -57,7 +57,7 @@ class Benchmarks
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def init_tilt_benches
|
60
|
-
tilt_opulent = Opulent::Template.new { @opulent_code }
|
60
|
+
tilt_opulent = Opulent::Template.new() { @opulent_code }
|
61
61
|
tilt_erb = Tilt::ERBTemplate.new { @erb_code }
|
62
62
|
tilt_erubis = Tilt::ErubisTemplate.new { @erb_code }
|
63
63
|
tilt_temple_erb = Temple::ERB::Template.new { @erb_code }
|
data/lib/opulent/template.rb
CHANGED
@@ -16,10 +16,7 @@ module Opulent
|
|
16
16
|
#
|
17
17
|
def prepare
|
18
18
|
# Set up the rendering engine
|
19
|
-
@engine = ::Opulent.new
|
20
|
-
|
21
|
-
# Set reusable template definitions
|
22
|
-
@def = @engine.def
|
19
|
+
@engine = ::Opulent.new @data, @options
|
23
20
|
end
|
24
21
|
|
25
22
|
# Execute the compiled template and return the result string. Template
|
data/lib/opulent/version.rb
CHANGED