rails_request_stats 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab69ce19ea59ef2b15b17bc12415087f6a16ece0
4
- data.tar.gz: 4c556b965584ba9b96000acbe57b1c22868e01fa
3
+ metadata.gz: e5643f732f08bbfd75d11306f0145295d7a3dbbf
4
+ data.tar.gz: 53f0229fa7d2637efd2c27c5c3fb9dbd684b4f3c
5
5
  SHA512:
6
- metadata.gz: f2266f9d67a4425d725f2d427743091cffd71648c132502c2d64cbcf190f8b52e6dc952cf45772632bf5b67e3cf000133bdd4abfc097a8be71d7ea25fce230ab
7
- data.tar.gz: ddb528f614494ed89034524c498694415d42c432c89633e139ae9e12fa761cfb13e6ad1484553b2cd791dd9b37c27616ed49097892d9eefcc81992fc215ca9e9
6
+ metadata.gz: 996752186245b7ecb7f7736160f62593d00a2f732a3c7dde0dcabd4cae6480b324a6b60dd227ae5280107e04a2b8c490c4a22193cf69523ebfba4a494893bb70
7
+ data.tar.gz: e2f7b260f1db000e99ea31ee9cf377183214a28514c3dfc5c556ead3441bee6a970538a3be5c948caf00e78b7d66e3bb4df74696f35c843a20ad7070370780af
@@ -94,7 +94,7 @@ module RailsRequestStats
94
94
  stats.add_cache_stats(@cache_read_count, @cache_hit_count)
95
95
  stats.add_database_query_stats(@query_count, @cached_query_count)
96
96
  stats.add_object_space_stats(@before_object_space, @after_object_space)
97
- stats.add_runtime_stats(event[:view_runtime], event[:db_runtime])
97
+ stats.add_runtime_stats(event[:view_runtime] || 0, event[:db_runtime] || 0)
98
98
  end
99
99
 
100
100
  print_report(request_stats)
@@ -1,3 +1,3 @@
1
1
  module RailsRequestStats
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_request_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Jalbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-11 00:00:00.000000000 Z
11
+ date: 2017-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler