civo-logger 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/civo/logger/middleware.rb +2 -2
- data/lib/civo/logger/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: 7a64e20d713268a7f02f3b6bbcac6c6822b4cb51
|
4
|
+
data.tar.gz: 0cdf1e193b72bb536808b326fbc5879ca81ff8d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d38dd81bd363aec3f783605f26a3094354ba593badd96091ca7c58a06df6e43f34efafae4a7e51bfb93f2614e85a57a64ece7fe6c7a9a8e782c31374f8be2150
|
7
|
+
data.tar.gz: 5478c58eb1bb2aa45cde2555919766063e14c1e96ef7502423d3fb1c2a3403ff866da8f7f27dac9c2f452d2d8b5a718c403b6eb89e3147f88dd8628a8556fc88
|
@@ -96,7 +96,7 @@ module Civo
|
|
96
96
|
|
97
97
|
def start_worker(name)
|
98
98
|
@name = name
|
99
|
-
@key = Time.zone.now.strftime("%Y%m%d-%H%
|
99
|
+
@key = Time.zone.now.strftime("%Y%m%d-%H%M%S")+"-#{name}"
|
100
100
|
@lines = []
|
101
101
|
@start = Time.now.to_f
|
102
102
|
@recording = true
|
@@ -112,7 +112,7 @@ module Civo
|
|
112
112
|
|
113
113
|
def request_key(request)
|
114
114
|
token = rand(8999) + 1000
|
115
|
-
@key = Time.zone.now.strftime("%Y%m%d-%H%
|
115
|
+
@key = Time.zone.now.strftime("%Y%m%d-%H%M%S") +
|
116
116
|
"-#{token}-#{request.request_method}-#{request.fullpath.gsub("/", "_")}".strip
|
117
117
|
end
|
118
118
|
|
data/lib/civo/logger/version.rb
CHANGED