assert-view 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -3
- data/lib/assert/view/helpers/leftright_columns.rb +2 -2
- data/lib/assert/view/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
assert-view (0.4.
|
4
|
+
assert-view (0.4.1)
|
5
5
|
ansi (~> 1.3)
|
6
6
|
undies (~> 1.1)
|
7
7
|
|
@@ -9,8 +9,8 @@ GEM
|
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ansi (1.3.0)
|
12
|
-
assert (0.
|
13
|
-
assert-view (~> 0.
|
12
|
+
assert (0.7.0)
|
13
|
+
assert-view (~> 0.4)
|
14
14
|
rake (0.9.2)
|
15
15
|
undies (1.2.0)
|
16
16
|
|
@@ -14,8 +14,8 @@ module Assert::View::Helpers
|
|
14
14
|
|
15
15
|
def right_column(text, opts={})
|
16
16
|
lines = text.split("\n")
|
17
|
-
right_columnize(lines.first, opts)
|
18
|
-
lines[1..-1].each do |line|
|
17
|
+
right_columnize(lines.first || "", opts)
|
18
|
+
(lines[1..-1] || []).each do |line|
|
19
19
|
self.left_column("")
|
20
20
|
right_columnize(line, opts)
|
21
21
|
end
|
data/lib/assert/view/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assert-view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 1
|
10
|
+
version: 0.4.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|