Sha256: 353945513c56312132e29a5fb65fffd7563c6ea278c75bc77185d93ea662ccab
Contents?: true
Size: 914 Bytes
Versions: 12
Compression:
Stored size: 914 Bytes
Contents
module HydraExtension module RunnerListener class RunnerBeginTest < Hydra::RunnerListener::Abstract # Fired by the runner just before requesting the first file def runner_begin( runner ) FileUtils.touch File.expand_path(File.join(Dir.consistent_tmpdir, 'alternate_hydra_test.txt')) end end class RunnerEndTest < Hydra::RunnerListener::Abstract # Fired by the runner just before requesting the first file def runner_begin( runner ) FileUtils.touch File.expand_path(File.join(Dir.consistent_tmpdir, 'runner_began_flag')) #used to know when the runner is ready end # Fired by the runner just after stoping def runner_end( runner ) # NOTE: do not use trace here #runner.trace "Ending runner" FileUtils.touch File.expand_path(File.join(Dir.consistent_tmpdir, 'alternate_hydra_test.txt')) end end end end
Version data entries
12 entries across 12 versions & 5 rubygems