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
@@ -6,3 +6,4 @@ rvm:
6
6
  - rbx-19mode
7
7
  - ruby-head
8
8
  - jruby-head
9
+ bundler_args: "--binstubs --without documentation"
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
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Insight
3
3
 
4
- VERSION = '0.5.18'
4
+ VERSION = '0.5.19'
5
5
 
6
6
  end
7
7
  end
@@ -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[0..5]).join("\n") %> -->
17
+ <!-- <%= ([ex.class.name, ex.message] + ex.backtrace).join("\n") %> -->
18
18
  <% end %>
19
19
  </li>
20
20
  <% end %>
@@ -14,9 +14,9 @@
14
14
  <%- end %>
15
15
  </td>
16
16
  <%- end %>
17
- <%- if details %>
18
- <td>
17
+ <td>
18
+ <%- if details %>
19
19
  <a class="reveal_backtrace" href="javascript:void(0);"><%= magic_insight._my_children %></a>
20
- </td>
21
- <%- end %>
20
+ <%- end %>
21
+ </td>
22
22
  </tr>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-insight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.18
4
+ version: 0.5.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: