mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add new appraise task to verify Sidekiq job processing in Rails 4/5 dev/prod, #3241
This commit is contained in:
parent
f44fd10c77
commit
1e37c199e8
4 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,14 @@
|
|||
# Sidekiq Changes
|
||||
|
||||
4.2.7
|
||||
-----------
|
||||
|
||||
- Add new integration testing to verify code loading and job execution
|
||||
in development and production modes with Rails 4 and 5 [#3241]
|
||||
- Fix delayed extensions in development mode [#3227, DarthSim]
|
||||
- Use Worker's `retry` default if job payload does not have a retry
|
||||
attribute [#3234, mlarraz]
|
||||
|
||||
4.2.6
|
||||
-----------
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ module Sidekiq
|
|||
require 'sidekiq/rails'
|
||||
require File.expand_path("#{options[:require]}/config/environment.rb")
|
||||
::Rails.application.eager_load!
|
||||
elsif ::Rails::VERSION::MAJOR >= 4 && environment != 'development'
|
||||
elsif ::Rails::VERSION::MAJOR == 4
|
||||
# Painful contortions, see 1791 for discussion
|
||||
# No autoloading, we want to force eager load for everything.
|
||||
require File.expand_path("#{options[:require]}/config/application.rb")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
module Sidekiq
|
||||
VERSION = "4.2.6"
|
||||
VERSION = "4.2.7"
|
||||
end
|
||||
|
|
|
@ -54,3 +54,5 @@ task :appraise do
|
|||
end
|
||||
exit(failed ? -1 : 0)
|
||||
end
|
||||
|
||||
task :default => :appraise
|
||||
|
|
Loading…
Add table
Reference in a new issue