huyegger 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/huyegger/formatter.rb +1 -1
- data/lib/huyegger/logger.rb +1 -1
- data/lib/huyegger/middlewares/rails.rb +1 -1
- data/lib/huyegger/middlewares/sidekiq.rb +1 -1
- data/lib/huyegger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 940d2c432f72abaf483dd9be160b4c30b4c823fd
|
4
|
+
data.tar.gz: aa1c16599713ff967ac1c08a9606bb87696ff2c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 888df5650b47e373ffc8760697f4b0bde681849fac9000192b465bfe6188d5cdad6dd5d7b0ca28e144026a936b7b7bae050d6f72844cc3818e194bc89ada8646
|
7
|
+
data.tar.gz: 90b64146d62855e7449c60a51d907183653d6435f4c26136efdf5fa8c1fe5a55e042e426740e0334cc960db1914608a7d0f4996613c0923600a27df5e505df6a
|
data/lib/huyegger/formatter.rb
CHANGED
data/lib/huyegger/logger.rb
CHANGED
@@ -8,7 +8,7 @@ module Huyegger
|
|
8
8
|
def call(env)
|
9
9
|
@app.call(env)
|
10
10
|
ensure
|
11
|
-
::Rails.logger.
|
11
|
+
::Rails.logger.clear_context! if defined?(Huyegger) && ::Rails.logger.is_a?(Huyegger::Logger)
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
@@ -2,7 +2,7 @@ module Huyegger
|
|
2
2
|
module Middlewares
|
3
3
|
class Sidekiq
|
4
4
|
def call(worker, msg, queue)
|
5
|
-
::Rails.logger.
|
5
|
+
::Rails.logger.clear_context! if defined?(Huyegger) && ::Rails.logger.is_a?(Huyegger::Logger)
|
6
6
|
yield
|
7
7
|
end
|
8
8
|
end
|
data/lib/huyegger/version.rb
CHANGED