sidekiq-belt 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edb3a875c6a19a21d87d63f32b116f44fdba5c55dcb62577a94e6b1727449d0b
4
- data.tar.gz: de58057b262d16db28fd45ff42f888361e9692158d1c906ffa3566dc38081c01
3
+ metadata.gz: c5172fbb6524305c54365270d2cbd464351a3e7ff990da9b08cb5a9a32f7f40a
4
+ data.tar.gz: f4c42f4fe4e5e3b7ddb103e03612a7fade9b55885f7fb094d28bc33dca59dd50
5
5
  SHA512:
6
- metadata.gz: 25897766813a45a51454e7b43a4737e9acb223d2e89490f657a02afe90f295e9edff9b240021ab8e3aaa978064bbde966d4713ed1c1385c5d4274f51c4cce64c
7
- data.tar.gz: 1da39ce3c83f28daac2f8c1b598ac8c7c8c587e6d6dfb08ba3258deceacc96b65772cdde00ca9eb3440fc486a298f9e62152b9d67e5716f0f746a63ea25337ed
6
+ metadata.gz: d9ce134a5e9962330c6086cbdddaeaca5109fea7545ad44c144cd8d7590f43ce5a3ecf93a75076f6009f7af97038ccc3ca2205f8c72802ca946588fb16c98b62
7
+ data.tar.gz: c282c58813f4a0a1a5cef2a60dacd0b47082889a2a7aaaefa6ad5be9f6ec7b018f9e0dff415a5a7ec48ea75312bb5d7fc12ecf2617c68bd773a5ba0a73d8b426
data/.rubocop.yml CHANGED
@@ -3,7 +3,7 @@ require:
3
3
  - rubocop-rspec
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.6
6
+ TargetRubyVersion: 3
7
7
  NewCops: enable
8
8
 
9
9
  Style/StringLiterals:
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
  ## [Unreleased]
2
+ ## [2.0.0] - 2024-09-27
3
+ - Support for Sidekiq v8
4
+
5
+ ## [1.0.0] - 2024-11-19
6
+ - Force run batch callback
7
+
2
8
  ## [0.3.6] - 2024-09-27
3
9
 
4
10
  - Added force kill to instances
data/CODE_OF_CONDUCT.md CHANGED
@@ -2,83 +2,131 @@
2
2
 
3
3
  ## Our Pledge
4
4
 
5
- We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
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.
6
11
 
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
8
14
 
9
15
  ## Our Standards
10
16
 
11
- Examples of behavior that contributes to a positive environment for our community include:
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
12
19
 
13
20
  * Demonstrating empathy and kindness toward other people
14
21
  * Being respectful of differing opinions, viewpoints, and experiences
15
22
  * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
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
18
27
 
19
28
  Examples of unacceptable behavior include:
20
29
 
21
- * The use of sexualized language or imagery, and sexual attention or
22
- advances of any kind
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
23
32
  * Trolling, insulting or derogatory comments, and personal or political attacks
24
33
  * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
26
- address, without their explicit permission
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
27
36
  * Other conduct which could reasonably be considered inappropriate in a
28
37
  professional setting
29
38
 
30
39
  ## Enforcement Responsibilities
31
40
 
32
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
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.
33
45
 
34
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
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.
35
50
 
36
51
  ## Scope
37
52
 
38
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
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.
39
58
 
40
59
  ## Enforcement
41
60
 
42
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at daniloj.dasilva@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ daniloj.dasilva@gmail.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
43
65
 
44
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
45
68
 
46
69
  ## Enforcement Guidelines
47
70
 
48
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
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:
49
73
 
50
74
  ### 1. Correction
51
75
 
52
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
53
78
 
54
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
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.
55
82
 
56
83
  ### 2. Warning
57
84
 
58
- **Community Impact**: A violation through a single incident or series of actions.
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
59
87
 
60
- **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
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.
61
94
 
62
95
  ### 3. Temporary Ban
63
96
 
64
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
65
99
 
66
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
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.
67
105
 
68
106
  ### 4. Permanent Ban
69
107
 
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
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.
71
111
 
72
- **Consequence**: A permanent ban from any sort of public interaction within the community.
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
73
114
 
74
115
  ## Attribution
75
116
 
76
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
- available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
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].
78
120
 
79
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
-
81
- [homepage]: https://www.contributor-covenant.org
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
82
123
 
83
124
  For answers to common questions about this code of conduct, see the FAQ at
84
- https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
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 CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 Danilo Jeremias da Silva
3
+ Copyright (c) 2024 Danilo Jeremias da Silva
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -25,7 +25,7 @@ module Sidekiq
25
25
  end
26
26
 
27
27
  app.get("/force_kill/:identity/kill") do
