alacrity-rails 0.0.2 → 0.0.3
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: 3968ffd0e1a310ad3a6b04ee5982e004ae974ca0
|
4
|
+
data.tar.gz: f0f0e5a8aad60433a9566180108b52ffa30c64c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ee36f7677e143f6f44bef3335f76d95ca80d23ad558414fbbb33670e3b1df76b5e089cf7c40cb2e94022d06ce3f771404d0c905cda97594f0edac3389b6adca
|
7
|
+
data.tar.gz: 8a290bc13d0760c7bce88c45d7f5a674590be024a359313e9aa9b8b5d09afd3de8e5a69c80317e3ee1576f5ffa2ae3cbd442bef7994e68c209330b182ec4fbad
|
@@ -6,6 +6,7 @@ module AlacrityRails::Transaction
|
|
6
6
|
def initialize(env={})
|
7
7
|
self.middleware_started_at = Time.now
|
8
8
|
self.url = ["#{env['rack.url_scheme']}://", env['HTTP_HOST'], env['REQUEST_PATH']].compact.join
|
9
|
+
self.method = env['REQUEST_METHOD']
|
9
10
|
end
|
10
11
|
|
11
12
|
def store_database_metrics(started_at, finished_at, data)
|
@@ -21,7 +22,6 @@ module AlacrityRails::Transaction
|
|
21
22
|
self.controller = data[:controller]
|
22
23
|
self.action = data[:action]
|
23
24
|
self.format = data[:format]
|
24
|
-
self.method = data[:method]
|
25
25
|
self.status = data[:status]
|
26
26
|
self.view_runtime = data[:view_runtime].try(:to_i)
|
27
27
|
self.db_runtime = data[:db_runtime].try(:to_i)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alacrity-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alacrity, LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|