mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
29dca70e24
* Initial work on Sidekiq::Config * Initial work on Sidekiq::Config * reduce dependencies in deploy marks * bare sidekiq and webapp * Modify runtime to work with Capsules * Cleanup * Rename test files to remove test_ prefix * Update test suite and standard rules to be more compliant * Move constant definition outside code, per standard formatting * Loads of changes for introduction of Capsules * Remove Redis adapter abstraction * update capsule overview * Ensure Sidekiq.redis uses the correct pool for jobs running within a Capsule * Use default_capsule for safety * Slow down the beat to halve its Redis overhead * move config fixtures into cfg/ * Add capsule middleware test * use accessor
19 lines
605 B
Ruby
19 lines
605 B
Ruby
require "bundler/gem_tasks"
|
|
require "rake/testtask"
|
|
require "standard/rake"
|
|
|
|
# If you want to generate API docs:
|
|
# gem install yard && yard && open doc/index.html
|
|
# YARD readme: https://rubydoc.info/gems/yard/file/README.md
|
|
# YARD tags: https://www.rubydoc.info/gems/yard/file/docs/Tags.md
|
|
# YARD cheatsheet: https://gist.github.com/phansch/db18a595d2f5f1ef16646af72fe1fb0e
|
|
|
|
# To check code coverage, include simplecov in the Gemfile and
|
|
# run `COVERAGE=1 bundle exec rake`
|
|
|
|
Rake::TestTask.new(:test) do |test|
|
|
test.warning = true
|
|
test.pattern = "test/**/*.rb"
|
|
end
|
|
|
|
task default: [:standard, :test]
|