Sha256: b8b1ef9014a310384270de004f9b6aa3e7fc4e69ae665c6e6c5d7a93fabf81ef

Contents?: true

Size: 325 Bytes

Versions: 63

Compression:

Stored size: 325 Bytes

Contents

require 'sidekiq'

require_relative 'jobs/execute_test_run'
require_relative 'jobs/resume_test_run'

module Inferno
  module Jobs
    def self.perform(job_klass, *params)
      if Application['async_jobs']
        job_klass.perform_async(*params)
      else
        job_klass.new.perform(*params)
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
inferno_core-0.3.0.rc1 lib/inferno/jobs.rb
inferno_core-0.2.0 lib/inferno/jobs.rb
inferno_core-0.2.0.rc4 lib/inferno/jobs.rb
inferno_core-0.2.0.rc3 lib/inferno/jobs.rb
inferno_core-0.2.0.rc2 lib/inferno/jobs.rb
inferno_core-0.2.0.rc1 lib/inferno/jobs.rb
inferno_core-0.1.4.pre lib/inferno/jobs.rb
inferno_core-0.1.3 lib/inferno/jobs.rb
inferno_core-0.1.3.pre2 lib/inferno/jobs.rb
inferno_core-0.1.3.pre lib/inferno/jobs.rb
inferno_core-0.1.2 lib/inferno/jobs.rb
inferno_core-0.1.2.pre lib/inferno/jobs.rb
inferno_core-0.1.1 lib/inferno/jobs.rb
inferno_core-0.1.1.pre lib/inferno/jobs.rb
inferno_core-0.1.0 lib/inferno/jobs.rb
inferno_core-0.1.0.pre lib/inferno/jobs.rb
inferno_core-0.0.8 lib/inferno/jobs.rb
inferno_core-0.0.8.pre2 lib/inferno/jobs.rb
inferno_core-0.0.8.pre lib/inferno/jobs.rb
inferno_core-0.0.7 lib/inferno/jobs.rb