sidekiq_remove_scheduled 1.0.1 → 1.0.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
  SHA1:
3
- metadata.gz: 17ad62818322960360594f3b458a0e195437f367
4
- data.tar.gz: 3aa851340bd71434efe6eca45ed4db2328856d93
3
+ metadata.gz: 3d364f2b558d81576aa93655d4f8f90ae3680868
4
+ data.tar.gz: ae72570eafc044da3b7bc966b451ca672496b939
5
5
  SHA512:
6
- metadata.gz: f9043d58493b32095169a8ba185d6dd57dd5d2d51b3fd7a2f008e74e77fdc2245489e9bcaad4d133a8b66f4dd2b2600cf356cbd4f5bebb43ff1b83dfbfa2447a
7
- data.tar.gz: f5e664a732c1a82a790c0cf7ad1d839b700b913576ce3d1a7fb6d853d74f67a7bd80206d99051c69755c3119c3d7ac04e9e7144b184701ec5790861c54db892a
6
+ metadata.gz: ccbbe323ccb3d8ee41f97e77ec70982a6192f8a691c04141b47efee69223752bc40f8c026e969515666e03be5b3e47eaa6cc57d8fbed687af492fc07a1f6aa12
7
+ data.tar.gz: 7ba1f90dace42a5be4baff66946a7afdcbb87ce5f92c1468f46d6c983a5a8e2fb00d8662c9f643b870e63e2cd1992cd60fc4bf60cd91d1cc04adc3a6cbc872dd
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  require 'sidekiq'
8
- require 'celluloid'
8
+ require 'celluloid/current'
9
9
  require 'sidekiq/processor'
10
10
  require 'sidekiq_remove_scheduled/logger'
11
11
  require 'sidekiq_remove_scheduled/hooks/job_hook'
@@ -28,6 +28,8 @@ module SidekiqRemoveScheduled
28
28
  jobs = ::SidekiqRemoveScheduled::Redis.job_queue.get(field).to_s.split(',')
29
29
  jobs << jid
30
30
  ::SidekiqRemoveScheduled::Redis.job_queue.set(field, jobs.uniq.join(','))
31
+
32
+ jid
31
33
  end
32
34
  base::ClassMethods.send :alias_method, :perform_at, :perform_in
33
35
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SidekiqRemoveScheduled
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_remove_scheduled
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rohit Jangid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis