ruby_event_store-sidekiq_scheduler 0.1.1 → 0.1.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8055538b9034abe24a190ae5b8a8a17b9f0017a96fde4fed2ea4e7617671d655
|
4
|
+
data.tar.gz: 6fd28df08eabc2571509b7e6d2b3320f41a9e1fb02031cd8641f2567b81c9b3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d3f1282583237d9c9b0505922bc6cc4cafbe1c2e9d534a926421152306d7024d40afe68c4ce9e7dcc964e36fc6a82982059be1ec292fc4752c1e3b6a780e8c7
|
7
|
+
data.tar.gz: f391568efe16b0ed6c640e35aa1d887b9fe48712963020056eee9e034cdb3f11a54ac05c30fb635385948dc4367bad0256fc784488f5a91c2d890d5a85e24393
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "sidekiq"
|
2
4
|
|
3
5
|
module RubyEventStore
|
@@ -7,11 +9,17 @@ module RubyEventStore
|
|
7
9
|
end
|
8
10
|
|
9
11
|
def call(klass, record)
|
10
|
-
klass.perform_async(
|
12
|
+
klass.perform_async(
|
13
|
+
record.serialize(serializer).to_h.transform_keys(&:to_s)
|
14
|
+
)
|
11
15
|
end
|
12
16
|
|
13
17
|
def verify(subscriber)
|
14
|
-
Class === subscriber
|
18
|
+
if Class === subscriber
|
19
|
+
!!(subscriber < Sidekiq::Worker)
|
20
|
+
else
|
21
|
+
subscriber.instance_of?(Sidekiq::Worker::Setter)
|
22
|
+
end
|
15
23
|
end
|
16
24
|
|
17
25
|
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.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-12 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.
|
67
|
-
signing_key:
|
66
|
+
rubygems_version: 3.5.5
|
67
|
+
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Ruby Event Store scheduler for sidekiq
|
70
70
|
test_files: []
|