├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── activejob-cancel.gemspec ├── bin ├── console └── setup ├── gemfiles ├── active_job_42.gemfile ├── active_job_50.gemfile ├── active_job_51.gemfile ├── active_job_52.gemfile ├── active_job_60.gemfile ├── active_job_61.gemfile ├── active_job_70.gemfile └── active_job_71.gemfile ├── lib ├── active_job │ ├── cancel.rb │ └── cancel │ │ ├── queue_adapters.rb │ │ ├── queue_adapters │ │ ├── delayed_job_adapter.rb │ │ ├── resque_adapter.rb │ │ ├── sidekiq_adapter.rb │ │ ├── test_adapter.rb │ │ └── test_adapter │ │ │ ├── rails.rb │ │ │ └── rails_4.rb │ │ └── version.rb └── activejob │ └── cancel.rb └── test ├── activejob └── cancel_test.rb ├── jobs ├── default_queue_name.rb ├── fail_job.rb └── hello_job.rb ├── queue_adapters ├── delayed_job_adapter_test.rb ├── resque_adapter_test.rb ├── sidekiq_adapter_test.rb └── test_adapter_test.rb ├── support ├── delayed_job │ └── test_helper.rb └── sidekiq │ ├── test_helper.rb │ └── workers │ └── not_an_active_job_worker.rb └── test_helper.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/Rakefile -------------------------------------------------------------------------------- /activejob-cancel.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/activejob-cancel.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/bin/setup -------------------------------------------------------------------------------- /gemfiles/active_job_42.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_42.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_50.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_50.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_51.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_51.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_52.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_52.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_60.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_60.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_61.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_61.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_70.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_70.gemfile -------------------------------------------------------------------------------- /gemfiles/active_job_71.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/gemfiles/active_job_71.gemfile -------------------------------------------------------------------------------- /lib/active_job/cancel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters/delayed_job_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters/delayed_job_adapter.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters/resque_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters/resque_adapter.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters/sidekiq_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters/sidekiq_adapter.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters/test_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters/test_adapter.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters/test_adapter/rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters/test_adapter/rails.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/queue_adapters/test_adapter/rails_4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/queue_adapters/test_adapter/rails_4.rb -------------------------------------------------------------------------------- /lib/active_job/cancel/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/lib/active_job/cancel/version.rb -------------------------------------------------------------------------------- /lib/activejob/cancel.rb: -------------------------------------------------------------------------------- 1 | require "active_job/cancel" 2 | -------------------------------------------------------------------------------- /test/activejob/cancel_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/activejob/cancel_test.rb -------------------------------------------------------------------------------- /test/jobs/default_queue_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/jobs/default_queue_name.rb -------------------------------------------------------------------------------- /test/jobs/fail_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/jobs/fail_job.rb -------------------------------------------------------------------------------- /test/jobs/hello_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/jobs/hello_job.rb -------------------------------------------------------------------------------- /test/queue_adapters/delayed_job_adapter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/queue_adapters/delayed_job_adapter_test.rb -------------------------------------------------------------------------------- /test/queue_adapters/resque_adapter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/queue_adapters/resque_adapter_test.rb -------------------------------------------------------------------------------- /test/queue_adapters/sidekiq_adapter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/queue_adapters/sidekiq_adapter_test.rb -------------------------------------------------------------------------------- /test/queue_adapters/test_adapter_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/queue_adapters/test_adapter_test.rb -------------------------------------------------------------------------------- /test/support/delayed_job/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/support/delayed_job/test_helper.rb -------------------------------------------------------------------------------- /test/support/sidekiq/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/support/sidekiq/test_helper.rb -------------------------------------------------------------------------------- /test/support/sidekiq/workers/not_an_active_job_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/support/sidekiq/workers/not_an_active_job_worker.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/y-yagi/activejob-cancel/HEAD/test/test_helper.rb --------------------------------------------------------------------------------