README.md in rack-insight-0.6.2 vs README.md in rack-insight-0.6.3
- old
+ new
@@ -78,12 +78,12 @@
to go somewhere more noticeable. E.g. "position: absolute; top: 0; left: 0"
Using with non-Rails Rack apps
------------------------------
-Just 'use Rack::Insight' as any other middleware. See the SampleApp in the
-spec/fixtures folder for an example Sinatra app.
+Just `use Rack::Insight::App` as any other middleware. See the `SampleApp` in the
+`spec/fixtures` folder for an example Sinatra app.
This is a minimal setup:
```
class SinatraExample < Sinatra::Base
@@ -260,13 +260,13 @@
end
end
Setup the probes for the magic panel in a `before_initialize` block in your application.rb as follows:
- # Assuming there is a FooBra class with instance methods: foo, bar, cheese, and ducks
+ # Assuming there is a FooBar class with instance methods: foo, bar, cheese, and ducks
Rack::Insight::Config.configure do |config|
# Not :foo_bar_panel or 'FooBarPanel'... :foo_bar
- config[:panel_configs][:foo_bar] = {:probes => {'FooBra' => [:instance, :foo, :bar, :cheese, :ducks]}}
+ config[:panel_configs][:foo_bar] = {:probes => {'FooBar' => [:instance, :foo, :bar, :cheese, :ducks]}}
end
Custom Panels
-------------