yabeda-latency 0.1.6 → 1.0.0

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: 17004f75788a8617c66c902ac6960642f6602c6b86c1669bc5d60977144fefaf
4
- data.tar.gz: 86d188ae431880ef8c669513c24ae4ca2b468901fa5ea8af349b66c1b5bbba76
3
+ metadata.gz: 46a9033d5d31b43832cbe2a31fb0c9cb7ecc902ad3491b395bfdcdc5236992f1
4
+ data.tar.gz: cf505472b9c141f73b2a62f37e212e22574ece21878c9645fdf48a0fdb8ee436
5
5
  SHA512:
6
- metadata.gz: 9effa468a27201895c214a411e9ce27e9886d7b7381784cf695a9a1d429d1dbb1d70e8a287dce39c218acfb7c35a81a253bcb7b2f0bcd8642160948603edc7b3
7
- data.tar.gz: 874332278744061281ec5206f710eec5884998c1fa4e262b929f938fab47255296db0fa6944f41010335fc735dccab741d2db79ef1d498abd75a488e6f5e3aac
6
+ metadata.gz: 9f7c53fda1382f3e19cd9f9d4680e6686759e399bec66a5135f6434593df6894a5ddd54b4a20b49bff16fa18830e30e31a4a73f3f8efc9ba4daf1529fa34e318
7
+ data.tar.gz: 92e3d71a789e64944846d9ae217fd1891c7f5c888e0ccc63c13b18d936dc9013eda3f795ae8bca61dcf1d9d4c8bf0c2215ad452cee3b77900d8850b646f73a5c
@@ -23,6 +23,8 @@ module Yabeda
23
23
  end
24
24
 
25
25
  def call(env) # :nodoc:
26
+ return @app.call(env) if env['rack.warming_up']
27
+
26
28
  now = Time.now
27
29
  observe(env, now)
28
30
  @app.call(env)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yabeda
4
4
  module Latency
5
- VERSION = '0.1.6'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yabeda-latency
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-16 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yabeda
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.0.3
70
+ rubygems_version: 3.1.2
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Collects metrics to monitor latency of HTTP requests