sidekiq-rerouting 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/LICENSE.txt +21 -0
- data/README.md +87 -0
- data/Rakefile +10 -0
- data/lib/sidekiq/rerouting/client.rb +98 -0
- data/lib/sidekiq/rerouting/server_middleware.rb +34 -0
- data/lib/sidekiq/rerouting/version.rb +7 -0
- data/lib/sidekiq/rerouting.rb +13 -0
- data/sig/sidekiq/rerouting.rbs +6 -0
- metadata +75 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 82bc960f510cb4d9d214ee89111b292015a5d9c1f6871e27ed5df98c6733b733
|
4
|
+
data.tar.gz: 6075abebe883247848cfbba437251fd8fc17c0c0005c2ff85ed4889a8df4f526
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c7a77cbc8402503850d5083207e8f4789a4ad58b03e894c27fa1a5832f34dd3c2e188cdbb4712041aec7a51e994431c80d26eea7d6b210314a8180127d087576
|
7
|
+
data.tar.gz: d634d71d8616958ac051312145487d48cd8013d48419a9b89b20bbd817564b39c1ffa0a0d525290c12a8df0e3fd85abfcefd833fb9c360398bef649e086caa8c
|
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
10
|
+
identity and orientation.
|
11
|
+
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
13
|
+
diverse, inclusive, and healthy community.
|
14
|
+
|
15
|
+
## Our Standards
|
16
|
+
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
18
|
+
community include:
|
19
|
+
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
24
|
+
and learning from the experience
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
26
|
+
community
|
27
|
+
|
28
|
+
Examples of unacceptable behavior include:
|
29
|
+
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
31
|
+
any kind
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
33
|
+
* Public or private harassment
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
35
|
+
without their explicit permission
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
37
|
+
professional setting
|
38
|
+
|
39
|
+
## Enforcement Responsibilities
|
40
|
+
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
44
|
+
or harmful.
|
45
|
+
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
49
|
+
decisions when appropriate.
|
50
|
+
|
51
|
+
## Scope
|
52
|
+
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
54
|
+
an individual is officially representing the community in public spaces.
|
55
|
+
Examples of representing our community include using an official email address,
|
56
|
+
posting via an official social media account, or acting as an appointed
|
57
|
+
representative at an online or offline event.
|
58
|
+
|
59
|
+
## Enforcement
|
60
|
+
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
62
|
+
reported to the community leaders responsible for enforcement at
|
63
|
+
[INSERT CONTACT METHOD].
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
65
|
+
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
67
|
+
reporter of any incident.
|
68
|
+
|
69
|
+
## Enforcement Guidelines
|
70
|
+
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
73
|
+
|
74
|
+
### 1. Correction
|
75
|
+
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
77
|
+
unprofessional or unwelcome in the community.
|
78
|
+
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
82
|
+
|
83
|
+
### 2. Warning
|
84
|
+
|
85
|
+
**Community Impact**: A violation through a single incident or series of
|
86
|
+
actions.
|
87
|
+
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
92
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
93
|
+
ban.
|
94
|
+
|
95
|
+
### 3. Temporary Ban
|
96
|
+
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
98
|
+
sustained inappropriate behavior.
|
99
|
+
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
101
|
+
communication with the community for a specified period of time. No public or
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
104
|
+
Violating these terms may lead to a permanent ban.
|
105
|
+
|
106
|
+
### 4. Permanent Ban
|
107
|
+
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
111
|
+
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
113
|
+
community.
|
114
|
+
|
115
|
+
## Attribution
|
116
|
+
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
118
|
+
version 2.1, available at
|
119
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
120
|
+
|
121
|
+
Community Impact Guidelines were inspired by
|
122
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
123
|
+
|
124
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
125
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
126
|
+
[https://www.contributor-covenant.org/translations][translations].
|
127
|
+
|
128
|
+
[homepage]: https://www.contributor-covenant.org
|
129
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
130
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
131
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
132
|
+
[translations]: https://www.contributor-covenant.org/translations
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2025 Hazel Bachrach
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
# Sidekiq::Rerouting
|
2
|
+
|
3
|
+
[](https://github.com/hibachrach/sidekiq-disposal/actions)
|
4
|
+
|
5
|
+
A [Sidekiq][sidekiq] extension to set Sidekiq jobs to be rerouted to a different queue based on the job ID or job class.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
+
|
11
|
+
Install the gem and add to the application's Gemfile by executing:
|
12
|
+
|
13
|
+
```bash
|
14
|
+
bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
15
|
+
```
|
16
|
+
|
17
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
18
|
+
|
19
|
+
```bash
|
20
|
+
gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
21
|
+
```
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
From a console (Rails console, or the like) you need a `Sidekiq::Rerouting::Client` instance, which is used to `#reroute` a job, or job class to be disposed.
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
client = Sidekiq::Disposal::Client.new
|
29
|
+
```
|
30
|
+
|
31
|
+
### Marking to reroute
|
32
|
+
|
33
|
+
A job marked to be rerouted means it will be re-enqueued to the destination queue when it's picked up.
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
# Mark a specific Job to be rerouted by specifying its job ID
|
37
|
+
client.reroute("different_queue", :jid, some_job_id)
|
38
|
+
|
39
|
+
# Mark an entire job class to be rerouted
|
40
|
+
client.reroute("different_queue", :class, "SomeJobClass")
|
41
|
+
```
|
42
|
+
|
43
|
+
A job or job class can also be removed from rerouting for disposal via a corresponding API.
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
# Unmark a specific Job to be rerouted by specifying its job ID
|
47
|
+
client.remove_rerouting("different_queue", :jid, some_job_id)
|
48
|
+
|
49
|
+
# Unmark an entire job class to be rerouted
|
50
|
+
client.remove_rerouting("different_queue", :class, "SomeJobClass")
|
51
|
+
```
|
52
|
+
|
53
|
+
### Clearing all rerouting
|
54
|
+
|
55
|
+
Clearing all reroutes marks can be done in one fell swoop as well.
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
client.remove_rerouting_for_all
|
59
|
+
```
|
60
|
+
|
61
|
+
### Non-Reroutable Jobs
|
62
|
+
|
63
|
+
By default all Jobs are reroutable.
|
64
|
+
However, checking if a specific Job should be rerouted is not free; it requires round trip(s) to Redis.
|
65
|
+
Therefore, you might want to make some Jobs non-reroutable to avoid these extra round trips.
|
66
|
+
Or because there are some Jobs that simply should never be rerouted for… _reasons_.
|
67
|
+
|
68
|
+
|
69
|
+
## Development
|
70
|
+
|
71
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
72
|
+
|
73
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
74
|
+
|
75
|
+
## Contributing
|
76
|
+
|
77
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/hibachrach/sidekiq-rerouting. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/hibachrach/sidekiq-rerouting/blob/main/CODE_OF_CONDUCT.md).
|
78
|
+
|
79
|
+
## License
|
80
|
+
|
81
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
82
|
+
|
83
|
+
## Code of Conduct
|
84
|
+
|
85
|
+
Everyone interacting in the Sidekiq::Rerouting project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hibachrach/sidekiq-rerouting/blob/main/CODE_OF_CONDUCT.md).
|
86
|
+
|
87
|
+
[sidekiq]: https://sidekiq.org "Simple, efficient background jobs for Ruby."
|
data/Rakefile
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "sidekiq"
|
4
|
+
|
5
|
+
module Sidekiq
|
6
|
+
module Rerouting
|
7
|
+
# A client for marking enqueued jobs for rerouting. A rerouted job is one
|
8
|
+
# that is re-enqueued as is to a different destination queue.
|
9
|
+
#
|
10
|
+
# This task is accomplished with "markers": A job can be "marked" for
|
11
|
+
# rerouting. This means that a "marker" (a job id/jid or class name) can
|
12
|
+
# be formatted and then added to the relevant target set.
|
13
|
+
#
|
14
|
+
# When a worker picks up the job, the corresponding `ServerMiddleware` will
|
15
|
+
# then re-enqueue the job to the destination queue and exit early (skipping
|
16
|
+
# execution).
|
17
|
+
class Client
|
18
|
+
REDIS_TARGET_HASH = "sidekiq-rerouting:rerouting_targets"
|
19
|
+
|
20
|
+
# The types of markers that are allowed for identifying jobs.
|
21
|
+
# NOTE: The order of this array is important--jobs are matched in
|
22
|
+
# order, so `jid` takes priority over `class`
|
23
|
+
ALLOWED_MARKER_TYPES = %i[jid class].freeze
|
24
|
+
|
25
|
+
def initialize(sidekiq_api = ::Sidekiq)
|
26
|
+
@sidekiq_api = sidekiq_api
|
27
|
+
end
|
28
|
+
|
29
|
+
# @param target_queue [String] The queue to which the job should be rerouted
|
30
|
+
# @param marker_type [:jid, :class] The type of marker being used to identify the job
|
31
|
+
# @param string marker [String] The identifying value of the marker
|
32
|
+
def reroute(target_queue, marker_type, marker)
|
33
|
+
redis do |conn|
|
34
|
+
formatted = formatted_marker(marker_type, marker)
|
35
|
+
conn.hset(REDIS_TARGET_HASH, formatted, target_queue)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# @param marker_type [:jid, :class] The type of marker being used to identify the job
|
40
|
+
# @param string marker [String] The identifying value of the marker
|
41
|
+
def remove_rerouting(marker_type, marker)
|
42
|
+
redis do |conn|
|
43
|
+
conn.hdel(REDIS_TARGET_HASH, formatted_marker(marker_type, marker))
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def remove_rerouting_for_all
|
48
|
+
redis do |conn|
|
49
|
+
conn.del(REDIS_TARGET_HASH)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# @returns [Hash<String,String>] A hash of all markers and their destination queues
|
54
|
+
def rerouting_markers
|
55
|
+
redis do |conn|
|
56
|
+
conn.hgetall(REDIS_TARGET_HASH)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# @retruns [String, nil] The destination queue for the given job, or nil if not marked for rerouting
|
61
|
+
def rerouting_destination(job)
|
62
|
+
redis do |conn|
|
63
|
+
conn.hmget(REDIS_TARGET_HASH, formatted_markers(job))
|
64
|
+
end.find(&:itself)
|
65
|
+
end
|
66
|
+
|
67
|
+
private
|
68
|
+
|
69
|
+
def redis(&blk)
|
70
|
+
sidekiq_api.redis(&blk)
|
71
|
+
end
|
72
|
+
|
73
|
+
# @return [Array] A list of identifying formatted_markers/features which
|
74
|
+
# indicates a job is targeted for rerouting.
|
75
|
+
def formatted_markers(job)
|
76
|
+
ALLOWED_MARKER_TYPES.map do |marker_type|
|
77
|
+
formatted_marker_for_job(marker_type, job)
|
78
|
+
end.compact
|
79
|
+
end
|
80
|
+
|
81
|
+
# @returns the formatted marker that would be in Redis if this job has
|
82
|
+
# been targeted
|
83
|
+
def formatted_marker_for_job(marker_type, job)
|
84
|
+
formatted_marker(marker_type, job[marker_type.to_s])
|
85
|
+
end
|
86
|
+
|
87
|
+
# @returns the marker as it is stored in Redis
|
88
|
+
def formatted_marker(marker_type, marker)
|
89
|
+
return nil if marker.nil?
|
90
|
+
raise ArgumentError unless ALLOWED_MARKER_TYPES.include?(marker_type.to_sym)
|
91
|
+
|
92
|
+
"#{marker_type}:#{marker}"
|
93
|
+
end
|
94
|
+
|
95
|
+
attr_reader :sidekiq_api
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "sidekiq"
|
4
|
+
require_relative "../rerouting"
|
5
|
+
|
6
|
+
module Sidekiq
|
7
|
+
module Rerouting
|
8
|
+
class ServerMiddleware
|
9
|
+
include ::Sidekiq::ServerMiddleware
|
10
|
+
|
11
|
+
def initialize(client = Client.new, &blk)
|
12
|
+
@client = client
|
13
|
+
@on_reroute = blk
|
14
|
+
end
|
15
|
+
|
16
|
+
def call(job_instance, job, queue)
|
17
|
+
if job_instance && !job_instance.class.get_sidekiq_options.fetch("reroutable", true)
|
18
|
+
yield
|
19
|
+
elsif job_instance &&
|
20
|
+
(rerouting_destination = client.rerouting_destination(job)) &&
|
21
|
+
rerouting_destination != queue
|
22
|
+
job_instance.class.client_push(job.merge("queue" => rerouting_destination))
|
23
|
+
on_reroute&.call(job:, old_queue: queue, new_queue: rerouting_destination)
|
24
|
+
else
|
25
|
+
yield
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
private
|
30
|
+
|
31
|
+
attr_reader :client, :on_reroute
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "rerouting/version"
|
4
|
+
require_relative "rerouting/client"
|
5
|
+
require_relative "rerouting/server_middleware"
|
6
|
+
|
7
|
+
module Sidekiq
|
8
|
+
# Namespace for everything related to Sidekiq job rerouting: the processing
|
9
|
+
# of putting jobs' markers (i.e. identifying features) into a Redis hash so
|
10
|
+
# they can be "rerouted" (re-enqueued into a different queue during pickup).
|
11
|
+
module Rerouting
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sidekiq-rerouting
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Hazel Bachrach
|
8
|
+
- Steven Harman
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sidekiq
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '7.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '7.0'
|
28
|
+
description: |
|
29
|
+
A mechanism to reroute queued jobs to a different queue on pickup.
|
30
|
+
Can target jobs by job ID or job class.
|
31
|
+
email:
|
32
|
+
- hibachrach@dropbox.com
|
33
|
+
- steven@harmanly.com
|
34
|
+
executables: []
|
35
|
+
extensions: []
|
36
|
+
extra_rdoc_files: []
|
37
|
+
files:
|
38
|
+
- CHANGELOG.md
|
39
|
+
- CODE_OF_CONDUCT.md
|
40
|
+
- LICENSE.txt
|
41
|
+
- README.md
|
42
|
+
- Rakefile
|
43
|
+
- lib/sidekiq/rerouting.rb
|
44
|
+
- lib/sidekiq/rerouting/client.rb
|
45
|
+
- lib/sidekiq/rerouting/server_middleware.rb
|
46
|
+
- lib/sidekiq/rerouting/version.rb
|
47
|
+
- sig/sidekiq/rerouting.rbs
|
48
|
+
homepage: https://github.com/hibachrach/sidekiq-rerouting
|
49
|
+
licenses:
|
50
|
+
- MIT
|
51
|
+
metadata:
|
52
|
+
changelog_uri: https://github.com/hibachrach/sidekiq-rerouting/blob/main/CHANGELOG.md
|
53
|
+
documentation_uri: https://github.com/hibachrach/sidekiq-rerouting
|
54
|
+
homepage_uri: https://github.com/hibachrach/sidekiq-rerouting
|
55
|
+
source_code_uri: https://github.com/hibachrach/sidekiq-rerouting
|
56
|
+
post_install_message:
|
57
|
+
rdoc_options: []
|
58
|
+
require_paths:
|
59
|
+
- lib
|
60
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 3.2.0
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
requirements: []
|
71
|
+
rubygems_version: 3.4.19
|
72
|
+
signing_key:
|
73
|
+
specification_version: 4
|
74
|
+
summary: A mechanism to reroute queued jobs to a different queue on pickup
|
75
|
+
test_files: []
|