lib/each_sql.rb in each_sql-0.2.3 vs lib/each_sql.rb in each_sql-0.2.4

- old
+ new

@@ -35,10 +35,10 @@ ], :callbacks => {}, :ignore => [], :replace => {}, # Let's assume we don't change delimiters within usual sql scripts - :strip_delimiter => lambda { |obj, stmt| stmt.chomp ';' } + :strip_delimiter => lambda { |obj, stmt| stmt.sub(/\A;+/, '').sub(/;+\Z/, '') } }, :mysql => { :delimiter => /;+|delimiter\s+\S+/i, :blocks => {