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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21f5d2e5370c18e3a9483713304492e75584dea1
4
- data.tar.gz: 092d1dc63148b27d14c1976b50042e3ff1d1a27c
3
+ metadata.gz: 4fb8071ba8f9bc3b9c2c6de76fd7d194a931371b
4
+ data.tar.gz: a32f0f0b5b42304b32debb5507dc30996646d30a
5
5
  SHA512:
6
- metadata.gz: ab8ce7c816a126193dce558fe8a2cea7dd12d6cc669e41e817cc150a7168a6548a10d892960530bd7cb1bfb827892606303ca01208854af2d2f273988422d1a1
7
- data.tar.gz: d6bf0949d6bc7ff412e71d7ed336f2d8584336456b1bb7a5cfe46f1b1004f9ffe1d09f24c1637577739fca471f9d043d179d0e451d99697edcf2f04d749b7b52
6
+ metadata.gz: cee7ea00cc088aac830a55e4dcfd6ece875d7d5e6b4a590403684b2b7df145a8a8a258b5ea5f5d43dc8ef320a515ecfe64de356ed751869650c146e23226317a
7
+ data.tar.gz: d3c8ce98a5fbf080de94858feab4390133857654f23e356c48bebd31a372328b13a9bf3290f7f8fd7115ec4d4205117b51dff4f37c667c4ec023728c4d0be96b
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Bourgeois
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourgeois
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rémi Prévost