sidekiq-scheduler-notification 0.1.0 → 0.1.1

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: ef1c2d1a43626cddfcde1433cc2d94dad8fc9579
4
- data.tar.gz: 20b4914852b731b67a705256dbb3c0109e582677
3
+ metadata.gz: bb2405515818858c8a681df6596e84ff9e657953
4
+ data.tar.gz: 6305af531c86fa91c55fb10aa6fdc8414df52ab2
5
5
  SHA512:
6
- metadata.gz: b1f37c76794848447e54d689ec7fdeeb3529988b045933fa1e6cefb738b258ce2c8ae7c5dd233b2babdb6486c3e3f5123ae21a56ee7e7df677820ebcb01bbf42
7
- data.tar.gz: 6297d9090c53b13af9214f0711fbfb43cc26b11e7b13fcb2c35413b3f26624536ed115f44d1269e3b2b3297097b6f6d3e8c8a5dd81e9ca251ca89879769da81a
6
+ metadata.gz: 296881cb631e7e35dbc20e57979c659e118f2b73555b64d80077b1d150da81d4355a5972ede59c729f404beeb0ccffedb2c969e8b8f78a096e48c6fb45d1e303
7
+ data.tar.gz: 5023df9529b12c51a6e5eb2649babf4cdd66e8de5a74ddb2d0bfb5317cdcb9e66250af7082d6f3122ecb7472d7499f3d624e4318e7c4c33e084fd5f319727b1e
@@ -14,7 +14,7 @@ module SidekiqSchedulerNotification
14
14
  module ClassMethods
15
15
  def load_schedule!
16
16
  super
17
- if enabled && Sidekiq.schedule
17
+ if Sidekiq.schedule
18
18
  Sidekiq::Scheduler.notify_classes = Sidekiq.schedule.select{|_,v| v["notification"] }.map{|k,_| k}
19
19
  end
20
20
  end
@@ -1,7 +1,7 @@
1
1
  module Sidekiq
2
2
  class Scheduler
3
3
  module Notification
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-scheduler-notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SHIBATA Hiroshi
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.5.1
122
+ rubygems_version: 2.6.6
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Slack notification middleware for sidekiq-scheduler