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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- remnant (0.2.2)
4
+ remnant (0.3.2)
5
5
  statsd-ruby (= 1.0.0)
6
6
 
7
7
  GEM
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.queries.total_time.to_i)
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.queries.total_time)
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
@@ -1,3 +1,3 @@
1
1
  class Remnant
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remnant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: