bravo_presenter 0.0.4 → 0.0.5
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
class BravoPresenter::Collection
|
|
2
|
+
include Enumerable
|
|
2
3
|
attr_accessor :collection, :template
|
|
3
|
-
delegate :empty?, :to => :collection
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
# nodoc
|
|
@@ -12,8 +12,8 @@ class BravoPresenter::Collection
|
|
|
12
12
|
|
|
13
13
|
# nodoc
|
|
14
14
|
def each(&block)
|
|
15
|
-
collection.each do |
|
|
16
|
-
block.call template.present_object(
|
|
15
|
+
collection.each do |obj|
|
|
16
|
+
block.call template.present_object(obj)
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bravo_presenter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-01
|
|
12
|
+
date: 2012-02-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description:
|
|
15
15
|
email:
|
|
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
version: '0'
|
|
74
74
|
segments:
|
|
75
75
|
- 0
|
|
76
|
-
hash: -
|
|
76
|
+
hash: -1003451551
|
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
none: false
|
|
79
79
|
requirements:
|
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
82
82
|
version: '0'
|
|
83
83
|
segments:
|
|
84
84
|
- 0
|
|
85
|
-
hash: -
|
|
85
|
+
hash: -1003451551
|
|
86
86
|
requirements: []
|
|
87
87
|
rubyforge_project:
|
|
88
88
|
rubygems_version: 1.8.10
|