1
0
Fork 0
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:
Mike Perham 2016-11-22 09:32:36 -08:00
parent f44fd10c77
commit 1e37c199e8
4 changed files with 13 additions and 2 deletions

View file

@ -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
-----------

View file

@ -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")

View file

@ -1,4 +1,4 @@
# frozen_string_literal: true
module Sidekiq
VERSION = "4.2.6"
VERSION = "4.2.7"
end

View file

@ -54,3 +54,5 @@ task :appraise do
end
exit(failed ? -1 : 0)
end
task :default => :appraise