assert-view 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +6 -6
- data/assert-view.gemspec +1 -1
- data/lib/assert/view/base.rb +2 -3
- data/lib/assert/view/version.rb +1 -1
- metadata +9 -9
data/Gemfile.lock
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
assert-view (0.
|
4
|
+
assert-view (0.5.0)
|
5
5
|
ansi (~> 1.3)
|
6
|
-
undies (~>
|
6
|
+
undies (~> 2.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
ansi (1.
|
12
|
-
assert (0.7.
|
13
|
-
assert-view (~> 0.
|
11
|
+
ansi (1.4.1)
|
12
|
+
assert (0.7.3)
|
13
|
+
assert-view (~> 0.5)
|
14
14
|
rake (0.9.2)
|
15
|
-
undies (
|
15
|
+
undies (2.0.0)
|
16
16
|
|
17
17
|
PLATFORMS
|
18
18
|
ruby
|
data/assert-view.gemspec
CHANGED
data/lib/assert/view/base.rb
CHANGED
@@ -28,11 +28,10 @@ module Assert::View
|
|
28
28
|
# streaming to the view's output io
|
29
29
|
# passing in the view itself and any runner_callback as locals
|
30
30
|
def render(*args, &runner_callback)
|
31
|
-
|
31
|
+
Template.new(Undies::Source.new(self.class.template), {
|
32
32
|
:view => self,
|
33
33
|
:runner => runner_callback
|
34
|
-
}
|
35
|
-
Template.new(self.output_io, locals, &self.class.template)
|
34
|
+
}, Undies::Output.new(self.output_io))
|
36
35
|
end
|
37
36
|
|
38
37
|
module ClassMethods
|
data/lib/assert/view/version.rb
CHANGED
metadata
CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-12-05 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :development
|
@@ -68,11 +68,11 @@ dependencies:
|
|
68
68
|
requirements:
|
69
69
|
- - ~>
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
hash:
|
71
|
+
hash: 3
|
72
72
|
segments:
|
73
|
-
-
|
74
|
-
-
|
75
|
-
version: "
|
73
|
+
- 2
|
74
|
+
- 0
|
75
|
+
version: "2.0"
|
76
76
|
version_requirements: *id004
|
77
77
|
name: undies
|
78
78
|
description: A collection of views for use in the Assert testing framework
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
requirements: []
|
138
138
|
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.8.
|
140
|
+
rubygems_version: 1.8.11
|
141
141
|
signing_key:
|
142
142
|
specification_version: 3
|
143
143
|
summary: A collection of views for use in the Assert testing framework
|