cutaneous 0.1.5 → 0.1.6

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: 9969ba7375a7a48961d9643edce1886e87d17881
4
- data.tar.gz: 815bce78af65ee6ff6625ccc1666d5a758d6d74e
3
+ metadata.gz: 3e398300a8b3fdc0ed8a26b9b0864006c792a8f6
4
+ data.tar.gz: 7d6d810c48e137af8b4b5c9cc2b479bdb3d299f1
5
5
  SHA512:
6
- metadata.gz: b0a18c961d9fcd217ec41a819cbeb8710995bb77dd53cae261ec87b34d470db7246ef1e25c07fb227e26587b487ce04d3e4cb76980b7168a434b8072a0a63adf
7
- data.tar.gz: d0f055699ba068ad627b6dc3a71aea6b721ebc892e2ea3297d73a33630679ef3704a3034f1b9b427a37dc58c89e7b97d6c9d8cb106e2e137ccd2509fb4067224
6
+ metadata.gz: 5c5f8cfd091d40a3a5a126d7ebf13843f0ed82aa314799bc5a53d6dfcab89f10e8f7620d2749414a88623cee28b33cf85e27ac7e3cbe042d9db8e3fe08979f98
7
+ data.tar.gz: a51d2b7c1f921f5e794b4532693644932039c1429e84c853b99969a54eb59f321cd1b5e3ee52b18b2beeab76bb913ff52477037249d22ac41692a9e228350367
data/cutaneous.gemspec CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  ## If your rubyforge_project name is different, then edit it and comment out
15
15
  ## the sub! line in the Rakefile
16
16
  s.name = 'cutaneous'
17
- s.version = '0.1.5'
18
- s.date = '2013-08-22'
17
+ s.version = '0.1.6'
18
+ s.date = '2013-09-14'
19
19
  s.rubyforge_project = 'cutaneous'
20
20
 
21
21
  ## Make sure your summary is short. The description may be as long
@@ -183,8 +183,6 @@ module Cutaneous
183
183
  end
184
184
  strip = strip_whitespace
185
185
  end
186
- # We don't need this any more so release it
187
- @lexer = nil
188
186
  expressions
189
187
  end
190
188
 
@@ -1,3 +1,4 @@
1
+
1
2
  module Cutaneous
2
3
  class Template
3
4
  attr_accessor :loader, :lexer, :path
@@ -20,9 +21,7 @@ module Cutaneous
20
21
  end
21
22
 
22
23
  def template_proc
23
- @template_proc ||= eval(template_proc_src, nil, path || "(cutaneous)").tap do |proc|
24
- @lexer = nil # release any memory used by the lexer, we don't need it anymore
25
- end
24
+ @template_proc ||= eval(template_proc_src, nil, path || "(cutaneous)")
26
25
  end
27
26
 
28
27
  def template_proc_src
data/lib/cutaneous.rb CHANGED
@@ -7,7 +7,7 @@ require 'cutaneous/lexer'
7
7
  require 'cutaneous/compiler'
8
8
 
9
9
  module Cutaneous
10
- VERSION = "0.1.5"
10
+ VERSION = "0.1.6"
11
11
 
12
12
  class CompilationError < Exception; end
13
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutaneous
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garry Hill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-22 00:00:00.000000000 Z
11
+ date: 2013-09-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Cutaneous is the Ruby templating language designed for use with Spontaneous
14
14
  CMS. It has a simple syntax but powerful features such as Djano style template inheritance
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project: cutaneous
89
- rubygems_version: 2.0.0
89
+ rubygems_version: 2.0.3
90
90
  signing_key:
91
91
  specification_version: 2
92
92
  summary: A Ruby templating language with Django style template inheritance