sidekiq-antidote 1.1.0 → 1.2.0

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: 9f5bdf47fd299dc626c6fc0afb94896301c66e5b1f9f33875383375d0d5ac483
4
- data.tar.gz: bb9966c063f7ca0325d31229c6f4d0cf445d53392bb89a201dba92891759ece3
3
+ metadata.gz: dce4fd5b1e9e0062569e3cc9d2febc7a699f9cceaa2f738114f6555dfeea38bb
4
+ data.tar.gz: 3ed45d2c929f9749b2a6e9f5d7257f419de569ca0cb7bb306a9e21c98b2efc1a
5
5
  SHA512:
6
- metadata.gz: 87e30e47eb2e37cea51f9037469a4395651d49da8664558d893a71e83d7af275c32ea5ce2e6e8c6b6d464e979af684498972dd2a21c5ddedaf9fe73a2e4a1e62
7
- data.tar.gz: ffea8f3beef24555534621992e60d18c3c3ec0ab3855e07a65e5a274a434a0285f8442efe851ef8c1377df8f9f72920d290c545b42eb56566c3ee0d53a124362
6
+ metadata.gz: b86b69872c145890c4656a4c4c84d15cc14002e10ea6300120ddb42400fc3e4d0979f177622b9785311d2ff86e78859d7bf37600d3135b93874611e79ab17037
7
+ data.tar.gz: c6f79bd8ac0d37c5a704d091b01bddc06f564553f441ae38198b12c50899cfceed4eda2cfc8d9045748182623484f07b0224336d9a6ea17d184f65f98461beba
data/README.adoc CHANGED
@@ -134,11 +134,11 @@ This library aims to support and is tested against:
134
134
  ** MRI 3.1.x
135
135
  ** MRI 3.2.x
136
136
  ** MRI 3.3.x
137
+ ** MRI 3.4.x
137
138
  * https://github.com/sidekiq/sidekiq[Sidekiq]
138
139
  ** 7.2.x
139
140
  ** 7.3.x
140
141
  * https://redis.io[Redis]
141
- ** 6.2.x
142
142
  ** 7.0.x
143
143
  ** 7.2.x
144
144
 
@@ -36,11 +36,6 @@ module Sidekiq
36
36
  # @return [Regexp]
37
37
  attr_reader :regexp
38
38
 
39
- # @!method match?(job_class)
40
- # @param job_class [String]
41
- # @return [Boolean]
42
- def_delegator :regexp, :match?
43
-
44
39
  # @param pattern [#to_s]
45
40
  def initialize(pattern)
46
41
  @pattern = pattern.to_s.strip.freeze
@@ -51,6 +46,12 @@ module Sidekiq
51
46
  freeze
52
47
  end
53
48
 
49
+ # @param job_class [String, Class]
50
+ # @return [Boolean]
51
+ def match?(job_class)
52
+ regexp.match?(job_class.to_s)
53
+ end
54
+
54
55
  # @param other [Object]
55
56
  # @return [Boolean]
56
57
  def eql?(other)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Antidote
5
- VERSION = "1.1.0"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-antidote
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Zapparov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-22 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -66,9 +66,9 @@ licenses:
66
66
  - MIT
67
67
  metadata:
68
68
  homepage_uri: https://github.com/ixti/sidekiq-antidote
69
- source_code_uri: https://github.com/ixti/sidekiq-antidote/tree/v1.1.0
69
+ source_code_uri: https://github.com/ixti/sidekiq-antidote/tree/v1.2.0
70
70
  bug_tracker_uri: https://github.com/ixti/sidekiq-antidote/issues
71
- changelog_uri: https://github.com/ixti/sidekiq-antidote/blob/v1.1.0/CHANGES.md
71
+ changelog_uri: https://github.com/ixti/sidekiq-antidote/blob/v1.2.0/CHANGES.md
72
72
  rubygems_mfa_required: 'true'
73
73
  post_install_message:
74
74
  rdoc_options: []