Sha256: ca2674fab3a89073a3a61ec0135403944cf67f2fbacde6dcb3b4ea24e43331fd

Contents?: true

Size: 284 Bytes

Versions: 14

Compression:

Stored size: 284 Bytes

Contents

require 'resque/failure/redis'
module Resque
  module Failure
    class Redis
      def filter_backtrace(backtrace)
        index = backtrace.index { |item| item.include?('/lib/resque_manager/overrides/resque/job.rb') }
        backtrace.first(index.to_i)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
resque_manager-3.3.13 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.12 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.11 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.10 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.9 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.8 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.7 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.6 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.5 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.4 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.3 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.2 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.1 lib/resque_manager/overrides/resque/failure/redis.rb
resque_manager-3.3.0 lib/resque_manager/overrides/resque/failure/redis.rb