sidecloq 0.4.8 → 0.5.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: 1a6c13b2ea0bb666923cce6ad6e6113a6c4c51daebbaf1ecff8fce54c78deb6a
4
- data.tar.gz: ef6a198c02e995dd5b68abf21e9fe31f5f2e3782b2bda635a1ec44e3b640d855
3
+ metadata.gz: 9a045d77686f36ac1c35ea972467fddd1255e1c62ac7e48ec2a43dc1224411dc
4
+ data.tar.gz: a8b247df8cb7a55bcb1beedd90ef444b03fe9953b77f930c790a19315d63299b
5
5
  SHA512:
6
- metadata.gz: 3cfd40a72a8f9d8a471eb985063e1294dba1643cf449c6ec5f3df1ef75e157f104be57ea9e86552fb9c62aad19022ada1b1d705948d763db8ac78a79ec263200
7
- data.tar.gz: b95e48e480c0d9db46216c0cef0290a9d6210803a85c5de6769524a10cded46f9b26c8d5ceb42e53113a689d2c5f121d17c35571d0a567ffc3a081e4fb889c0c
6
+ metadata.gz: e72331acbc6f275a9223bc8618f4accc78be11f0f82f98864a45de87ee294e3961dcba3eb11944920ff0f4a5467dc7727198389a57098c1d896bc36bb0838b21
7
+ data.tar.gz: 8997cef497985bec676d32aec8cac53e104ca24ab1543bc7ef366aba28d7cf2f2a9f1f24ec48565f04316d515f8ab8bf040b6b86894288a83667f172f2bac9a4
@@ -0,0 +1,45 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ jobs:
10
+ ci:
11
+ runs-on: ubuntu-latest
12
+ continue-on-error: true
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ ruby-version:
17
+ - "2.7"
18
+ - "3.0"
19
+ - "3.1"
20
+ - "3.2"
21
+ - jruby-9.4
22
+ sidekiq-version:
23
+ - "6.4"
24
+ - "6.5"
25
+ - "7.0"
26
+ - "7.1"
27
+ - main
28
+ services:
29
+ redis:
30
+ image: redis
31
+ options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
32
+ ports:
33
+ - 6379:6379
34
+ env:
35
+ sidekiq: ${{ matrix.sidekiq-version }}
36
+ steps:
37
+ - uses: actions/checkout@v3
38
+ - name: Set up Ruby
39
+ uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
40
+ with:
41
+ ruby-version: ${{ matrix.ruby-version }}
42
+ bundler-cache: true
43
+ - name: Run tests
44
+ run: bundle exec rake
45
+ timeout-minutes: 5
data/Appraisals CHANGED
@@ -1,19 +1,15 @@
1
- appraise "sidekiq-3.5" do
2
- gem "sidekiq", "3.5.4"
1
+ appraise "sidekiq-6.4" do
2
+ gem "sidekiq", "~> 6.4.0"
3
3
  end
4
4
 
5
- appraise "sidekiq-4.2" do
6
- gem "sidekiq", "4.2.10"
5
+ appraise "sidekiq-6.5" do
6
+ gem "sidekiq", "~> 6.5.0"
7
7
  end
8
8
 
9
- appraise "sidekiq-5.1" do
10
- gem "sidekiq", "5.1.3"
9
+ appraise "sidekiq-7.0" do
10
+ gem "sidekiq", "~> 7.0.0"
11
11
  end
12
12
 
13
- appraise "sidekiq-5.2" do
14
- gem "sidekiq", "5.2.7"
15
- end
16
-
17
- appraise "sidekiq-6.0" do
18
- gem "sidekiq", "6.0.1"
13
+ appraise "sidekiq-7.1" do
14
+ gem "sidekiq", "~> 7.1.0"
19
15
  end
data/Gemfile CHANGED
@@ -7,23 +7,14 @@ platforms :mri, :rbx do
7
7
  gem 'minitest-utils'
8
8
  end
9
9
 
10
- # https://github.com/sinatra/sinatra/blob/master/Gemfile
11
10
  sidekiq_dep =
12
- case ENV['sidekiq']
13
- when /(\d+\.)+\d+/ then "~> " + ENV['sidekiq'].sub("sidekiq-", '')
11
+ case ENV['sidekiq'].to_s.sub('sidekiq-', '')
12
+ when /(?:\d+\.)+\d+/ then "~> #{$&}#{'.0' if Gem::Version.new($&).segments.size == 2}"
14
13
  else {github: 'mperham/sidekiq', branch: ENV['sidekiq']}
15
14
  end
16
15
 
17
16
  gem 'sidekiq', sidekiq_dep
18
17
 
19
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2")
20
- # rack >= 2.0 requires ruby >= 2.2.2
21
- gem 'rack', '< 2.0'
22
- # activejob >= 5 requires ruby >= 2.2.2
23
- gem 'activejob', '< 5'
24
- end
25
-
26
18
  group :test do
27
19
  gem "simplecov"
28
- gem "codeclimate-test-reporter", "~> 1.0.0"
29
20
  end
data/README.md CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  # Sidecloq
4
4
 
5
- [![Build Status](https://travis-ci.org/mattyr/sidecloq.svg)](https://travis-ci.org/mattyr/sidecloq)
5
+ [![CI](https://github.com/mattyr/sidecloq/actions/workflows/ci.yml/badge.svg)](https://github.com/mattyr/sidecloq/actions/workflows/ci.yml)
6
6
  [![Gem Version](https://badge.fury.io/rb/sidecloq.svg)](https://badge.fury.io/rb/sidecloq)
7
- [![Code Climate](https://codeclimate.com/github/mattyr/sidecloq/badges/gpa.svg)](https://codeclimate.com/github/mattyr/sidecloq)
8
7
  [![Test Coverage](https://codeclimate.com/github/mattyr/sidecloq/badges/coverage.svg)](https://codeclimate.com/github/mattyr/sidecloq/coverage)
9
- [![Dependency Status](https://gemnasium.com/mattyr/sidecloq.svg)](https://gemnasium.com/mattyr/sidecloq)
10
8
 
11
9
  Recurring / Periodic / Scheduled / Cron job extension for
12
10
  [Sidekiq](https://github.com/mperham/sidekiq)
@@ -25,8 +23,6 @@ you.
25
23
 
26
24
  Sidecloq is:
27
25
 
28
- - **Lightweight:** Celluloid is not required. This coincides well with
29
- Sidekiq 4/5, which no longer use Celluloid.
30
26
  - **Clean:** Sidecloq leverages only the public API of Sidekiq, and does
31
27
  not pollute the Sidekiq namespace.
32
28
  - **Easy to deploy:** Sidecloq boots with all Sidekiq processes,
@@ -44,9 +40,7 @@ Add this line to your application's Gemfile:
44
40
  gem 'sidecloq'
45
41
  ```
46
42
 
47
- Tested on MRI > 2 and JRuby 9k. Basically, if you can run
48
- Sidekiq, you can run Sidecloq. Note that Sidekiq >= 5 does not support
49
- MRI ruby < 2.2.2.
43
+ Requires sidekiq version >= 6.4. MRI < 2.7 and jruby < 9.4 are not supported.
50
44
 
51
45
  ## Configuration
52
46
 
@@ -127,18 +121,6 @@ it's corresponding "Enqueue now" button.
127
121
 
128
122
  ![Sidecloq web ui extension screenshot](assets/screenshot.png)
129
123
 
130
- ## Notes
131
-
132
- If you are running MRI < 2.2.2, you will need to make sure you are using
133
- rack < 2.0. You can do this by adding:
134
-
135
- ```ruby
136
- gem 'rack', '< 2.0'
137
- ```
138
-
139
- To your app's Gemfile. (This will also keep you from using the 5.x
140
- series of Sidekiq, as it requires MRI > 2.2.2).
141
-
142
124
  ## Contributing
143
125
 
144
126
  Bug reports and pull requests are welcome.
data/Rakefile CHANGED
@@ -17,8 +17,7 @@ task :web do
17
17
  Sidekiq.configure_client do |config|
18
18
  config.redis = {
19
19
  url: 'redis://localhost:6379/0',
20
- size: 1,
21
- namespace: 'sidecloq'
20
+ size: 1
22
21
  }
23
22
  end
24
23
 
@@ -39,10 +38,17 @@ task :web do
39
38
  include Sidekiq::Worker
40
39
  end
41
40
 
41
+ require 'rack/server'
42
+ require 'rack/session/cookie'
42
43
  require 'sidekiq/web'
43
44
  require 'sidecloq/web'
44
45
 
45
46
  Rack::Server.start(
46
- app: Sidekiq::Web
47
+ app: Rack::Session::Cookie.new(
48
+ Sidekiq::Web,
49
+ secret: SecureRandom.hex(32),
50
+ same_site: true,
51
+ max_age: 86400
52
+ )
47
53
  )
48
54
  end
@@ -2,11 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "sidekiq", "5.2.7"
5
+ gem "sidekiq", "~> 6.4.0"
6
6
 
7
7
  group :test do
8
8
  gem "simplecov"
9
- gem "codeclimate-test-reporter", "~> 1.0.0"
10
9
  end
11
10
 
12
11
  platforms :mri, :rbx do
@@ -2,11 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "sidekiq", "3.5.4"
5
+ gem "sidekiq", "~> 6.5.0"
6
6
 
7
7
  group :test do
8
8
  gem "simplecov"
9
- gem "codeclimate-test-reporter", "~> 1.0.0"
10
9
  end
11
10
 
12
11
  platforms :mri, :rbx do
@@ -2,11 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "sidekiq", "6.0.1"
5
+ gem "sidekiq", "~> 7.0.0"
6
6
 
7
7
  group :test do
8
8
  gem "simplecov"
9
- gem "codeclimate-test-reporter", "~> 1.0.0"
10
9
  end
11
10
 
12
11
  platforms :mri, :rbx do
@@ -2,11 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "sidekiq", "5.1.3"
5
+ gem "sidekiq", "~> 7.1.0"
6
6
 
7
7
  group :test do
8
8
  gem "simplecov"
9
- gem "codeclimate-test-reporter", "~> 1.0.0"
10
9
  end
11
10
 
12
11
  platforms :mri, :rbx do
@@ -1,3 +1,5 @@
1
+ require 'redis-client'
2
+
1
3
  module Sidecloq
2
4
  # Locker obtains or waits for an exclusive lock on a key in redis
3
5
  class Locker
@@ -8,6 +10,11 @@ module Sidecloq
8
10
  def initialize(options = {})
9
11
  # we keep a connection from the pool by default
10
12
  @redis = options[:redis] || Sidekiq.redis_pool.checkout
13
+ # for compatibility with sidekiq < 7, we need to convert the Redis
14
+ # instance to a RedisClient instance, which redlock requires
15
+ if defined?(Redis) && @redis.instance_of?(Redis)
16
+ @redis = RedisClient.new(@redis.connection.except(:location))
17
+ end
11
18
  @key = options[:lock_key] || DEFAULT_LOCK_KEY
12
19
  @ttl = options[:ttl] || 60
13
20
  @check_interval = options[:check_interval] || 15
@@ -34,7 +34,7 @@ module Sidecloq
34
34
  def self.from_hash(hash)
35
35
  hash = hash[env] if hash.key?(env)
36
36
 
37
- specs = hash.each_with_object({}) do |(name, spec), memo|
37
+ specs = (hash || []).each_with_object({}) do |(name, spec), memo|
38
38
  memo[name] = spec.dup.tap do |s|
39
39
  s['class'] = name unless spec.key?('class') || spec.key?(:class)
40
40
  s['args'] = s['args'] || s[:args] || []
@@ -78,7 +78,7 @@ module Sidecloq
78
78
  end
79
79
 
80
80
  def self.rails_env
81
- Rails.env if defined?(Rails)
81
+ Rails.env if defined?(Rails::Engine)
82
82
  end
83
83
 
84
84
  def self.rack_env
@@ -1,3 +1,3 @@
1
1
  module Sidecloq
2
- VERSION = '0.4.8'
2
+ VERSION = '0.5.0'
3
3
  end
data/lib/sidecloq/web.rb CHANGED
@@ -2,6 +2,7 @@ module Sidecloq
2
2
  # Plugin for sidekiq-web
3
3
  module Web
4
4
  VIEW_PATH = File.expand_path('../../../web/views', __FILE__)
5
+ LOCALES = File.expand_path('../../../web/locales', __FILE__)
5
6
 
6
7
  def self.registered(app)
7
8
  app.get '/recurring' do
@@ -24,5 +25,7 @@ module Sidecloq
24
25
  end
25
26
  end
26
27
 
28
+ Sidekiq::Web.locales << Sidecloq::Web::LOCALES
29
+
27
30
  Sidekiq::Web.register(Sidecloq::Web)
28
31
  Sidekiq::Web.tabs['Recurring'] = 'recurring'
data/lib/sidecloq.rb CHANGED
@@ -66,7 +66,7 @@ module Sidecloq
66
66
 
67
67
  if File.exist?(options[:schedule_file])
68
68
  return Schedule.from_yaml(options[:schedule_file])
69
- elsif defined?(Rails)
69
+ elsif defined?(Rails::Engine)
70
70
  # try rails-root-relative
71
71
  full_path = File.join(Rails.root, options[:schedule_file])
72
72
  if File.exist?(full_path)
data/sidecloq.gemspec CHANGED
@@ -19,15 +19,18 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'sidekiq', '>= 3.5.4', '< 7'
23
- spec.add_dependency 'redlock', '>= 0.2.0', '< 2'
22
+ spec.add_dependency 'sidekiq', '>= 6.0.0', '< 8'
23
+ spec.add_dependency 'redlock', '>= 2.0.0', '< 3'
24
+ # redlock needs redis-client
25
+ spec.add_dependency 'redis-client', '>= 0.14.0'
24
26
  # mimics some dev dependencies of sidekiq:
25
27
  spec.add_dependency 'concurrent-ruby'
26
- spec.add_dependency 'rufus-scheduler', '~> 3.1', '>= 3.1.10'
28
+ spec.add_dependency 'rufus-scheduler', '~> 3.9'
27
29
 
28
30
  spec.add_development_dependency 'rake', '>= 10.0'
29
31
  spec.add_development_dependency 'minitest'
30
32
  spec.add_development_dependency "appraisal"
31
- spec.add_development_dependency 'redis-namespace', '~> 1.5', '>= 1.5.3'
32
33
  spec.add_development_dependency 'activejob'
34
+ spec.add_development_dependency 'rack', '< 3'
35
+ spec.add_development_dependency 'webrick'
33
36
  end
@@ -0,0 +1,6 @@
1
+ en:
2
+ RecurringJobs: Recurring Jobs
3
+ Recurring: Recurring
4
+ Name: Name
5
+ Cron: Cron
6
+ EnqueueNow: Enqueue Now
@@ -0,0 +1,6 @@
1
+ es:
2
+ RecurringJobs: Trabajos recurrentes
3
+ Recurring: Recurrentes
4
+ Name: Nombre
5
+ Cron: Cron
6
+ EnqueueNow: Poner en la cola ahora
@@ -1,15 +1,15 @@
1
- <h3>Recurring Jobs</h3>
1
+ <h3><%= t('RecurringJobs') %></h3>
2
2
 
3
3
  <div class="table_container">
4
4
  <table class="table table-hover table-bordered table-striped table-white">
5
5
  <thead>
6
6
  <tr>
7
- <th>Name</th>
8
- <th>Cron</th>
9
- <th>Class</th>
10
- <th>Queue</th>
11
- <th>Arguments</th>
12
- <th>Actions</th>
7
+ <th><%= t('Name') %></th>
8
+ <th><%= t('Cron') %></th>
9
+ <th><%= t('Job') %></th>
10
+ <th><%= t('Queue') %></th>
11
+ <th><%= t('Arguments') %></th>
12
+ <th><%= t('Actions') %></th>
13
13
  </tr>
14
14
  </thead>
15
15
 
@@ -26,7 +26,7 @@
26
26
  <td>
27
27
  <form action="<%= root_path %>recurring/<%= CGI.escape(name).gsub('+', '%20') %>/enqueue" method="post">
28
28
  <%= csrf_tag if respond_to?(:csrf_tag) %>
29
- <input class='btn btn-primary btn-xs' type="submit" name="enque" value="<%= t('Enqueue Now') %>"/>
29
+ <input class='btn btn-primary btn-xs' type="submit" name="enque" value="<%= t('EnqueueNow') %>"/>
30
30
  </form>
31
31
  </td>
32
32
  </tr>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidecloq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Robinson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-12 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -16,40 +16,54 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.4
19
+ version: 6.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7'
22
+ version: '8'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 3.5.4
29
+ version: 6.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7'
32
+ version: '8'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: redlock
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 0.2.0
39
+ version: 2.0.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '2'
42
+ version: '3'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.2.0
49
+ version: 2.0.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '2'
52
+ version: '3'
53
+ - !ruby/object:Gem::Dependency
54
+ name: redis-client
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 0.14.0
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.14.0
53
67
  - !ruby/object:Gem::Dependency
54
68
  name: concurrent-ruby
55
69
  requirement: !ruby/object:Gem::Requirement
@@ -70,20 +84,14 @@ dependencies:
70
84
  requirements:
71
85
  - - "~>"
72
86
  - !ruby/object:Gem::Version
73
- version: '3.1'
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: 3.1.10
87
+ version: '3.9'
77
88
  type: :runtime
78
89
  prerelease: false
79
90
  version_requirements: !ruby/object:Gem::Requirement
80
91
  requirements:
81
92
  - - "~>"
82
93
  - !ruby/object:Gem::Version
83
- version: '3.1'
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: 3.1.10
94
+ version: '3.9'
87
95
  - !ruby/object:Gem::Dependency
88
96
  name: rake
89
97
  requirement: !ruby/object:Gem::Requirement
@@ -127,27 +135,35 @@ dependencies:
127
135
  - !ruby/object:Gem::Version
128
136
  version: '0'
129
137
  - !ruby/object:Gem::Dependency
130
- name: redis-namespace
138
+ name: activejob
131
139
  requirement: !ruby/object:Gem::Requirement
132
140
  requirements:
133
- - - "~>"
134
- - !ruby/object:Gem::Version
135
- version: '1.5'
136
141
  - - ">="
137
142
  - !ruby/object:Gem::Version
138
- version: 1.5.3
143
+ version: '0'
139
144
  type: :development
140
145
  prerelease: false
141
146
  version_requirements: !ruby/object:Gem::Requirement
142
147
  requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '1.5'
146
148
  - - ">="
147
149
  - !ruby/object:Gem::Version
148
- version: 1.5.3
150
+ version: '0'
149
151
  - !ruby/object:Gem::Dependency
150
- name: activejob
152
+ name: rack
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "<"
156
+ - !ruby/object:Gem::Version
157
+ version: '3'
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "<"
163
+ - !ruby/object:Gem::Version
164
+ version: '3'
165
+ - !ruby/object:Gem::Dependency
166
+ name: webrick
151
167
  requirement: !ruby/object:Gem::Requirement
152
168
  requirements:
153
169
  - - ">="
@@ -167,18 +183,17 @@ executables: []
167
183
  extensions: []
168
184
  extra_rdoc_files: []
169
185
  files:
186
+ - ".github/workflows/ci.yml"
170
187
  - ".gitignore"
171
- - ".travis.yml"
172
188
  - Appraisals
173
189
  - Gemfile
174
190
  - LICENSE.txt
175
191
  - README.md
176
192
  - Rakefile
177
- - gemfiles/sidekiq_3.5.gemfile
178
- - gemfiles/sidekiq_4.2.gemfile
179
- - gemfiles/sidekiq_5.1.gemfile
180
- - gemfiles/sidekiq_5.2.gemfile
181
- - gemfiles/sidekiq_6.0.gemfile
193
+ - gemfiles/sidekiq_6.4.gemfile
194
+ - gemfiles/sidekiq_6.5.gemfile
195
+ - gemfiles/sidekiq_7.0.gemfile
196
+ - gemfiles/sidekiq_7.1.gemfile
182
197
  - lib/sidecloq.rb
183
198
  - lib/sidecloq/job_enqueuer.rb
184
199
  - lib/sidecloq/locker.rb
@@ -189,12 +204,14 @@ files:
189
204
  - lib/sidecloq/version.rb
190
205
  - lib/sidecloq/web.rb
191
206
  - sidecloq.gemspec
207
+ - web/locales/en.yml
208
+ - web/locales/es.yml
192
209
  - web/views/recurring.erb
193
210
  homepage: http://github.com/mattyr/sidecloq
194
211
  licenses:
195
212
  - MIT
196
213
  metadata: {}
197
- post_install_message:
214
+ post_install_message:
198
215
  rdoc_options: []
199
216
  require_paths:
200
217
  - lib
@@ -209,8 +226,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
226
  - !ruby/object:Gem::Version
210
227
  version: '0'
211
228
  requirements: []
212
- rubygems_version: 3.0.6
213
- signing_key:
229
+ rubygems_version: 3.4.12
230
+ signing_key:
214
231
  specification_version: 4
215
232
  summary: Recurring / Periodic / Scheduled / Cron job extension for Sidekiq
216
233
  test_files: []
data/.travis.yml DELETED
@@ -1,36 +0,0 @@
1
- dist: bionic
2
- language: ruby
3
- sudo: false
4
- cache: bundler
5
- services:
6
- - redis-server
7
- rvm:
8
- - 2.4.5
9
- - 2.5.3
10
- - 2.6.5
11
- - jruby-9.1.17.0
12
- - jruby-9.2.8.0
13
- env:
14
- - "sidekiq=3.5.4"
15
- - "sidekiq=4.2.10"
16
- - "sidekiq=5.1.3"
17
- - "sidekiq=5.2.7"
18
- - "sidekiq=6.0.1"
19
- - "sidekiq=master"
20
- matrix:
21
- allow_failures:
22
- - env: "sidekiq=master"
23
- exclude:
24
- # sidekiq 6 does not support < ruby 2.5
25
- - rvm: 2.4.5
26
- env: sidekiq=6.0.1
27
- - rvm: 2.4.5
28
- env: sidekiq=master
29
- - rvm: jruby-9.1.17.0
30
- env: sidekiq=6.0.1
31
- - rvm: jruby-9.1.17.0
32
- env: sidekiq=master
33
-
34
- fast_finish: true
35
- after_success:
36
- - bundle exec codeclimate-test-reporter
@@ -1,17 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sidekiq", "4.2.10"
6
-
7
- group :test do
8
- gem "simplecov"
9
- gem "codeclimate-test-reporter", "~> 1.0.0"
10
- end
11
-
12
- platforms :mri, :rbx do
13
- gem "pry"
14
- gem "minitest-utils"
15
- end
16
-
17
- gemspec path: "../"