assert-view 0.4.0 → 0.4.1

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- assert-view (0.4.0)
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.6.0)
13
- assert-view (~> 0.3)
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
@@ -1,5 +1,5 @@
1
1
  module Assert; end
2
2
 
3
3
  module Assert::View
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly Redding