28
- process = Sidekiq::ProcessSet[params["identity"]]
28
+ process = Sidekiq::ProcessSet[route_params(:identity)]
29
29
 
30
30
  if process
31
31
  process.stop!
@@ -38,7 +38,10 @@ module Sidekiq
38
38
  end
39
39
 
40
40
  def self.use!
41
- Sidekiq::Web.register(Sidekiq::Belt::Community::ForceKill::SidekiqForceKill)
41
+ Sidekiq::Web.configure do |cfg|
42
+ cfg.register(Sidekiq::Belt::Community::ForceKill::SidekiqForceKill, name: "force_kill", tab: nil,
43
+ index: nil)
44
+ end
42
45
  Sidekiq::Process.prepend(Sidekiq::Belt::Community::ForceKill)
43
46
  end
44
47
  end
@@ -29,8 +29,6 @@ module Sidekiq
29
29
 
30
30
  module SidekiqRunJob
31
31
  def self.registered(app)
32
- app.tabs["Run Jobs"] = "run_jobs"
33
-
34
32
  app.get("/run_jobs") do
35
33
  @jobs = Sidekiq::Belt::Community::RunJob.list_grouped_jobs
36
34
 
@@ -38,7 +36,7 @@ module Sidekiq
38
36
  end
39
37
 
40
38
  app.post("/run_jobs/:rjid/run") do
41
- Sidekiq::Belt::Community::RunJob.run_job(params[:rjid].to_i)
39
+ Sidekiq::Belt::Community::RunJob.run_job(route_params(:rjid).to_i)
42
40
 
43
41
  return redirect "#{root_path}run_jobs"
44
42
  end
@@ -46,7 +44,10 @@ module Sidekiq
46
44
  end
47
45
 
48
46
  def self.use!
49
- Sidekiq::Web.register(Sidekiq::Belt::Community::RunJob::SidekiqRunJob)
47
+ Sidekiq::Web.configure do |cfg|
48
+ cfg.register(Sidekiq::Belt::Community::RunJob::SidekiqRunJob, name: "run_jobs", tab: "Run Jobs",
49
+ index: "run_jobs")
50
+ end
50
51
  end
51
52
  end
52
53
  end
@@ -6,23 +6,62 @@ require "sidekiq/web/helpers"
6
6
  module Sidekiq
7
7
  module Belt
8
8
  module Community
9
- module TopLabel
9
+ class TopLabel
10
10
  def self.use!
11
11
  Sidekiq::WebActionHelper.change_layout do |content|
12
- top_label = (Sidekiq::Belt.config.top_label || {}).fetch(Sidekiq::Belt.env, {})
13
-
14
- html = "<div class='container-fluid'
15
- style='background: #{::Rack::Utils.escape_html(top_label.fetch(:background_color, "red"))};
16
- text-align: center;
17
- color: #{::Rack::Utils.escape_html(top_label.fetch(:color, "white"))};'>
18
- &nbsp;#{::Rack::Utils.escape_html(top_label[:text].to_s)}&nbsp;
19
- </div>"
20
- unless top_label.empty?
21
- content.gsub!('<div class="container-fluid">',
22
- "#{html} <div class='container-fluid'>")
23
- end
12
+ Sidekiq::Belt::Community::TopLabel.new(content).apply
24
13
  end
25
14
  end
15
+
16
+ attr_reader :content, :top_label
17
+
18
+ def initialize(content)
19
+ @content = content
20
+ @top_label = fetch_top_label
21
+ end
22
+
23
+ def apply
24
+ inject_styles_and_label unless top_label.empty?
25
+
26
+ content
27
+ end
28
+
29
+ def fetch_top_label
30
+ (Sidekiq::Belt.config.top_label || {}).fetch(Sidekiq::Belt.env, {})
31
+ end
32
+
33
+ def inject_styles_and_label
34
+ content.gsub!("</head>", "<style nonce='#{nonce_id}'>#{styles}</style></head>")
35
+ content.sub!(/<body[^>]*>/, "\\0#{top_label_div}")
36
+ end
37
+
38
+ def nonce_id
39
+ content[/nonce="([^"]*)"/, 1].to_s
40
+ end
41
+
42
+ def top_label_div
43
+ text = ::Rack::Utils.escape_html(top_label[:text].to_s)
44
+ "<div class='container-fluid top_label'>&nbsp;#{text}&nbsp;</div>"
45
+ end
46
+
47
+ def styles
48
+ <<~CSS
49
+ header:first-of-type, .navbar-default {
50
+ margin-top: 20px;
51
+ }
52
+
53
+ .top_label {
54
+ background: #{::Rack::Utils.escape_html(top_label.fetch(:background_color, "red"))} !important;
55
+ z-index: 99999;
56
+ text-align: center;
57
+ color: #{::Rack::Utils.escape_html(top_label.fetch(:color, "white"))};
58
+ position: fixed;
59
+ width: 100%;
60
+ top: 0;
61
+ right: 0;
62
+ }
63
+ CSS
64
+ end
26
65
  end
