nexus_semantic_logger 1.12.11 → 1.12.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ffe47db66b655b68cdb1aec2623c866b76275c470a4893269e9693a4352e9c2
|
4
|
+
data.tar.gz: c2de8bb467f2c738be827dc6005539a37411f8dff91d251ac1ca98e25260886c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af0e05963b659da545f9b8ad0420ee72aa6bc04b16cad3727a6d0f7ca80ee2d7dc1da04221815c24995afeddb828e9b3624d655b68e77a6dc8b287a5c6c6e39d
|
7
|
+
data.tar.gz: 562af249df1f57f678d752a4c9eeddba91dfb4e1676a90776a58f31c329227da6d6db570698e54a902043d92531b34b7cebf5d0519ed1ed24245e44298af9ba1
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# noinspection RubyClassVariableUsageInspection
|
4
4
|
module NexusSemanticLogger
|
5
5
|
class ResponseCodeStatsMiddleware
|
6
|
+
@@code_metrics = Hash.new(0)
|
6
7
|
def initialize(app)
|
7
8
|
@app = app
|
8
|
-
@@code_metrics = {}
|
9
9
|
end
|
10
10
|
|
11
11
|
def call(env)
|
@@ -19,7 +19,7 @@ module NexusSemanticLogger
|
|
19
19
|
|
20
20
|
def self.read_and_reset_metrics
|
21
21
|
metrics = @@code_metrics.dup
|
22
|
-
@@code_metrics.
|
22
|
+
@@code_metrics = Hash.new(0)
|
23
23
|
metrics
|
24
24
|
end
|
25
25
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
module NexusSemanticLogger
|
3
|
-
# Leave this as 1.12.
|
4
|
-
VERSION = '1.12.
|
3
|
+
# Leave this as 1.12.12 in order for CI process to replace with the tagged version.
|
4
|
+
VERSION = '1.12.12'
|
5
5
|
end
|