Sha256: 8433a5f6fa9e274ae4815303c14e2201e73836a147040f2b7cec7c37456c4e63

Contents?: true

Size: 195 Bytes

Versions: 15

Compression:

Stored size: 195 Bytes

Contents

require 'que'

Que::Job.class_eval do
  class << self; alias_method :original_enqueue, :enqueue; end
  def self.enqueue(*args)
    args.pop if args.last.is_a?(Hash)
    self.run(*args)
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
activejob-retry-0.6.3 test/support/que/inline.rb
activejob-retry-0.6.2 test/support/que/inline.rb
activejob-retry-0.6.1 test/support/que/inline.rb
activejob-retry-0.6.0 test/support/que/inline.rb
activejob-lock-0.0.2 rails/activejob/test/support/que/inline.rb
activejob-retry-0.5.1 test/support/que/inline.rb
activejob-retry-0.5.0 test/support/que/inline.rb
activejob-retry-0.4.2 test/support/que/inline.rb
activejob-retry-0.4.1 test/support/que/inline.rb
activejob-lock-0.0.1 rails/activejob/test/support/que/inline.rb
activejob-retry-0.4.0 test/support/que/inline.rb
activejob-retry-0.3.1 test/support/que/inline.rb
activejob-retry-0.3.0 test/support/que/inline.rb
activejob-retry-0.2.0 test/support/que/inline.rb
activejob-retry-0.1.1 test/support/que/inline.rb