resque-scheduler 4.6.0 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of resque-scheduler might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf266ccd935c9464051349f32169248c7fab52aa84304a98f0d05e5e91ccec22
4
- data.tar.gz: 517e84a33953fa3bf695ae26f23912d436fc86b7dc0ac9502fb09ca1cc02f1c3
3
+ metadata.gz: 4bd2a447d845ab5c056174d73fb88995693d998b06b90a3b565d3aa15981c3bb
4
+ data.tar.gz: d3cbbd2b7bdff68726bb9565e5c00531c7eb18397915fe6edfe568a9f0d34c26
5
5
  SHA512:
6
- metadata.gz: 91b8916a16ad2a6a20860001f137fb558d6dbfa7aca3c67abb022acc298a3f2afac7c1527a043b2d5ed3fa582d0203cc988b101cc45819ae3832145328cdea7d
7
- data.tar.gz: 90669eb2a75e71612b1505c87a6ed704e70b80b34aa89023ce84e8a256c1d3e0e4eb2a7931c8e480ff99524ed489bb97ed2d98f512f6646f19d50751613ac97c
6
+ metadata.gz: b91aca3627cc71d2082702b3a46be5ae1d38fd6b75961b49fd41c61c78fb3921dbd469a64ed3fb89348d6c00e79dc09c86a68ede59d75ed11d12ef55097bd6bf
7
+ data.tar.gz: eae2165cb529f4a38b8321f9c2dfe120ffeae5b13c001819af6bde9901a084a1710724caea469ffbd1b88266621b56e64c7f79b11e75ae55ca45f688497f8d24
@@ -28,30 +28,42 @@ jobs:
28
28
  - 3.1
29
29
  resque-version:
30
30
  - "master"
31
- - "~> 2.2.0"
31
+ - "~> 2.4.0"
32
32
  - "~> 1.27"
33
33
  rufus-scheduler:
34
34
  - "3.2"
35
35
  - "3.4"
36
36
  - "3.5"
37
37
  - "3.6"
38
+ redis-version:
39
+ - "~> 4.x"
40
+ - "~> 5.x"
38
41
  exclude:
39
42
  - ruby-version: head
40
43
  rufus-scheduler: 3.2
41
44
 
42
45
  - ruby-version: 2.3
43
- resque-version: 1.27
46
+ resque-version: "~> 1.27"
44
47
  rufus-scheduler: 3.4
45
48
  - ruby-version: 2.3
46
- resque-version: 1.27
49
+ resque-version: "~> 1.27"
47
50
  rufus-scheduler: 3.5
48
51
  - ruby-version: 2.5
49
- resque-version: 2.2.0
52
+ resque-version: "~> 2.4.0"
50
53
  rufus-scheduler: 3.5
51
54
  - ruby-version: 2.5
52
55
  resque-version: master
53
56
  rufus-scheduler: 3.2
57
+
58
+ - ruby-version: 2.3
59
+ redis-version: "~> 5.x"
60
+ - ruby-version: 2.4
61
+ redis-version: "~> 5.x"
62
+
63
+ - resque-version: "~> 1.27"
64
+ redis-version: "~> 5.x"
54
65
  env:
66
+ REDIS_VERSION: "${{ matrix.redis-version }}"
55
67
  RESQUE: "${{ matrix.resque-version }}"
56
68
  RUFUS_SCHEDULER: "${{ matrix.rufus-scheduler }}"
57
69
  COVERAGE: 1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  **ATTN**: This project uses [semantic versioning](http://semver.org/).
4
4
 
5
+ ## [4.7.0] - 2022-10-6
6
+ ### Fixed
7
+ - Fix tests for redis-rb 5.0 (#757)
8
+ - Use Resque::DataStore#reconnect for redis-rb 5.0 compat (#757)
9
+ - Test suite runs `flushall` to prevent flakiness (#757)
10
+
5
11
  ## [4.6.0] - 2022-08-04
6
12
  ### Changed
7
13
  - Remove support for Ruby < 2.3
data/Gemfile CHANGED
@@ -15,4 +15,13 @@ else
15
15
  gem 'rufus-scheduler', rufus_scheduler_version
16
16
  end
17
17
 
18
+ case redis_version = ENV.fetch('REDIS_VERSION', 'latest')
19
+ when 'master'
20
+ gem 'redis', git: 'https://github.com/redis/redis-rb'
21
+ when 'latest'
22
+ gem 'redis'
23
+ else
24
+ gem 'redis', redis_version
25
+ end
26
+
18
27
  gemspec
data/README.md CHANGED
@@ -158,7 +158,7 @@ following task to wherever tasks are kept, such as
158
158
  ```ruby
159
159
  task 'resque:pool:setup' do
160
160
  Resque::Pool.after_prefork do |job|
161
- Resque.redis._client.reconnect
161
+ Resque.redis.reconnect
162
162
  end
163
163
  end
164
164
  ```
@@ -39,7 +39,7 @@ module Resque
39
39
  end
40
40
 
41
41
  Process.daemon(true, !Resque::Scheduler.quiet)
42
- Resque.redis._client.reconnect
42
+ Resque.redis.reconnect
43
43
  end
44
44
 
45
45
  def setup_pid_file
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Resque
4
4
  module Scheduler
5
- VERSION = '4.6.0'.freeze
5
+ VERSION = '4.7.0'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben VandenBos
@@ -9,10 +9,10 @@ authors:
9
9
  - Ryan Biesemeyer
10
10
  - Dan Buch
11
11
  - Michael Bianco
12
- autorequire:
12
+ autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2022-08-20 00:00:00.000000000 Z
15
+ date: 2022-10-07 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
@@ -307,7 +307,7 @@ licenses:
307
307
  - MIT
308
308
  metadata:
309
309
  rubygems_mfa_required: 'true'
310
- post_install_message:
310
+ post_install_message:
311
311
  rdoc_options: []
312
312
  require_paths:
313
313
  - lib
@@ -322,8 +322,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
322
  - !ruby/object:Gem::Version
323
323
  version: '0'
324
324
  requirements: []
325
- rubygems_version: 3.3.5
326
- signing_key:
325
+ rubygems_version: 3.1.2
326
+ signing_key:
327
327
  specification_version: 4
328
328
  summary: Light weight job scheduling on top of Resque
329
329
  test_files: []