update for cucumber 1.3.1

This commit is contained in:
John Bintz 2013-05-06 17:25:24 -04:00
parent 7b22207fd0
commit baab37f444
2 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"] gem.require_paths = ["lib"]
gem.version = CukePack::VERSION gem.version = CukePack::VERSION
gem.add_dependency 'cucumber' gem.add_dependency 'cucumber', '>= 1.3.1'
gem.add_dependency 'cucumber-step_writer' gem.add_dependency 'cucumber-step_writer'
gem.add_dependency 'thor' gem.add_dependency 'thor'
gem.add_dependency 'flay' gem.add_dependency 'flay'

View File

@ -10,7 +10,12 @@ end
After do |s| After do |s|
if s.failed? || s.status == :pending if s.failed? || s.status == :pending
if ENV['INPROGRESS'] if ENV['INPROGRESS']
in_progress << s.feature.file_colon_line(s.line) begin
in_progress << s.feature.file_colon_line.gsub(/\:\d+/, ":" + s.line.to_s)
rescue => e
puts e.message
puts e.backtrace.join("\n")
end
end end
if ENV['RUN_INPROGRESS'] if ENV['RUN_INPROGRESS']