query_tracer 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -0
- data/lib/query_tracer.rb +1 -0
- data/query_tracer.gemspec +1 -1
- metadata +5 -7
data/README.markdown
CHANGED
@@ -30,6 +30,10 @@ Add following code to config/initializers/query_tracer.rb:
|
|
30
30
|
|
31
31
|
`exclude_queries` will contain default expressions list for currently selected DB.
|
32
32
|
|
33
|
+
To set up `tracer.colorize` according to value of `config.colorize_logging` in your environment settings (`config/development.rb`) you could write
|
34
|
+
|
35
|
+
tracer.colorize = ActiveSupport::LogSubscriber.colorize_logging
|
36
|
+
|
33
37
|
## Example
|
34
38
|
|
35
39
|
Let's say we have model
|
data/lib/query_tracer.rb
CHANGED
data/query_tracer.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: query_tracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dmitry Shaposhnik
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-09-19 00:00:00 Z
|
21
20
|
dependencies: []
|
22
21
|
|
23
22
|
description: ""
|
@@ -44,7 +43,6 @@ files:
|
|
44
43
|
- lib/query_tracer/tracer/revision.rb
|
45
44
|
- query_tracer.gemspec
|
46
45
|
- test/test_helper.rb
|
47
|
-
has_rdoc: true
|
48
46
|
homepage: http://github.com/daemon/query_tracer
|
49
47
|
licenses: []
|
50
48
|
|
@@ -76,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
74
|
requirements: []
|
77
75
|
|
78
76
|
rubyforge_project:
|
79
|
-
rubygems_version: 1.
|
77
|
+
rubygems_version: 1.8.6
|
80
78
|
signing_key:
|
81
79
|
specification_version: 3
|
82
80
|
summary: Query tracer and logger for Rails3
|