Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
4,749 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
Ruby version: | ||
Rails version: | ||
Sidekiq / Pro / Enterprise version(s): | ||
|
||
Please include your initializer, sidekiq.yml, and any error message with the full backtrace. | ||
|
||
If you are using an old version, have you checked the changelogs to see if your issue has been fixed in a later version? | ||
|
||
https://github.com/mperham/sidekiq/blob/main/Changes.md | ||
https://github.com/mperham/sidekiq/blob/main/Pro-Changes.md | ||
https://github.com/mperham/sidekiq/blob/main/Ent-Changes.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Contributing | ||
|
||
## Issues | ||
|
||
When opening an issue: | ||
|
||
* include the full **backtrace** with your error | ||
* include your Sidekiq initializer | ||
* list versions you are using: Ruby, Rails, Sidekiq, OS, etc. | ||
|
||
It's always better to include more info rather than less. | ||
|
||
## Code | ||
|
||
It's always best to open an issue before investing a lot of time into a | ||
fix or new functionality. Functionality must meet my design goals and | ||
vision for the project to be accepted; I would be happy to discuss how | ||
your idea can best fit into Sidekiq. | ||
|
||
### Local development setup | ||
|
||
You need Redis installed and a Ruby version that fulfills the requirements in | ||
`sidekiq.gemspec`. Then: | ||
|
||
``` | ||
bundle install | ||
``` | ||
|
||
And in order to run the tests and linter checks: | ||
|
||
``` | ||
bundle exec rake | ||
``` | ||
|
||
## Legal | ||
|
||
By submitting a Pull Request, you disavow any rights or claims to any changes | ||
submitted to the Sidekiq project and assign the copyright of | ||
those changes to Contributed Systems LLC. | ||
|
||
If you cannot or do not want to reassign those rights (your employment | ||
contract for your employer may not allow this), you should not submit a PR. | ||
Open an issue and someone else can do the work. | ||
|
||
This is a legal way of saying "If you submit a PR to us, that code becomes ours". | ||
99.9% of the time that's what you intend anyways; we hope it doesn't scare you | ||
away from contributing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: ["2.6", "2.7", "3.0", "3.1"] | ||
services: | ||
redis: | ||
image: redis | ||
options: >- | ||
--health-cmd "redis-cli ping" | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
ports: | ||
- 6379:6379 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, | ||
# change this to (see https://github.com/ruby/setup-ruby#versioning): | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true # 'bundle install' and cache gems | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Run tests | ||
run: bundle exec rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.rvmrc | ||
.ruby-version | ||
tags | ||
*.swp | ||
dump.rdb | ||
.rbx | ||
coverage/ | ||
vendor/ | ||
.bundle/ | ||
.sass-cache/ | ||
tmp/ | ||
pkg/*.gem | ||
.byebug_history | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ruby_version: 2.5.0 | ||
fix: true | ||
parallel: true | ||
ignore: | ||
- test/**/* | ||
- examples/**/* | ||
- myapp/**/* | ||
- 'lib/sidekiq.rb': | ||
- Lint/InheritException | ||
- 'lib/sidekiq/extensions/**/*': | ||
- Style/MissingRespondToMissing | ||
- 'lib/**/*': | ||
- Lint/RescueException | ||
- Security/YAMLLoad | ||
- Style/GlobalVars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Auto generated files with errors to ignore. | ||
# Remove from this list as you refactor files. | ||
--- | ||
ignore: | ||
- lib/sidekiq/delay_extensions/generic_proxy.rb: | ||
- Style/MissingRespondToMissing |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.