rack-insight 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/rack/insight/render.rb +2 -4
- data/lib/rack/insight/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/rack/insight/render.rb
CHANGED
@@ -66,12 +66,10 @@ module Rack::Insight
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
if file
|
69
|
-
|
69
|
+
return ::ERB.new(file, nil, "-").src
|
70
70
|
else
|
71
|
-
|
72
|
-
warn message_src
|
71
|
+
warn "Rack::Insight: Unable to find expected view template #{primary_file_path} or a #{filename}.html.erb template in rack-insight's :panel_load_paths. Configured panel load paths are: #{Rack::Insight::Config.config[:panel_load_paths].inspect}"
|
73
72
|
end
|
74
|
-
message_src
|
75
73
|
end
|
76
74
|
|
77
75
|
def method_name(filename, local_assigns)
|
data/lib/rack/insight/version.rb
CHANGED