cassie 1.0.0.alpha.18 → 1.0.0.alpha.19
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 793beb028679961c4949afcd8b4a1e36f1c2d104
|
4
|
+
data.tar.gz: 4aadb0317093dec62a701c297c6551dff443f1fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fdaf055174717b5269e1b416a5d2ffea35f3a01994c466935d33406e4e6ec9ad22c6ca8d667e641a6d75aab550894f5857e5dd0f29543c90a10c6fb97c82500
|
7
|
+
data.tar.gz: 5fb1fc5bf8edd4859239408421271612e619a8474673f3c2d3e59d5fbc5be8691ada1529b647d868e7f58bb768a74456c5b134d1f78122200ea061da250f25bf
|
@@ -9,7 +9,7 @@ module Cassie::Queries::Logging
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def message
|
12
|
-
color "(#{duration.round(1)}ms) #{statement}"
|
12
|
+
color "(#{duration.round(1)}ms) #{statement} [#{consistency}]"
|
13
13
|
end
|
14
14
|
|
15
15
|
protected
|
@@ -29,6 +29,14 @@ module Cassie::Queries::Logging
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
|
+
def consistency
|
33
|
+
if execution_info
|
34
|
+
execution_info.consistency
|
35
|
+
else
|
36
|
+
"consistency level unknown"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
32
40
|
def traced?
|
33
41
|
execution_info && !!trace
|
34
42
|
end
|