-
Notifications
You must be signed in to change notification settings - Fork 15
/
Gemfile
42 lines (35 loc) · 1.14 KB
/
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
39
40
41
42
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in yabeda-sidekiq.gemspec
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
group :development, :test do
gem "pry"
gem "pry-byebug", platform: :mri
gem "yabeda", github: "yabeda-rb/yabeda", branch: "master" # For RSpec matchers
gem "rubocop", "~> 1.0"
gem "rubocop-rspec"
end