cassie 1.0.0.beta.10 → 1.0.0.beta.11
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: b8e077ed0fa7db6dae9a37613a8f3290a3e4e074
|
4
|
+
data.tar.gz: 15ecb6c583c01e0bb5db3d611b3aee470d8d7603
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e15c9fb2c1ebe4a893626206a2d21f7ca504f7d89e98d1106b172ff5c9f9ebd241266f7636b2d664f7311fe42895c4c79b000950a5583f3250323280751175c
|
7
|
+
data.tar.gz: 161d846bef7262c6e956dda2ba02f17ac75e79e4745deb962967014dbe22dfc38537c3132e56b1354f87049ab66dbc226d751039511bfcf721ffa0214c64bbfe
|
@@ -15,7 +15,7 @@ module Cassie::Queries::Logging
|
|
15
15
|
|
16
16
|
module Inspector
|
17
17
|
def inspect
|
18
|
-
indent(1, "(#{fetch(:duration).round(1)}ms) #{fetch(:count)} #{'resource'.pluralize(fetch(:count))} built from query result")
|
18
|
+
indent(1, color("(#{fetch(:duration).round(1)}ms) #{fetch(:count)} #{'resource'.pluralize(fetch(:count))} built from query result"))
|
19
19
|
end
|
20
20
|
|
21
21
|
def to_s
|
@@ -27,6 +27,10 @@ module Cassie::Queries::Logging
|
|
27
27
|
def indent(count=1, str)
|
28
28
|
" " * count + str
|
29
29
|
end
|
30
|
+
|
31
|
+
def color(message)
|
32
|
+
"\e[1m\e[34m#{message}\e[0m\e[22m"
|
33
|
+
end
|
30
34
|
end
|
31
35
|
end
|
32
36
|
end
|