hallmonitor 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hallmonitor/railtie.rb +2 -2
- data/lib/hallmonitor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17a1eae368c01450d213a5995bbf8d3c1b7523a5
|
4
|
+
data.tar.gz: e8f5e920a7d4437fc32fbab7f6f76a30bbbed1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b7e099d69f88f22eec1ac075df2d970c3557d0aec1b23f1a27c671dc0902dd9a95e6b2b58b1a66cea50b4d81fa13813f70d71ed0ee0e41a553a4c02494e20b1
|
7
|
+
data.tar.gz: 39652021cd486e490e7e095ad4b913c606467e090a49fc5502c692680103532e3209fb8d339aa19f54f133a637a8164314be048aa0ef58f8c351fbc040566645
|
data/lib/hallmonitor/railtie.rb
CHANGED
@@ -56,8 +56,8 @@ module Hallmonitor
|
|
56
56
|
rails_payload = args[4]
|
57
57
|
|
58
58
|
parsed_arguments[:total_duration] = 1000.0 * (args[2] - args[1])
|
59
|
-
parsed_arguments[:view_time] = rails_payload[:view_runtime] || 0
|
60
|
-
parsed_arguments[:db_time] = rails_payload[:db_runtime] || 0
|
59
|
+
parsed_arguments[:view_time] = (rails_payload[:view_runtime] || 0).to_f
|
60
|
+
parsed_arguments[:db_time] = (rails_payload[:db_runtime] || 0).to_f
|
61
61
|
parsed_arguments[:status] = rails_payload[:status]
|
62
62
|
parsed_arguments[:controller] = rails_payload[:controller]
|
63
63
|
parsed_arguments[:action] = rails_payload[:action]
|
data/lib/hallmonitor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hallmonitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris TenHarmsel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|