bourgeois 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bourgeois/presenter.rb +1 -1
- data/lib/bourgeois/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb8071ba8f9bc3b9c2c6de76fd7d194a931371b
|
4
|
+
data.tar.gz: a32f0f0b5b42304b32debb5507dc30996646d30a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cee7ea00cc088aac830a55e4dcfd6ece875d7d5e6b4a590403684b2b7df145a8a8a258b5ea5f5d43dc8ef320a515ecfe64de356ed751869650c146e23226317a
|
7
|
+
data.tar.gz: d3c8ce98a5fbf080de94858feab4390133857654f23e356c48bebd31a372328b13a9bf3290f7f8fd7115ec4d4205117b51dff4f37c667c4ec023728c4d0be96b
|
data/lib/bourgeois/presenter.rb
CHANGED
@@ -56,7 +56,7 @@ module Bourgeois
|
|
56
56
|
# end
|
57
57
|
def self.present(object, klass = nil, view = nil, &blk)
|
58
58
|
return if object.nil?
|
59
|
-
return object.map { |o| present(o, klass, &blk) } if object.respond_to?(:to_a) && !object.is_a?(Struct)
|
59
|
+
return object.map { |o| present(o, klass, view, &blk) } if object.respond_to?(:to_a) && !object.is_a?(Struct)
|
60
60
|
|
61
61
|
if object.is_a?(Bourgeois::Presenter)
|
62
62
|
presenter = object
|
data/lib/bourgeois/version.rb
CHANGED