rdo 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rdo/colored_logger.rb +1 -1
- data/lib/rdo/connection.rb +1 -1
- data/lib/rdo/version.rb +1 -1
- metadata +1 -1
data/lib/rdo/colored_logger.rb
CHANGED
@@ -33,7 +33,7 @@ module RDO
|
|
33
33
|
|
34
34
|
def format_sql(sql)
|
35
35
|
a, b = @colors.reverse!
|
36
|
-
"\033[#{a}mSQL\033[0m %s" % sql.sub(/\A(\(\d+\.\d+\))(.*)\Z
|
36
|
+
"\033[#{a}mSQL\033[0m %s" % sql.sub(/\A(\(\d+\.\d+\))(.*)\Z/m, "\\1 \033[#{b}m~\033[0m \\2")
|
37
37
|
end
|
38
38
|
|
39
39
|
def format_err(msg)
|
data/lib/rdo/connection.rb
CHANGED
data/lib/rdo/version.rb
CHANGED