remnant 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/remnant/base.rb +2 -2
- data/lib/remnant/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/remnant/base.rb
CHANGED
@@ -42,7 +42,7 @@ class Remnant
|
|
42
42
|
end
|
43
43
|
|
44
44
|
if Remnant::Database.enabled?
|
45
|
-
Remnant.handler.timing("#{key_prefix}.db", Remnant::Database.
|
45
|
+
Remnant.handler.timing("#{key_prefix}.db", Remnant::Database.total_time.to_i)
|
46
46
|
end
|
47
47
|
|
48
48
|
@sample_counter = 0
|
@@ -72,7 +72,7 @@ class Remnant
|
|
72
72
|
|
73
73
|
if Remnant::Database.enabled?
|
74
74
|
Rails.logger.info ""
|
75
|
-
Rails.logger.info("#{color(false, true)}---- Database (%.2fms) -----#{color(true)}" % Remnant::Database.
|
75
|
+
Rails.logger.info("#{color(false, true)}---- Database (%.2fms) -----#{color(true)}" % Remnant::Database.total_time)
|
76
76
|
if Remnant::Database.suppress?
|
77
77
|
Rails.logger.info "queries suppressed in development mode"
|
78
78
|
else
|
data/lib/remnant/version.rb
CHANGED