traxor 0.1.6 → 0.1.7

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: cd06e9083e178d70db9715b43c644c7998ced8cf5075390fe828cf30dd0d0c07
4
- data.tar.gz: d8bff06fa80bcf5264e2c164ddd4be7e2922792c396bfb7e768a7b449fe3c3f9
3
+ metadata.gz: f9bb3be3cd714c31348f830f326f0997cf53f71531c2b08c879d4b8d0cd201ec
4
+ data.tar.gz: 5e329d5acbd69b749364f87e75d19b475a681a28657772bd561cd7f3d3309aa8
5
5
  SHA512:
6
- metadata.gz: fec53f7ee1313ca8c3a78d4f853ed99f904e8d2391d85a8073da0a7848ac7d3732be19a5c7a0fcd58b1542b1c4bc59cc01eed5ef702d3efc82251ba5770da129
7
- data.tar.gz: bc0206179ad05e3f2e2f0a93aa3da073f54908c5b94714ec08cdd201e43ab64ffe0a0c00c75800058465d11a5c309cd7af2f30d020495be91c01396ad79a3af2
6
+ metadata.gz: 32d3d42c5c360dfd20e85949b35d377594b48674ce561e13af0d8a0e2a341ec7f79bf98ca17aa0b056b5d258d74ab8c99c789776eb82bba4882bf1d1f543a575
7
+ data.tar.gz: 20caa73408681bf603f7bdd35d5c6e234c3b0d0d5756f730237a2ee8a0f4700ae0cff5e181915453714d94e606f1fc5425b13358b4ae4ca74e42be0da58e5221
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- traxor (0.1.6)
4
+ traxor (0.1.7)
5
5
  activesupport
6
6
 
7
7
  GEM
@@ -11,8 +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
- request_start = Time.at(request_start_ms.to_f / 1_000)
15
- queue_duration = request_start.to_f - env['traxor.rack.middleware.pre_middleware_start'].to_f
14
+ queue_duration = request_start_ms.to_f - env['traxor.rack.middleware.pre_middleware_start'].to_f
16
15
  end
17
16
  status, headers, body = @app.call(env)
18
17
  env['traxor.rack.middleware.post_middleware_end'] = Time.now.to_f
@@ -1,3 +1,3 @@
1
1
  module Traxor
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hansen