Dex_Rack 0.1.5 → 0.1.6
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/Dex_Rack.rb +4 -3
- data/lib/Dex_Rack/version.rb +1 -1
- metadata +1 -1
data/lib/Dex_Rack.rb
CHANGED
|
@@ -151,7 +151,7 @@ class Dex_Rack
|
|
|
151
151
|
def backtrace_to_html s
|
|
152
152
|
last_file = nil
|
|
153
153
|
str = ""
|
|
154
|
-
s.split("\n").
|
|
154
|
+
s.split("\n").each { |l|
|
|
155
155
|
file, num, code = l.split(':')
|
|
156
156
|
str.<< %!
|
|
157
157
|
<div class="line">
|
|
@@ -163,8 +163,9 @@ class Dex_Rack
|
|
|
163
163
|
! if file != last_file
|
|
164
164
|
|
|
165
165
|
last_file = file
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
str
|
|
168
169
|
end
|
|
169
170
|
|
|
170
171
|
def human_time t
|
data/lib/Dex_Rack/version.rb
CHANGED