forked from yabeda-rb/yabeda-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
33 lines (26 loc) · 741 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
# 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-rails.gemspec
gemspec
rails_version = ENV.fetch("RAILS_VERSION", "~> 7.0")
case rails_version
when "HEAD"
git "https://github.com/rails/rails.git" do
gem "rails"
gem "activesupport"
gem "railties"
end
else
rails_version = "~> #{rails_version}.0" if rails_version.match?(/^\d+\.\d+$/)
gem "rails", rails_version
gem "activesupport", rails_version
gem "railties", rails_version
end
group :development, :test do
gem "yabeda", "~> 0.11" # Test helpers
gem "rspec-rails"
gem "debug"
gem "rubocop", "~> 1.8"
gem "rubocop-rspec"
end