1
0
Fork 0
mirror of https://github.com/deanpcmad/sidekiq-limit_fetch.git synced 2022-11-09 13:54:36 -05:00

using appraisals, test across different sidekiq versions

This commit is contained in:
Dean Perry 2022-03-26 09:46:16 +00:00
parent 7785f19e09
commit 1363beefde
21 changed files with 600 additions and 4 deletions

View file

@ -15,6 +15,7 @@ jobs:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1", jruby-9.3]
appraisal: ['5.0', '5.1', '5.2', '6.0', '6.1', '6.2', '6.3', '6.4']
services:
redis:
image: redis
@ -29,11 +30,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # 'bundle install' and cache gems
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Install Appraisal dependencies
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
- name: Run tests
run: bundle exec rake
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec rake

35
Appraisals Normal file
View file

@ -0,0 +1,35 @@
appraise 'sidekiq-5.0' do
gem 'sidekiq', '~> 5.0.0'
end
appraise 'sidekiq-5.1' do
gem 'sidekiq', '~> 5.1.0'
end
appraise 'sidekiq-5.2' do
gem 'sidekiq', '~> 5.2.0'
end
appraise 'sidekiq-6.0' do
gem 'sidekiq', '~> 6.0.0'
end
appraise 'sidekiq-6.1' do
gem 'sidekiq', '~> 6.1.0'
end
appraise 'sidekiq-6.2' do
gem 'sidekiq', '~> 6.2.0'
end
appraise 'sidekiq-6.3' do
gem 'sidekiq', '~> 6.3.0'
end
appraise 'sidekiq-6.4' do
gem 'sidekiq', '~> 6.4.0'
end
appraise 'sidekiq-master' do
gem 'sidekiq', github: 'mperham/sidekiq'
end

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 5.0.0"
gemspec path: "../"

View file

@ -0,0 +1,57 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
concurrent-ruby (1.1.10)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rack-protection (2.2.0)
rack
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (5.0.5)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
rack-protection (>= 1.5.0)
redis (>= 3.3.4, < 5)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 5.0.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 5.1.0"
gemspec path: "../"

View file

@ -0,0 +1,57 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
concurrent-ruby (1.1.10)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rack-protection (2.2.0)
rack
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (5.1.3)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
rack-protection (>= 1.5.0)
redis (>= 3.3.5, < 5)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 5.1.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 5.2.0"
gemspec path: "../"

View file

@ -0,0 +1,56 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.0.9)
rack-protection (2.2.0)
rack
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (5.2.8)
connection_pool (~> 2.2, >= 2.2.2)
rack (< 2.1.0)
rack-protection (>= 1.5.0)
redis (>= 3.3.5, < 5)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 5.2.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 6.0.0"
gemspec path: "../"

View file

@ -0,0 +1,56 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rack-protection (2.2.0)
rack
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (6.0.7)
connection_pool (>= 2.2.2)
rack (~> 2.0)
rack-protection (>= 2.0.0)
redis (>= 4.1.0)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 6.0.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 6.1.0"
gemspec path: "../"

View file

@ -0,0 +1,53 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (6.1.3)
connection_pool (>= 2.2.2)
rack (~> 2.0)
redis (>= 4.2.0)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 6.1.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 6.2.0"
gemspec path: "../"

View file

@ -0,0 +1,53 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (6.2.1)
connection_pool (>= 2.2.2)
rack (~> 2.0)
redis (>= 4.2.0)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 6.2.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 6.3.0"
gemspec path: "../"

View file

@ -0,0 +1,53 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (6.3.1)
connection_pool (>= 2.2.2)
rack (~> 2.0)
redis (>= 4.2.0)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 6.3.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", "~> 6.4.0"
gemspec path: "../"

View file

@ -0,0 +1,53 @@
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
sidekiq (6.4.1)
connection_pool (>= 2.2.2)
rack (~> 2.0)
redis (>= 4.2.0)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq (~> 6.4.0)
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sidekiq", github: "mperham/sidekiq"
gemspec path: "../"

View file

@ -0,0 +1,58 @@
GIT
remote: https://github.com/mperham/sidekiq.git
revision: cf7b067c89ae3b1303e35d29408099cf40991f6d
specs:
sidekiq (6.4.2)
connection_pool (>= 2.2.2)
rack (~> 2.0)
redis (>= 4.2.0)
PATH
remote: ..
specs:
sidekiq-limit_fetch (3.4.0)
redis (>= 4.6.0)
sidekiq (>= 4)
GEM
remote: https://rubygems.org/
specs:
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
connection_pool (2.2.5)
diff-lcs (1.5.0)
rack (2.2.3)
rake (13.0.6)
redis (4.6.0)
redis-namespace (1.8.2)
redis (>= 3.0.4)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
thor (1.2.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
appraisal
rake
redis-namespace (~> 1.5, >= 1.5.2)
rspec
sidekiq!
sidekiq-limit_fetch!
BUNDLED WITH
2.3.6

View file

@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'sidekiq', '>= 4'
gem.add_dependency 'redis', '>= 4.6.0'
gem.add_development_dependency 'redis-namespace', '~> 1.5', '>= 1.5.2'
gem.add_development_dependency 'appraisal'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'rake'
end