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: 99089bed3ca58c85c1eaac33c75fdd7013905424
4
- data.tar.gz: a91b24df45b00b466b194501e8f3aa56c5daee4f
3
+ metadata.gz: 3968ffd0e1a310ad3a6b04ee5982e004ae974ca0
4
+ data.tar.gz: f0f0e5a8aad60433a9566180108b52ffa30c64c1
5
5
  SHA512:
6
- metadata.gz: c87cf536f88a04dde78674e2e6b0a188f6c06d1b5289cbfa4645a131e4d6ab512bd0c130bf0df5b1a39bac23e6a83f96c9c70d085c96c0587ea2395431ab71b9
7
- data.tar.gz: 9e9d594cdf46d3199b0eb6b5b074d8a306a5c071122cc2dff5f7964b769f6c49f18a1e79496bf74394d3020483d4a728b331c3c94b648f33d242441d2ab5e8ae
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)
@@ -1,3 +1,3 @@
1
1
  module AlacrityRails
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
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.2
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: 2016-09-23 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails