zafu 0.7.3 → 0.7.4
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/History.txt +5 -0
- data/lib/zafu/info.rb +1 -1
- data/lib/zafu/process/ruby_less_processing.rb +2 -0
- data/zafu.gemspec +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/lib/zafu/info.rb
CHANGED
|
@@ -149,8 +149,10 @@ module Zafu
|
|
|
149
149
|
elsif node && !node.list_context? && type = safe_method_from(node.klass, signature, node)
|
|
150
150
|
# not a list_contex
|
|
151
151
|
# Resolve node context methods: xxx.foo, xxx.bar
|
|
152
|
+
type = type[:class].call(self, signature) if type[:class].kind_of?(Proc)
|
|
152
153
|
type.merge(:method => "#{node.name}.#{type[:method]}")
|
|
153
154
|
elsif node && node.list_context? && type = safe_method_from(node.klass.first, signature, node)
|
|
155
|
+
type = type[:class].call(self, signature) if type[:class].kind_of?(Proc)
|
|
154
156
|
type.merge(:method => "#{node.name}.first.#{type[:method]}")
|
|
155
157
|
elsif @rendering_block_owner && @blocks.first.kind_of?(String) && !added_options
|
|
156
158
|
# Insert the block content into the method: <r:trans>blah</r:trans> becomes trans("blah")
|
data/zafu.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{zafu}
|
|
8
|
-
s.version = "0.7.
|
|
8
|
+
s.version = "0.7.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Gaspard Bucher"]
|
|
12
|
-
s.date = %q{2010-09-
|
|
12
|
+
s.date = %q{2010-09-25}
|
|
13
13
|
s.description = %q{Provides a powerful templating language based on xhtml for rails}
|
|
14
14
|
s.email = %q{gaspard@teti.ch}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 7
|
|
8
|
-
-
|
|
9
|
-
version: 0.7.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.7.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Gaspard Bucher
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-09-
|
|
17
|
+
date: 2010-09-25 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|