Sha256: 64451e6e5b5d7cc7462f8a9ca01969465b8f168c134da01a9a819732e5c50aa6

Contents?: true

Size: 236 Bytes

Versions: 76

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module ActiveJob
  module Timezones #:nodoc:
    extend ActiveSupport::Concern

    included do
      around_perform do |job, block|
        Time.use_zone(job.timezone, &block)
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 7 rubygems

Version Path
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/activejob-6.0.2.1/lib/active_job/timezones.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/activejob-6.0.2.1/lib/active_job/timezones.rb
activejob-6.0.2.1 lib/active_job/timezones.rb
activejob-6.0.2 lib/active_job/timezones.rb
activejob-6.0.2.rc2 lib/active_job/timezones.rb
activejob-6.0.2.rc1 lib/active_job/timezones.rb
activejob-6.0.1 lib/active_job/timezones.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/activejob-6.0.0/lib/active_job/timezones.rb
activejob-6.0.1.rc1 lib/active_job/timezones.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/activejob-6.0.0/lib/active_job/timezones.rb
activejob-6.0.0 lib/active_job/timezones.rb
activejob-6.0.0.rc2 lib/active_job/timezones.rb
activejob-6.0.0.rc1 lib/active_job/timezones.rb
activejob-6.0.0.beta3 lib/active_job/timezones.rb
activejob-6.0.0.beta2 lib/active_job/timezones.rb
activejob-6.0.0.beta1 lib/active_job/timezones.rb