cutaneous 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/cutaneous.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'cutaneous'
16
- s.version = '0.1.0'
16
+ s.version = '0.1.1'
17
17
  s.date = '2012-07-23'
18
18
  s.rubyforge_project = 'cutaneous'
19
19
 
@@ -23,7 +23,12 @@ module Cutaneous
23
23
  self.__buf << __loader.template(template_name).render(context)
24
24
  end
25
25
 
26
- def respond_to?(name)
26
+ def respond_to_missing?(name, include_private = false)
27
+ return true if @__locals.key?(name.to_s) || @__locals.key?(name.to_sym)
28
+ super
29
+ end
30
+
31
+ def respond_to?(name, include_private = false)
27
32
  return true if @__locals.key?(name.to_s) || @__locals.key?(name.to_sym)
28
33
  super
29
34
  end
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.0"
10
+ VERSION = "0.1.1"
11
11
 
12
12
  class CompilationError < Exception; end
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutaneous
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: