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 CHANGED
@@ -1,4 +1,16 @@
1
- == 0.5.0 / 2012-08-29 - transition to rack_insight
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 (Peter Boling)
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-insight (0.5.4)
4
+ rack-insight (0.5.5)
5
5
  rack
6
6
  sqlite3 (>= 1.3.3)
7
7
  uuidtools (>= 2.1.2)
@@ -128,7 +128,9 @@ module Rack::Insight
128
128
 
129
129
  include Logging
130
130
  def log &block
131
- logger.debug &block
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
- ProbeRunner::probe_run(self, target.name, :class, args, caller(0)[0], method.name) do
187
- method.bind(self).call(*args, &block)
188
- end
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
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Insight
3
3
 
4
- VERSION = '0.5.5'
4
+ VERSION = '0.5.6'
5
5
 
6
6
  end
7
7
  end
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.5
4
+ version: 0.5.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: