time_bandits 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,9 +38,9 @@ module TimeBandits
38
38
 
39
39
  def metrics
40
40
  {
41
- :db_calls => @call_count,
42
- :db_sql_query_cache_hits => @query_cache_hits,
43
- :db_time => @consumed * 1000
41
+ :db_time => info[0],
42
+ :db_calls => info[1],
43
+ :db_sql_query_cache_hits => info[2]
44
44
  }
45
45
  end
46
46
 
@@ -1,3 +1,3 @@
1
1
  module TimeBandits
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_bandits
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease:
4
+ hash: 29
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stefan Kaes
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-04 00:00:00 +02:00
18
+ date: 2012-02-20 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  requirements: []
100
100
 
101
101
  rubyforge_project:
102
- rubygems_version: 1.6.2
102
+ rubygems_version: 1.3.7
103
103
  signing_key:
104
104
  specification_version: 3
105
105
  summary: Custom performance logging for Rails