lib/capistrano/sidekiq.rb in capistrano-sidekiq-0.20.0 vs lib/capistrano/sidekiq.rb in capistrano-sidekiq-1.0.0
- old
+ new
@@ -1,5 +2 @@
-if Gem::Specification.find_by_name('capistrano').version >= Gem::Version.new('3.0.0')
- load File.expand_path('../tasks/sidekiq.rake', __FILE__)
-else
- require_relative 'tasks/capistrano2'
-end
+load File.expand_path('../tasks/sidekiq.rake', __FILE__)