27
66
  end
28
67
  end
@@ -62,13 +62,13 @@ module Sidekiq
62
62
  end
63
63
 
64
64
  app.post("/loops/:lid/pause") do
65
- Sidekiq::Periodic::Loop.new(params[:lid]).pause!
65
+ Sidekiq::Periodic::Loop.new(route_params(:lid)).pause!
66
66
 
67
67
  return redirect "#{root_path}loops"
68
68
  end
69
69
 
70
70
  app.post("/loops/:lid/unpause") do
71
- Sidekiq::Periodic::Loop.new(params[:lid]).unpause!
71
+ Sidekiq::Periodic::Loop.new(route_params(:lid)).unpause!
72
72
 
73
73
  return redirect "#{root_path}loops"
74
74
  end
@@ -87,7 +87,11 @@ module Sidekiq
87
87
  require("sidekiq-ent/periodic/manager")
88
88
  require("sidekiq-ent/periodic/static_loop")
89
89
 
90
- Sidekiq::Web.register(Sidekiq::Belt::Ent::PeriodicPause::SidekiqLoopsPeriodicPause)
90
+ Sidekiq::Web.configure do |cfg|
91
+ cfg.register(Sidekiq::Belt::Ent::PeriodicPause::SidekiqLoopsPeriodicPause, name: "periodic_pause",
92
+ tab: nil, index: nil)
93
+ end
94
+
91
95
  Sidekiq::Periodic::Loop.prepend(Sidekiq::Belt::Ent::PeriodicPause)
92
96
  Sidekiq::Periodic::StaticLoop.prepend(Sidekiq::Belt::Ent::PeriodicPause)
93
97
  Sidekiq::Periodic::Manager.prepend(Sidekiq::Belt::Ent::PeriodicPause::PauseServer)
@@ -66,7 +66,7 @@ module Sidekiq
66
66
  end
67
67
 
68
68
  app.post("/loops/:lid/run") do
69
- Sidekiq::Periodic::Loop.new(params[:lid]).run
69
+ Sidekiq::Periodic::Loop.new(route_params(:lid)).run
70
70
 
71
71
  return redirect "#{root_path}loops"
72
72
  end
@@ -78,7 +78,10 @@ module Sidekiq
78
78
  require("sidekiq-ent/periodic")
79
79
  require("sidekiq-ent/periodic/static_loop")
80
80
 
81
- Sidekiq::Web.register(Sidekiq::Belt::Ent::PeriodicRun::SidekiqLoopsPeriodicRun)
81
+ Sidekiq::Web.configure do |cfg|
82
+ cfg.register(Sidekiq::Belt::Ent::PeriodicRun::SidekiqLoopsPeriodicRun, name: "periodic_run", tab: nil,
83
+ index: nil)
84
+ end
82
85
  Sidekiq::Periodic::Loop.prepend(Sidekiq::Belt::Ent::PeriodicRun)
83
86
  Sidekiq::Periodic::StaticLoop.prepend(Sidekiq::Belt::Ent::PeriodicRun)
84
87
  end
@@ -26,7 +26,7 @@ module Sidekiq
26
26
  end
27
27
 
28
28
  app.post("/batches/:bid/remove") do
29
- Sidekiq::Batch::Status.new(params[:bid]).delete
29
+ Sidekiq::Batch::Status.new(route_params(:bid)).delete
30
30
 
31
31
  return redirect "#{root_path}batches"
32
32
  end
@@ -36,7 +36,10 @@ module Sidekiq
36
36
  def self.use!
37
37
  require("sidekiq/web")
38
38
 
39
- Sidekiq::Web.register(Sidekiq::Belt::Pro::FailedBatchRemove::SidekiqFailedBatchRemove)
39
+ Sidekiq::Web.configure do |cfg|
40
+ cfg.register(Sidekiq::Belt::Pro::FailedBatchRemove::SidekiqFailedBatchRemove, name: "remove_batch",
41
+ tab: nil, index: nil)
42
+ end
40
43
  end
41
44
  end
42
45
  end
@@ -37,7 +37,7 @@ module Sidekiq
37
37
  end
38
38
 
39
39
  app.post("/batches/:bid/force_callback/:action") do
40
- Sidekiq::Batch::Callback.perform_inline(params[:action], params[:bid])
40
+ Sidekiq::Batch::Callback.perform_inline(route_params(:action), route_params(:bid))
41
41
 
42
42
  return redirect "#{root_path}batches"
43
43
  end
@@ -47,7 +47,10 @@ module Sidekiq
47
47
  def self.use!
