Sha256: 9936755bda09143b5ae93125e88e4efe23b6a3d459bdad5c596ed8da75a2aa12
Contents?: true
Size: 864 Bytes
Versions: 65
Compression:
Stored size: 864 Bytes
Contents
#!/usr/local/bin/ruby STDOUT.sync = true errors_filename = "./log/err.out" err_out = File.new(errors_filename, "a") ARGF.each_line do |l| error_section = false if error_section error_section = false if l =~ /^\s*$/ elsif l =~ /^\s*\d+\)\s*$/ error_section = true elsif l =~ /^\*{40,}$/ || l =~ /^be removed from a future version of RSpec\.$/ || l =~ /^\* simple_matcher is deprecated\.$/ || l =~ /^\* please use Matcher DSL \(http\:\/\/rspec\.rubyforge\.org\/rspec\/1\.3.0\/classes\/Spec\/Matchers\.html\) instead\.$/ err_out << l if err_out next elsif l =~ /^([\.\[\]F\*\s]*)((\/| \(called from create_or_update_thumbnail|DEPRECATION WARN|The \{\{key\}\} interpolation syntax in|from \/).*\n?$)/ STDOUT << Regexp.last_match(1) err_out << Regexp.last_match(2) if err_out next end STDOUT << l end
Version data entries
65 entries across 65 versions & 2 rubygems