traxor 0.1.8 → 0.1.9

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
  SHA256:
3
- metadata.gz: 87d4f6420c14a5fcb008191ec8f609220c70ed5def24ba279cb1aee67b9f326d
4
- data.tar.gz: 7d42f4e54f412ebca8cd09584bce523460b5994ccc7cf15a30ea0bf8b7e60fde
3
+ metadata.gz: fc441e258d65128f73742b99a5dd49d1f0ad654528189e34825b9b2fedca49a2
4
+ data.tar.gz: 70f8d1a29de23867a061e661c7eba14dd96de6c1ec8013120e82f059c13242a5
5
5
  SHA512:
6
- metadata.gz: a2ede9f4e26598be1344d6d2ccd1e95c6c176adbb491ee66ca71e60b18117cb4e1bc038caeb02b1514032d246f24c6c5e6be06e57622e0e7136f93c114642c7d
7
- data.tar.gz: 02fb0957a6f46a8889fb6ac02f5520c8c1e3609f1f3c7185973a819f869daba5205b679db26806219484f9a70c0c4d96850b9fb77f977c60bf85158183a551d7
6
+ metadata.gz: cd980ca09c39cb63998bb4071d6b36b1eaf2b2be84a066ce37ee484d4e2f70f797f5752e1b1e4821513fff6baf4cb3851df67bcda94f65a2d567b1a8f18225b6
7
+ data.tar.gz: ed7f010baf4cfd0642b07fa8987267da6f0f5f52a64f223f603abb90a7a419b7e73df6a38471e089526ed6c0a07713e3f4be6c6a19bdc340fde3b664df72b9a4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- traxor (0.1.8)
4
+ traxor (0.1.9)
5
5
  activesupport
6
6
 
7
7
  GEM
@@ -11,7 +11,7 @@ module Traxor
11
11
  queue_duration = nil
12
12
  request_start_ms = env['HTTP_X_REQUEST_START']
13
13
  if request_start_ms
14
- queue_duration = env['traxor.rack.middleware.pre_middleware_start'].to_f - request_start_ms.to_f
14
+ queue_duration = (env['traxor.rack.middleware.pre_middleware_start'].to_f * 1_000) - request_start_ms.to_f
15
15
  end
16
16
  status, headers, body = @app.call(env)
17
17
  env['traxor.rack.middleware.post_middleware_end'] = Time.now.to_f
@@ -1,3 +1,3 @@
1
1
  module Traxor
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traxor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hansen