yabeda-http_requests 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yabeda/http_requests.rb +3 -1
- data/lib/yabeda/http_requests/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e88ed961b6fdf5bf867af58791f09cf2181e5eefdea74f85524a227bf76f9df
|
4
|
+
data.tar.gz: e0894e32de707a0ba65cc29b13f52aa7dd3559dfba4bda8e782761142a32c003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13ca203dbb2e22a66bab57b914cba89619d6e4c67b05acaf5c3b5f85838221701e1277eaab05c0b45277d1fb192c7c4cae32b6f0a7f0d4078d61ed40f46f4095
|
7
|
+
data.tar.gz: 31c2a0b712ecd8d17b49d7dd7cabd121cdba354e793daecd7b7241734a1ad65dfbf98da4e7dd0dfd064bc5aa9a8c7d3231b71a21f54294479c40ccce9b25e0cc
|
data/lib/yabeda/http_requests.rb
CHANGED
@@ -10,6 +10,7 @@ module Yabeda
|
|
10
10
|
module HttpRequests
|
11
11
|
SNIFFER_STORAGE_SIZE = 0
|
12
12
|
|
13
|
+
# rubocop: disable Metrics/BlockLength
|
13
14
|
Yabeda.configure do
|
14
15
|
group :http
|
15
16
|
|
@@ -37,10 +38,11 @@ module Yabeda
|
|
37
38
|
c.enabled = true
|
38
39
|
c.store = { capacity: SNIFFER_STORAGE_SIZE }
|
39
40
|
c.middleware do |chain|
|
40
|
-
chain.remove(Sniffer::Middleware::Logger)
|
41
|
+
chain.remove(::Sniffer::Middleware::Logger)
|
41
42
|
chain.add(Yabeda::HttpRequests::Sniffer)
|
42
43
|
end
|
43
44
|
end
|
44
45
|
end
|
46
|
+
# rubocop: enable Metrics/BlockLength
|
45
47
|
end
|
46
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yabeda-http_requests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Salahutdinov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sniffer
|