rabl 0.7.7 → 0.7.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -1
- data/lib/rabl/builder.rb +2 -2
- data/lib/rabl/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/rabl/builder.rb
CHANGED
@@ -34,8 +34,8 @@ module Rabl
|
|
34
34
|
extends(settings[:file], settings[:options], &settings[:block])
|
35
35
|
end if @options.has_key?(:extends)
|
36
36
|
# Attributes
|
37
|
-
@options[:attributes].each_pair do |attribute,
|
38
|
-
attribute(attribute,
|
37
|
+
@options[:attributes].each_pair do |attribute, settings|
|
38
|
+
attribute(attribute, settings)
|
39
39
|
end if @options.has_key?(:attributes)
|
40
40
|
# Node
|
41
41
|
@options[:node].each do |settings|
|
data/lib/rabl/version.rb
CHANGED