rdo 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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/, "\\1 \033[#{b}m~\033[0m \\2")
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)
@@ -101,7 +101,7 @@ module RDO
101
101
  rs.info[:execution_time] ||= Time.now - t
102
102
  if logger.debug?
103
103
  logger.debug(
104
- "(%.6f) %s%s" % [
104
+ "(%.6f) %s %s" % [
105
105
  rs.execution_time,
106
106
  statement,
107
107
  ("<Bind: #{bind_values.inspect}>" unless bind_values.empty?)
@@ -6,5 +6,5 @@
6
6
  ##
7
7
 
8
8
  module RDO
9
- VERSION = "0.1.4"
9
+ VERSION = "0.1.5"
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: