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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: daf8955174d16cd3e763dbde108ed5d2d8e85556
4
- data.tar.gz: 0f9543ed79d6355bd3218f3f7c8ca52c899e5624
3
+ metadata.gz: e5509c8bdbcf4046c7949b93696e8307e703a6d1
4
+ data.tar.gz: e6ece07c82e623a35cd5be5404cd4d87ba13a56e
5
5
  SHA512:
6
- metadata.gz: d8b317028bbca116e09c9366c555e1a266c3fcf2e34af98bdff7de8cc78cb1be5baa1d857cf20c22c63b1cbc6ca7d3a9ab8b45628df575e90b1774c0c270ffbe
7
- data.tar.gz: 16f284274cba54d7a63544652e7eb402d03ac25ef05aed37d3bf4f20d8145c81a03810cbbfe868b95a1b10543e9977c8fa6a8a3a89526c8160ba257ce489eedd
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
@@ -1,3 +1,3 @@
1
1
  module MultipleManSidekiq
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  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.5
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