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 +3 -2
- data/lib/rack/showme/version.rb +1 -1
- metadata +1 -1
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
|
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)
|
data/lib/rack/showme/version.rb
CHANGED