sidekiq-pauzer 1.1.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/pauzer/basic_fetch.rb +1 -1
- data/lib/sidekiq/pauzer/version.rb +1 -1
- data/lib/sidekiq/pauzer.rb +4 -13
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bfbbdbcf00da656eb48a8dccb0807b68e8554f6a02c6ed54e954f19d0ddd46b
|
4
|
+
data.tar.gz: 4887f3d8e032f2a48327e4e40ded771cf8552620f82e6b2744ce0625b0d89369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73d2a4ae6200e308e83052947614759ea3db81bf22d481d67ae2d4c83d6531aa1c267f0662e8e231c0bad4e5091d6e99e568ae16e8919af016b55f742d4f243e
|
7
|
+
data.tar.gz: ca0824fa84c56ef904cac670fe5ed43d1f90701c6983ca0710cfa5d71cb01dd9a05ceeed45c8d98c9c32eb4a03192eae19120bf1fd7c7ac8e86f09baaa33bb99
|
data/lib/sidekiq/pauzer.rb
CHANGED
@@ -78,24 +78,15 @@ module Sidekiq
|
|
78
78
|
|
79
79
|
# @example
|
80
80
|
# Sidekiq::Pauzer.pause!("minor")
|
81
|
-
# Sidekiq::Pauzer.
|
81
|
+
# Sidekiq::Pauzer.paused_queues # => ["minor"]
|
82
82
|
#
|
83
83
|
# @return [Array<String>]
|
84
|
-
def
|
84
|
+
def paused_queues
|
85
85
|
@queues.to_a
|
86
86
|
end
|
87
87
|
|
88
|
-
# @deprecated Use {.
|
89
|
-
|
90
|
-
#
|
91
|
-
# @example
|
92
|
-
# Sidekiq::Pauzer.pause!("minor")
|
93
|
-
# Sidekiq::Pauzer.paused_queues # => ["queue:minor"]
|
94
|
-
#
|
95
|
-
# @return [Array<String>]
|
96
|
-
def paused_queues
|
97
|
-
@queues.map { |name| "queue:#{name}" }
|
98
|
-
end
|
88
|
+
# @deprecated Use {.paused_queues}
|
89
|
+
alias paused_queue_names paused_queues
|
99
90
|
|
100
91
|
# Yields `config` for a block.
|
101
92
|
#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-pauzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Zapparov
|
@@ -66,9 +66,9 @@ licenses:
|
|
66
66
|
- MIT
|
67
67
|
metadata:
|
68
68
|
homepage_uri: https://gitlab.com/ixti/sidekiq-pauzer
|
69
|
-
source_code_uri: https://gitlab.com/ixti/sidekiq-pauzer/tree/
|
69
|
+
source_code_uri: https://gitlab.com/ixti/sidekiq-pauzer/tree/v2.1.0
|
70
70
|
bug_tracker_uri: https://gitlab.com/ixti/sidekiq-pauzer/issues
|
71
|
-
changelog_uri: https://gitlab.com/ixti/sidekiq-pauzer/blob/
|
71
|
+
changelog_uri: https://gitlab.com/ixti/sidekiq-pauzer/blob/v2.1.0/CHANGES.md
|
72
72
|
rubygems_mfa_required: 'true'
|
73
73
|
post_install_message:
|
74
74
|
rdoc_options: []
|