rack-showme 0.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/lib/rack/showme.rb CHANGED
@@ -35,7 +35,7 @@ module Rack
35
35
  end
36
36
 
37
37
  def display_breakpoints?
38
- @display_breakpoints ||= Options.show_breakpoints
38
+ @display_breakpoints ||= !!Options.show_breakpoints
39
39
  end
40
40
 
41
41
  def inject_html
@@ -55,7 +55,8 @@ module Rack
55
55
 
56
56
  def show_boxes
57
57
  html_string = MessageBox.new(Options).html
58
- html_string + BreakpointsBox.new(Options).html if display_breakpoints?
58
+ html_string += BreakpointsBox.new(Options).html if display_breakpoints?
59
+ html_string
59
60
  end
60
61
 
61
62
  def read_public_file(filename)
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class Showme
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-showme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: