rack-insight 0.5.18 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml
CHANGED
data/CHANGELOG
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
== HEAD
|
2
2
|
|
3
|
+
== 0.5.19 / 2012-09-13 - Peter Boling
|
4
|
+
|
5
|
+
* Other
|
6
|
+
|
7
|
+
* Extend panel error backtrace logging to include full backtrace (pboling - Peter Boling)
|
8
|
+
* Improved table template for magical panels (pboling - Peter Boling)
|
9
|
+
|
10
|
+
* Bug Fixes
|
11
|
+
|
12
|
+
* Fix redis panel, maybe... (oggy - George Ogata)
|
13
|
+
|
3
14
|
== 0.5.18 / 2012-09-13 - Peter Boling
|
4
15
|
|
5
16
|
* Bug Fixes
|
@@ -13,11 +13,13 @@ if defined?(Redis)
|
|
13
13
|
|
14
14
|
Redis::Client.class_eval do
|
15
15
|
def call_with_insight(*argv)
|
16
|
+
Rack::Insight::RedisPanel.record(argv, Kernel.caller) do
|
17
|
+
call_without_insight(*argv)
|
18
|
+
end
|
16
19
|
end
|
17
20
|
end
|
18
21
|
|
19
|
-
alias_method_chain :call, :insight
|
20
|
-
|
22
|
+
Redis::Client.alias_method_chain :call, :insight
|
21
23
|
end
|
22
24
|
end
|
23
25
|
end
|
data/lib/rack/insight/version.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<% end %>
|
15
15
|
<% rescue Object => ex %>
|
16
16
|
Err: <%= panel.name rescue "xxx" %>
|
17
|
-
<!-- <%= ([ex.class.name, ex.message] + ex.backtrace
|
17
|
+
<!-- <%= ([ex.class.name, ex.message] + ex.backtrace).join("\n") %> -->
|
18
18
|
<% end %>
|
19
19
|
</li>
|
20
20
|
<% end %>
|