code_buddy 0.0.4 → 0.0.5
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/Gemfile.lock
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
<% traces.each do |name, trace| %>
|
|
22
22
|
<div id="<%= name.gsub /\s/, '-' %>" style="display: <%= name == "Application Trace" ? 'block' : 'none' %>;">
|
|
23
|
-
<pre><code><%= trace.enum_with_index.collect { |line, index| link_to line, "code_buddy/stack/#{index}" }.join("\n") -%></code></pre>
|
|
23
|
+
<pre><code><%= trace.enum_with_index.collect { |line, index| link_to line, "/code_buddy/stack/#{index}" }.join("\n") -%></code></pre>
|
|
24
24
|
</div>
|
|
25
25
|
<% end %>
|
|
26
26
|
</div>
|
|
@@ -3,7 +3,7 @@ module CodeBuddy
|
|
|
3
3
|
initializer "code_buddy.add_middleware" do |app|
|
|
4
4
|
if app.config.action_dispatch.show_exceptions
|
|
5
5
|
app.middleware.swap ActionDispatch::ShowExceptions, CodeBuddy::ShowExceptions
|
|
6
|
-
app.middleware.
|
|
6
|
+
app.middleware.insert_before CodeBuddy::ShowExceptions, CodeBuddy::ShowApp
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
<% traces.each do |name, trace| %>
|
|
22
22
|
<div id="<%= name.gsub /\s/, '-' %>" style="display: <%= name == "Application Trace" ? 'block' : 'none' %>;">
|
|
23
|
-
<pre><code><%= trace.enum_with_index.collect { |line, index| link_to line, "code_buddy/stack/#{index}" }.join("\n").html_safe -%></code></pre>
|
|
23
|
+
<pre><code><%= trace.enum_with_index.collect { |line, index| link_to line, "/code_buddy/stack/#{index}" }.join("\n").html_safe -%></code></pre>
|
|
24
24
|
</div>
|
|
25
25
|
<% end %>
|
|
26
26
|
</div>
|
data/lib/code_buddy/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 5
|
|
9
|
+
version: 0.0.5
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Pat Shaughnessy, Alex Rothenberg, Daniel Higginbotham
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-12-
|
|
17
|
+
date: 2010-12-11 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|