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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5643f732f08bbfd75d11306f0145295d7a3dbbf
|
4
|
+
data.tar.gz: 53f0229fa7d2637efd2c27c5c3fb9dbd684b4f3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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:
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|