forked from Envek/sidekiq-fair_tenant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
38 lines (30 loc) · 933 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# frozen_string_literal: true
source "https://rubygems.org"
gemspec
# rubocop:disable Bundler/DuplicatedGem
sidekiq_version = ENV.fetch("SIDEKIQ_VERSION", "~> 7.2")
case sidekiq_version
when "HEAD"
gem "sidekiq", git: "https://github.com/sidekiq/sidekiq.git"
else
sidekiq_version = "~> #{sidekiq_version}.0" if sidekiq_version.match?(/^\d+(?:\.\d+)?$/)
gem "sidekiq", sidekiq_version
end
activejob_version = ENV.fetch("ACTIVEJOB_VERSION", "~> 7.1")
case activejob_version
when "HEAD"
git "https://github.com/rails/rails.git" do
gem "activejob"
gem "activesupport"
gem "rails"
end
else
activejob_version = "~> #{activejob_version}.0" if activejob_version.match?(/^\d+\.\d+$/)
gem "activejob", activejob_version
gem "activesupport", activejob_version
end
# rubocop:enable Bundler/DuplicatedGem
gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rspec-sidekiq"
gem "rubocop", "~> 1.21", require: false