traxor 0.1.7 → 0.1.8

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: f9bb3be3cd714c31348f830f326f0997cf53f71531c2b08c879d4b8d0cd201ec
4
- data.tar.gz: 5e329d5acbd69b749364f87e75d19b475a681a28657772bd561cd7f3d3309aa8
3
+ metadata.gz: 87d4f6420c14a5fcb008191ec8f609220c70ed5def24ba279cb1aee67b9f326d
4
+ data.tar.gz: 7d42f4e54f412ebca8cd09584bce523460b5994ccc7cf15a30ea0bf8b7e60fde
5
5
  SHA512:
6
- metadata.gz: 32d3d42c5c360dfd20e85949b35d377594b48674ce561e13af0d8a0e2a341ec7f79bf98ca17aa0b056b5d258d74ab8c99c789776eb82bba4882bf1d1f543a575
7
- data.tar.gz: 20caa73408681bf603f7bdd35d5c6e234c3b0d0d5756f730237a2ee8a0f4700ae0cff5e181915453714d94e606f1fc5425b13358b4ae4ca74e42be0da58e5221
6
+ metadata.gz: a2ede9f4e26598be1344d6d2ccd1e95c6c176adbb491ee66ca71e60b18117cb4e1bc038caeb02b1514032d246f24c6c5e6be06e57622e0e7136f93c114642c7d
7
+ data.tar.gz: 02fb0957a6f46a8889fb6ac02f5520c8c1e3609f1f3c7185973a819f869daba5205b679db26806219484f9a70c0c4d96850b9fb77f977c60bf85158183a551d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- traxor (0.1.7)
4
+ traxor (0.1.8)
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 = request_start_ms.to_f - env['traxor.rack.middleware.pre_middleware_start'].to_f
14
+ queue_duration = env['traxor.rack.middleware.pre_middleware_start'].to_f - 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.7'.freeze
2
+ VERSION = '0.1.8'.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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hansen