sidekiq-pauzer 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +25 -22
- data/lib/sidekiq/pauzer/queues.rb +2 -3
- data/lib/sidekiq/pauzer/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98787fef3e8c9b2177b4d60ddff1c6f5cd9183bd574581606b545f3415073b8f
|
4
|
+
data.tar.gz: b9d2a052d852cf0b44d07bafd4162dbe76170d14586614a5fe7b5123d39e6513
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba93ae7964585e0a89692ba06143704c52d45854ae51df91e7ff3cbe6596cae3ad1e58f505b352bf2f5abc35e4e9854c3a54294d7dbb5f6862698d34fb92057b
|
7
|
+
data.tar.gz: 978230c92240e7762db583e1854bcecdaa61496167ffb14d5f92dffcff655bb618566919a915b3c26e94ca2daba0ecd482a6da94d5ae67f6847903ba038ee632
|
data/README.adoc
CHANGED
@@ -77,35 +77,38 @@ NOTE: If you are using custom Sidekiq views path, then you will need to call
|
|
77
77
|
(after requiring `sidekiq/pauzer/web`): `Sidekiq::Pauzer::Web.unpatch_views!`.
|
78
78
|
|
79
79
|
|
80
|
-
==
|
81
|
-
|
82
|
-
This library aims to support and is tested against
|
83
|
-
|
84
|
-
*
|
85
|
-
|
86
|
-
|
80
|
+
== Compatibility
|
81
|
+
|
82
|
+
This library aims to support and is tested against:
|
83
|
+
|
84
|
+
* https://www.ruby-lang.org[Ruby]
|
85
|
+
** MRI 3.0.x
|
86
|
+
** MRI 3.1.x
|
87
|
+
** MRI 3.2.x
|
88
|
+
** MRI 3.3.x
|
89
|
+
* https://github.com/sidekiq/sidekiq[Sidekiq]
|
90
|
+
** 7.2.x
|
91
|
+
** 7.3.x
|
92
|
+
* https://redis.io[Redis]
|
93
|
+
** 6.2.x
|
94
|
+
** 7.0.x
|
95
|
+
** 7.2.x
|
87
96
|
|
88
97
|
If something doesn't work on one of these versions, it's a bug.
|
89
98
|
|
90
|
-
This library may inadvertently work (or seem to work) on other Ruby
|
91
|
-
however support will only be provided for the versions listed
|
99
|
+
This library may inadvertently work (or seem to work) on other Ruby, Redis, and
|
100
|
+
Sidekiq versions, however support will only be provided for the versions listed
|
101
|
+
above.
|
92
102
|
|
93
|
-
If you would like this library to support another Ruby
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
103
|
+
If you would like this library to support another Ruby, Redis, or Sidekiq
|
104
|
+
version, you may volunteer to be a maintainer. Being a maintainer entails making
|
105
|
+
sure all tests run and pass on that implementation. When something breaks on
|
106
|
+
your implementation, you will be responsible for providing patches in a timely
|
107
|
+
fashion. If critical issues for a particular implementation exist at the time of
|
108
|
+
a major release, support for that Ruby, Redis, and/or Sidekiq version may be
|
99
109
|
dropped.
|
100
110
|
|
101
111
|
|
102
|
-
== Supported Sidekiq Versions
|
103
|
-
|
104
|
-
This library aims to support and work with following Sidekiq versions:
|
105
|
-
|
106
|
-
* Sidekiq 7.2.x
|
107
|
-
|
108
|
-
|
109
112
|
== Development
|
110
113
|
|
111
114
|
bundle install
|
@@ -14,9 +14,8 @@ module Sidekiq
|
|
14
14
|
# @param refresh_rate [Float]
|
15
15
|
# @param repository [Repository]
|
16
16
|
def initialize(refresh_rate, repository:)
|
17
|
-
@names = [].freeze
|
18
17
|
@refresher = Concurrent::TimerTask.new(execution_interval: refresh_rate, run_now: true) do
|
19
|
-
|
18
|
+
repository.to_a.freeze
|
20
19
|
end
|
21
20
|
end
|
22
21
|
|
@@ -31,7 +30,7 @@ module Sidekiq
|
|
31
30
|
return to_enum __method__ unless block
|
32
31
|
|
33
32
|
start_refresher unless refresher_running?
|
34
|
-
@
|
33
|
+
@refresher.value&.each(&block)
|
35
34
|
|
36
35
|
self
|
37
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-pauzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Zapparov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -64,9 +64,9 @@ licenses:
|
|
64
64
|
- MIT
|
65
65
|
metadata:
|
66
66
|
homepage_uri: https://github.com/ixti/sidekiq-pauzer
|
67
|
-
source_code_uri: https://github.com/ixti/sidekiq-pauzer/tree/v5.
|
67
|
+
source_code_uri: https://github.com/ixti/sidekiq-pauzer/tree/v5.2.0
|
68
68
|
bug_tracker_uri: https://github.com/ixti/sidekiq-pauzer/issues
|
69
|
-
changelog_uri: https://github.com/ixti/sidekiq-pauzer/blob/v5.
|
69
|
+
changelog_uri: https://github.com/ixti/sidekiq-pauzer/blob/v5.2.0/CHANGES.md
|
70
70
|
rubygems_mfa_required: 'true'
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
rubygems_version: 3.
|
86
|
+
rubygems_version: 3.5.22
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: Enhance Sidekiq with queue pausing
|