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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1452edab3f1662c37331457ca4fcce1e4ffd401d
4
- data.tar.gz: 3a422895f5c092e81501e20447782038157e6cba
3
+ metadata.gz: e67f0135d7df3b6b6495593004a7e0716cfebdf1
4
+ data.tar.gz: d0da9369cd9e71803aa870808a5998a324ffd736
5
5
  SHA512:
6
- metadata.gz: 056d9f523301271356b42f24551d38177b8f094502412ba3d41a50415e8d4ed4179171d9e83f6a27f8327ae34419323ef1ce087681710da0adeb29f2a6359599
7
- data.tar.gz: 150c811e6a6578e7ab7a3b829feed842e88ba7d9a6ca0abb04d1f5c05b6079ba789f36c898c89ed96bd96ca7cc46e582257b21292f58c6434fa9424eaa1be0c5
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 }
@@ -16,10 +16,7 @@ module Opulent
16
16
  #
17
17
  def prepare
18
18
  # Set up the rendering engine
19
- @engine = ::Opulent.new eval_file.to_sym, @options
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
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = '1.7.2'
3
+ VERSION = '1.7.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.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav