module RSpeed::Runner
Public Instance Methods
run(shell)
click to toggle source
# File lib/rspeed/runner.rb, line 7 def run(shell) if RSpeed::Redis.result? || RSpeed::Splitter.first_pipe? return shell.call(['bundle exec rspec', RSpeed::Splitter.pipe_files].compact.join(' ')) end RSpeed::Logger.log(self, __method__, 'Skipped! Only Pipe 1 can warm.') RSpeed::Observer.after_suite end