rack-insight 0.5.15 → 0.5.16
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/CHANGELOG +7 -1
- data/lib/rack/insight/panel.rb +1 -3
- data/lib/rack/insight/version.rb +1 -1
- data/lib/rack/insight/views/no_content.html.erb +3 -0
- metadata +2 -1
data/CHANGELOG
CHANGED
data/lib/rack/insight/panel.rb
CHANGED
|
@@ -260,9 +260,7 @@ module Rack::Insight
|
|
|
260
260
|
|
|
261
261
|
def content
|
|
262
262
|
logger.info("Rack::Insight is using default content for #{self.class}") if verbose(:med)
|
|
263
|
-
|
|
264
|
-
html += '<p>Add a content method to your panel</p>'
|
|
265
|
-
html
|
|
263
|
+
render_template 'no_content', :name => self.camelized_name
|
|
266
264
|
end
|
|
267
265
|
|
|
268
266
|
# Override in subclasses.
|
data/lib/rack/insight/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.5.16
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -284,6 +284,7 @@ files:
|
|
|
284
284
|
- lib/rack/insight/views/enable-button.html.erb
|
|
285
285
|
- lib/rack/insight/views/error.html.erb
|
|
286
286
|
- lib/rack/insight/views/headers_fragment.html.erb
|
|
287
|
+
- lib/rack/insight/views/no_content.html.erb
|
|
287
288
|
- lib/rack/insight/views/no_data.html.erb
|
|
288
289
|
- lib/rack/insight/views/panels/active_record.html.erb
|
|
289
290
|
- lib/rack/insight/views/panels/active_resource.html.erb
|