multiple_man_sidekiq 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multiple_man_sidekiq/configuration.rb +21 -0
- data/lib/multiple_man_sidekiq/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5509c8bdbcf4046c7949b93696e8307e703a6d1
|
4
|
+
data.tar.gz: e6ece07c82e623a35cd5be5404cd4d87ba13a56e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34fa2c299f5fb9755490c14a8487604859abb2b6808fc3379e347f451a7bfe2d2971067dd991a96924fa852b0b9600273f9f5b9566c5b20041493470c5aeb941
|
7
|
+
data.tar.gz: 4f57e57ef9ed611726235f0b0de03993efc25e740def8b9ad33bb50bb35a6a9210832e4620a99f307a3374a73914e8337ea855b3c8b7ce2d6ac254a9d2734700
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module MultipleMan
|
2
|
+
class Configuration
|
3
|
+
|
4
|
+
def initialize
|
5
|
+
self.sidekiq_queue = {}
|
6
|
+
end
|
7
|
+
|
8
|
+
attr_reader :sidekiq_queue
|
9
|
+
|
10
|
+
private
|
11
|
+
attr_writer :sidekiq_queue
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.configuration
|
15
|
+
@configuration ||= Configuration.new
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.configure
|
19
|
+
yield(configuration) if block_given?
|
20
|
+
end
|
21
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiple_man_sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Brunner
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- Rakefile
|
82
82
|
- lib/multiple_man_sidekiq.rb
|
83
83
|
- lib/multiple_man_sidekiq/async_model_publisher.rb
|
84
|
+
- lib/multiple_man_sidekiq/configuration.rb
|
84
85
|
- lib/multiple_man_sidekiq/middleware/sidekiq_middleware.rb
|
85
86
|
- lib/multiple_man_sidekiq/mixins/async_publisher.rb
|
86
87
|
- lib/multiple_man_sidekiq/version.rb
|