renshi 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/renshi/parser.rb +2 -0
  2. data/lib/renshi.rb +1 -1
  3. metadata +2 -2
data/lib/renshi/parser.rb CHANGED
@@ -91,6 +91,8 @@ module Renshi
91
91
  end
92
92
 
93
93
  def compile(text)
94
+ return if text.nil?
95
+
94
96
  idx = text.index("$")
95
97
  return text if idx.nil?
96
98
 
data/lib/renshi.rb CHANGED
@@ -9,7 +9,7 @@ require 'renshi/attribute_expressions'
9
9
  require 'renshi/frameworks'
10
10
 
11
11
  module Renshi
12
- VERSION="0.2.2"
12
+ VERSION="0.2.3"
13
13
 
14
14
  class SyntaxError < StandardError; end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renshi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Faiz
@@ -9,7 +9,7 @@ autorequire: renshi
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-22 00:00:00 +10:00
12
+ date: 2009-09-24 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency