proceso-rails 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/proceso/middleware.rb +1 -2
- data/lib/proceso/version.rb +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c04b1bd6413daddfa312b7e93c7c882feb1ac53
|
4
|
+
data.tar.gz: 88f612f15ed46cef31f54431bea0d7c61b9382eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe4f5fd46c16383e36fff40b39e74cdf50729ed60ce42c1ce62f7bb02afb93e6f890b57ba537c373e0932aac93dae45dec0b2d809453beda6631f451d3a82105
|
7
|
+
data.tar.gz: 341ac8331946eeb1c937d5d365b3a5d8042374627dadd8e882778b9989b901a47637a05b4daf778c3d5242bc237a89f4dc65e1764fef00898b8ae061cc5bd1ef
|
data/lib/proceso/middleware.rb
CHANGED
@@ -14,8 +14,7 @@ module Proceso
|
|
14
14
|
mem_used = (payload[:mem_used].to_f / 1024.0).round(1)
|
15
15
|
cpu_used = payload[:cpu_used].to_f.round(1)
|
16
16
|
path = payload[:request].path_info
|
17
|
-
|
18
|
-
logger.debug "[PROCESO] MEM: #{mem_used}KB\tCPU: #{cpu_used}\tRESP: #{resp_time}ms\tPATH: #{path}"
|
17
|
+
logger.debug "[PROCESO] MEM: #{mem_used}KB\tCPU: #{cpu_used}\tPATH: #{path}"
|
19
18
|
end
|
20
19
|
end
|
21
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proceso-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Goines
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: proceso
|
@@ -67,6 +67,7 @@ extra_rdoc_files: []
|
|
67
67
|
files:
|
68
68
|
- lib/proceso-rails.rb
|
69
69
|
- lib/proceso/middleware.rb
|
70
|
+
- lib/proceso/version.rb
|
70
71
|
homepage: https://github.com/bry4n/proceso
|
71
72
|
licenses:
|
72
73
|
- MIT
|