ruby_event_store-sidekiq_scheduler 0.1.1 → 0.1.2

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: fa78f9b2f4a43181959ce50d54aabd31f263c008108781981841df063acde823
4
- data.tar.gz: fe56369845da6d00ac7640be85454c467eb30d9bddfcf168644f4c5daef47f35
3
+ metadata.gz: 33e7fad9d70e8084e1b0036c24396e06fec1ada2c8ab6dd2228e4bb6f5a14282
4
+ data.tar.gz: b21c7dcaf6a23bc1e38c2ee4ea15cd6b8c9fb52eb57410f1ae0980fe44ceb57f
5
5
  SHA512:
6
- metadata.gz: a56b624b93959c925894fe625996caf0635986b522d68bf751824a5e26bf6b1e9b1861bf88a95444d7e6a86f3c36325f7c84ddacac44219c3d52b214371d4e12
7
- data.tar.gz: ac5821fd4dc89bfee51b7df9009d03556cea61de1ee72a90b0361ee4ab3accb213c214f675c0158781927e38cb8acadf2cc8036d4bc32618548b089bb9222724
6
+ metadata.gz: 5e2ec5e3b0155cf9f351bf914e5b6e012a8095ec4f9627fcaf9addc7a9bc4f6e712d6b6fbbab785fb59082f756482e59505ab9845faeb8238b23b4557b59e855
7
+ data.tar.gz: da7bf016d39d45f6ad08a671d3da41590d4f61762607fbac6d72e8a63f2b3bda426ac6537a85faeb8d24b7ad553a5362338df6de3564559ceb658f7db1681a35
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyEventStore
4
4
  class SidekiqScheduler
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -11,7 +11,11 @@ module RubyEventStore
11
11
  end
12
12
 
13
13
  def verify(subscriber)
14
- Class === subscriber && !!(subscriber < Sidekiq::Worker)
14
+ if Class === subscriber
15
+ !!(subscriber < Sidekiq::Worker)
16
+ else
17
+ subscriber.instance_of?(Sidekiq::Worker::Setter)
18
+ end
15
19
  end
16
20
 
17
21
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_event_store-sidekiq_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-06 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -30,7 +30,7 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 3.0.0
33
- description:
33
+ description:
34
34
  email: dev@arkency.com
35
35
  executables: []
36
36
  extensions: []
@@ -48,7 +48,7 @@ metadata:
48
48
  source_code_uri: https://github.com/RailsEventStore/rails_event_store
49
49
  bug_tracker_uri: https://github.com/RailsEventStore/rails_event_store/issues
50
50
  rubygems_mfa_required: 'true'
51
- post_install_message:
51
+ post_install_message:
52
52
  rdoc_options: []
53
53
  require_paths:
54
54
  - lib
@@ -63,8 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.3.9
67
- signing_key:
66
+ rubygems_version: 3.3.7
67
+ signing_key:
68
68
  specification_version: 4
69
69
  summary: Ruby Event Store scheduler for sidekiq
70
70
  test_files: []