sidekiq-delay_extensions 6.4.1 → 6.5.12

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: beb5bfc9e96d466f3243e2a46d1826f67463b973fc9d6ce72687abe085cb61ab
4
- data.tar.gz: 17d9241ad6cde74793d0e5c860b962044a8c9b592a8059566c4391a55f068b49
3
+ metadata.gz: ea2160e6a5c9dae9597539c7039a681d8d7c1492d94358f1be763208193d5bae
4
+ data.tar.gz: 21288840f7139bf8ad36c58cf2c268c04a222d0c53607a17b8f0047ec1321e68
5
5
  SHA512:
6
- metadata.gz: f8ac369b7701a8c979c729a512287d0956b1f952c87f48660d2f1262c14ab992cea51970626fc01eb737263e7c67b9dc1ad220542695964a74ad591ec2970fd8
7
- data.tar.gz: a1cd9feaaae12197787b9b707689c61b6631e559f61cec18b0d35eac56165046100dba4822f5d0dd0c8ceae56e648113e3ee4bdd97a602a2b0df1af2072fcc01
6
+ metadata.gz: 02f9ee1f39dd1014f4b5ada0cf32355b7da24215b82a4f4609fbb810087729c8a317a57791f9f23289af33f731de59a426371a5ff60107c15edfef2a55c81e1d
7
+ data.tar.gz: 00a453a9370cce59db23365969eb47788fd469eaf4c5d3a2f1de6895f4940048a054fb44e6a95c85baeb5c60412002bd340203384c6a3005475513fd0b67ed86
data/Changes.md CHANGED
@@ -2,7 +2,17 @@
2
2
 
3
3
  [Sidekiq Changes](https://github.com/gemhome/sidekiq-delay_extensions/blob/main/Changes.md)
4
4
 
5
+ 6.5.12
6
+ ---------
7
+
8
+ - Extracted from https://github.com/mperham/sidekiq/tree/v6.5.12
9
+
5
10
  6.4.1
6
11
  ---------
7
12
 
8
13
  - Extracted from https://github.com/mperham/sidekiq/tree/v6.4.1
14
+
15
+ 6.4.0
16
+ ---------
17
+
18
+ - Extracted from https://github.com/mperham/sidekiq/tree/v6.4.0
data/Gemfile CHANGED
@@ -2,12 +2,15 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "sidekiq", ">= 6.4.1"
5
+ gem "sidekiq", "6.5.12"
6
6
  gem "rake"
7
+ gem "redis"
7
8
  gem "redis-namespace"
8
- gem "rails", ">= 6.0.2"
9
+ gem "redis-client"
10
+ gem "rails", "~> 6.0"
9
11
  gem "sqlite3", platforms: :ruby
10
12
  gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
13
+ gem "after_commit_everywhere"
11
14
 
12
15
  # mail dependencies
13
16
  gem "net-smtp", platforms: :mri, require: false
@@ -20,6 +23,7 @@ end
20
23
 
21
24
  group :development, :test do
22
25
  gem "standard", require: false
26
+ gem "pry"
23
27
  end
24
28
 
25
29
  group :load_test do
data/README.md CHANGED
@@ -2,7 +2,7 @@ Sidekiq Delay Extensions
2
2
  ==============
3
3
 
4
4
  [![Gem Version](https://badge.fury.io/rb/sidekiq-delay_extensions.svg)](https://rubygems.org/gems/sidekiq-delay_extensions)
5
- ![Build](https://github.com/gehome/sidekiq-delay_extensions/workflows/CI/badge.svg)
5
+ ![Build](https://github.com/gemhome/sidekiq-delay_extensions/workflows/CI/badge.svg)
6
6
 
7
7
  The [Sidekiq delay extensions are deprecated in 6.x and will be removed from 7.x](https://github.com/mperham/sidekiq/issues/5076).
8
8
 
@@ -14,7 +14,7 @@ When Sidekiq reaches 7.0, this gem will begin being maintained on its own. Maint
14
14
  Requirements
15
15
  -----------------
16
16
 
17
- - See https://github.com/mperham/sidekiq/tree/v6.4.1
17
+ - See https://github.com/mperham/sidekiq/tree/v6.5.12
18
18
  - Redis: 4.0+
19
19
  - Ruby: MRI 2.5+ or JRuby 9.2+.
20
20
  - Sidekiq 6.0 supports Rails 5.0+ but does not require it.
@@ -22,13 +22,19 @@ Requirements
22
22
  Installation
23
23
  -----------------
24
24
 
25
- gem install sidekiq
26
- gem install sidekiq-delay_extensions
25
+ bundle add sidekiq
26
+ bundle add sidekiq-delay_extensions
27
27
 
28
28
  In your initializers, include the line:
29
29
 
30
30
  Sidekiq::DelayExtensions.enable_delay!
31
31
 
32
+ Upgrading (IMPORTANT): Also add
33
+
34
+ Sidekiq::Extensions::DelayedClass = Sidekiq::DelayExtensions::DelayedClass
35
+ Sidekiq::Extensions::DelayedModel = Sidekiq::DelayExtensions::DelayedModel
36
+ Sidekiq::Extensions::DelayedMailer = Sidekiq::DelayExtensions::DelayedMailer
37
+
32
38
  Testing
33
39
  -----------------
34
40
 
@@ -10,7 +10,7 @@ module Sidekiq
10
10
  def initialize(performable, target, options = {})
11
11
  @performable = performable
12
12
  @target = target
13
- @opts = options
13
+ @opts = options.transform_keys(&:to_s)
14
14
  end
15
15
 
16
16
  def method_missing(name, *args)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module DelayExtensions
5
- VERSION = "6.4.1"
5
+ VERSION = "6.5.12"
6
6
  end
7
7
  end
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
  "source_code_uri" => "https://github.com/gemhome/sidekiq-delay_extensions"
29
29
  }
30
30
 
31
- spec.add_dependency "sidekiq", ">= 6.4.1"
31
+ spec.add_dependency "sidekiq", ">= 6.5.12"
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-delay_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.4.1
4
+ version: 6.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Perham
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-02-08 00:00:00.000000000 Z
12
+ date: 2024-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 6.4.1
20
+ version: 6.5.12
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 6.4.1
27
+ version: 6.5.12
28
28
  description: Extracted from Sidekiq 6.0
29
29
  email:
30
30
  - mperham@gmail.com
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  requirements: []
73
- rubygems_version: 3.1.4
73
+ rubygems_version: 3.3.7
74
74
  signing_key:
75
75
  specification_version: 4
76
76
  summary: Sidekiq Delay Extensions