lib/rumble.rb in rumble-0.3.3 vs lib/rumble.rb in rumble-0.3.4

- old
+ new

@@ -49,10 +49,10 @@ raise '--csv is required' unless @opts[:csv] emails = CSV.read(@opts[:csv]) end total = 0 sent = [] - ignore = !@opts[:resume].nil? + ignore = !@opts[:resume].nil? && !@opts[:test] from = @opts[:from].strip puts "Sending #{emails.length} email(s) as #{from}" domain = from.strip.gsub(/^.+@|>$/) emails.each do |array| first = array[@opts[:col0].to_i]