48
48
  require("sidekiq/web")
49
49
 
50
- Sidekiq::Web.register(Sidekiq::Belt::Pro::ForceBatchCallback::SidekiqForceBatchCallback)
50
+ Sidekiq::Web.configure do |cfg|
51
+ cfg.register(Sidekiq::Belt::Pro::ForceBatchCallback::SidekiqForceBatchCallback, name: "force_batch",
52
+ tab: nil, index: nil)
53
+ end
51
54
  end
52
55
  end
53
56
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Belt
5
- VERSION = "1.0.0"
5
+ VERSION = "2.0.0"
6
6
  end
7
7
  end
data/lib/sidekiq/belt.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require "sidekiq"
4
4
 
5
5
  require_relative "belt/version"
6
+ require "sidekiq/web"
6
7
  require_relative "web_action_helper"
7
8
  require_relative "web_router_helper"
8
9
 
@@ -10,7 +10,11 @@ module Sidekiq
10
10
  replace_views = Sidekiq::Config::DEFAULTS[:replace_views] || {}
11
11
 
12
12
  replace_views.each do |key, content_blocks|
13
- next if WebRoute.new("", key, true).match("", self.class.path_info).nil?
13
+ if Sidekiq::VERSION.to_i >= 8
14
+ next if Sidekiq::Web::Application.match(self.class.full_env).nil?
15
+ elsif WebRoute.new("", key, true).match("", self.class.full_env["PATH_INFO"]).nil?
16
+ next
17
+ end
14
18
 
15
19
  content_blocks.each do |content_block|
16
20
  content_block.call(content)
@@ -21,12 +25,12 @@ module Sidekiq
21
25
  end
22
26
 
23
27
  class << self
24
- attr_accessor :path_info
28
+ attr_accessor :full_env
25
29
  end
26
30
  end
27
31
 
28
32
  def erb(content, options = {})
29
- ERB.path_info = ::Rack::Utils.unescape(env["PATH_INFO"])
33
+ ERB.full_env = env
30
34
 
31
35
  super
32
36
  end
@@ -49,5 +53,9 @@ module Sidekiq
49
53
  end
50
54
  end
51
55
 
52
- Sidekiq::WebAction.prepend(Sidekiq::WebActionHelper)
56
+ if defined?(Sidekiq::Web::Action)
57
+ Sidekiq::Web::Action.prepend(Sidekiq::WebActionHelper)
58
+ else
59
+ Sidekiq::WebAction.prepend(Sidekiq::WebActionHelper)
60
+ end
53
61
  end
@@ -13,5 +13,9 @@ module Sidekiq
13
13
  end
14
14
  end
15
15
 
16
- Sidekiq::WebRouter.prepend(Sidekiq::WebRouterHelper)
16
+ if defined?(Sidekiq::Web::Router)
17
+ Sidekiq::Web::Router.prepend(Sidekiq::WebRouterHelper)
18
+ else
19
+ Sidekiq::WebRouter.prepend(Sidekiq::WebRouterHelper)
20
+ end
17
21
  end
metadata CHANGED
@@ -1,29 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-belt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Jeremias da Silva
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
10
+ date: 2025-02-09 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: sidekiq
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ">"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 7.1.4
18
+ version: 7.3.8
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - ">"
23
+ - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: 7.1.4
25
+ version: 7.3.8
27
26
  description: This Ruby gem enhances the capabilities of Sidekiq, Sidekiq Pro, and
28
27
  Sidekiq Enterprise by adding essential utilities.
29
28
  email:
@@ -63,8 +62,8 @@ licenses:
63
62
  metadata:
64
63
  homepage_uri: https://github.com/dannnylo/sidekiq-belt
65
64
  source_code_uri: https://github.com/dannnylo/sidekiq-belt
65
+ changelog_uri: https://github.com/dannnylo/sidekiq-belt/blob/main/CHANGELOG.md
66
66
  rubygems_mfa_required: 'true'
67
- post_install_message:
68
67
  rdoc_options: []
69
68
  require_paths:
70
69
  - lib
@@ -72,15 +71,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - ">="
74
73
  - !ruby/object:Gem::Version
75
- version: 2.6.0
74
+ version: 3.0.0
76
75
  required_rubygems_version: !ruby/object:Gem::Requirement
77
76
  requirements:
78
77
  - - ">="
79
78
  - !ruby/object:Gem::Version
80
79
  version: '0'
81
80
  requirements: []
82
- rubygems_version: 3.5.23
83
- signing_key:
81
+ rubygems_version: 3.6.2
84
82
  specification_version: 4
85
83
  summary: This Ruby gem enhances the capabilities of Sidekiq, Sidekiq Pro, and Sidekiq
86
84
  Enterprise by adding essential utilities.