rack-insight 0.5.5 → 0.5.6
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 +14 -2
- data/Gemfile.lock +1 -1
- data/lib/rack/insight/instrumentation/probe.rb +6 -4
- data/lib/rack/insight/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
-
== 0.5.
|
1
|
+
== 0.5.5 / 2012-08-31 (Peter Boling)
|
2
|
+
|
3
|
+
* New Features
|
4
|
+
|
5
|
+
* Extension gems now automatically look for their view templates
|
6
|
+
relative to the panel class file that tries to render them.
|
7
|
+
* Two levels of log verbosity filtering to allow re-use of the Rails log, but to not force same level output from
|
8
|
+
rack-insight as the rails log is set to for the env. It will never be more logging than Rails log's env level,
|
9
|
+
but it can, and usually should, be less.
|
10
|
+
|
11
|
+
* Fixed a number of bugs, and refactored some things. Please let me know if you use it/break it!
|
12
|
+
|
13
|
+
== 0.5.0 / 2012-08-29 - transition to rack_insight (Peter Boling)
|
2
14
|
|
3
15
|
* Compatibility
|
4
16
|
|
@@ -8,7 +20,7 @@
|
|
8
20
|
|
9
21
|
*Other
|
10
22
|
|
11
|
-
* Fix spelling of retreive => retrieve
|
23
|
+
* Fix spelling of retreive => retrieve
|
12
24
|
* Remove redundant time method from cache_panel/stats.rb
|
13
25
|
|
14
26
|
== 0.4.X - last of logical_insight
|
data/Gemfile.lock
CHANGED
@@ -128,7 +128,9 @@ module Rack::Insight
|
|
128
128
|
|
129
129
|
include Logging
|
130
130
|
def log &block
|
131
|
-
|
131
|
+
if verbose(:debug)
|
132
|
+
logger.debug &block
|
133
|
+
end
|
132
134
|
end
|
133
135
|
|
134
136
|
def fulfill_probe_orders
|
@@ -183,9 +185,9 @@ module Rack::Insight
|
|
183
185
|
def define_trace_method(target, method)
|
184
186
|
(class << target; self; end).class_exec() do
|
185
187
|
define_method(method.name) do |*args, &block|
|
186
|
-
|
187
|
-
|
188
|
-
|
188
|
+
ProbeRunner::probe_run(self, target.name, :class, args, caller(0)[0], method.name) do
|
189
|
+
method.bind(self).call(*args, &block)
|
190
|
+
end
|
189
191
|
end
|
190
192
|
end
|
191
193
|
end
|
data/lib/rack/insight/version.rb
CHANGED